From d6beb7db1f4a629df8a8dddf903fa2fb77d9e56f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Thu, 1 Oct 2015 06:19:57 +0200 Subject: [PATCH] add a header to seperate the beginning of week settings --- mod/settings.php | 1 + view/templates/settings_display.tpl | 1 + 2 files changed, 2 insertions(+) diff --git a/mod/settings.php b/mod/settings.php index e18d8bd6d8..6601858ee4 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -950,6 +950,7 @@ function settings_content(&$a) { '$itemspage_network' => array('itemspage_network', t("Number of items to display per page:"), $itemspage_network, t('Maximum of 100 items')), '$itemspage_mobile_network' => array('itemspage_mobile_network', t("Number of items to display per page when viewed from mobile device:"), $itemspage_mobile_network, t('Maximum of 100 items')), '$nosmile' => array('nosmile', t("Don't show emoticons"), $nosmile, ''), + '$calendar_title' => t('Calendar'), '$first_day_of_week' => array('first_day_of_week', t('Beginning of week:'), $first_day_of_week, '', $weekdays, false), '$noinfo' => array('noinfo', t("Don't show notices"), $noinfo, ''), '$infinite_scroll' => array('infinite_scroll', t("Infinite scroll"), $infinite_scroll, ''), diff --git a/view/templates/settings_display.tpl b/view/templates/settings_display.tpl index ff2d7fe1d6..8b15563bda 100644 --- a/view/templates/settings_display.tpl +++ b/view/templates/settings_display.tpl @@ -13,6 +13,7 @@ {{include file="field_checkbox.tpl" field=$nosmile}} {{include file="field_checkbox.tpl" field=$noinfo}} {{include file="field_checkbox.tpl" field=$infinite_scroll}} +

{{$calendar_title}}

{{include file="field_select.tpl" field=$first_day_of_week}}