From 0ef332fc0f78e36e168d51c9cf17df65ef0ab186 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 12 Jan 2011 13:41:55 +0000 Subject: feature 2103 added: week may start on sunday/monday in the monthly calendar git-svn-id: http://piwigo.org/svn/trunk@8626 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/configuration.php | 5 +++++ admin/themes/default/template/configuration.tpl | 9 +++++++++ 2 files changed, 14 insertions(+) (limited to 'admin') diff --git a/admin/configuration.php b/admin/configuration.php index 36a2901ae..0f2e8bd34 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -246,6 +246,11 @@ switch ($page['section']) 'CONF_GALLERY_TITLE' => htmlspecialchars($conf['gallery_title']), 'CONF_PAGE_BANNER' => htmlspecialchars($conf['page_banner']), 'CONF_GALLERY_URL' => $conf['gallery_url'], + 'week_starts_on_options' => array( + 'sunday' => $lang['day'][0], + 'monday' => $lang['day'][1], + ), + 'week_starts_on_options_selected' => $conf['week_starts_on'], )); foreach ($main_checkboxes as $checkbox) diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index 7a6583779..903255baf 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -87,6 +87,15 @@ + +
  • + +
  • {/if} -- cgit v1.2.3