From d186dcc8c8ba9c6abb0e8db22e4259d17909b38b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 12 Sep 2004 17:16:17 +0000 Subject: - Patch #10668 by drumm: moved the 'first day of week' settings to the system module for other modules to reuse. This is considered to be a usability improvement because it simplifies some pages/workflow. --- modules/system/system.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/system') diff --git a/modules/system/system.module b/modules/system/system.module index 073b5a561..e909c2762 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -241,6 +241,7 @@ function system_view_general() { $group .= form_select(t('Short date format'), 'date_format_short', variable_get('date_format_short', $dateshort[0]), $dateshortchoices, t('The short format of date display.')); $group .= form_select(t('Medium date format'), 'date_format_medium', variable_get('date_format_medium', $datemedium[0]), $datemediumchoices, t('The medium sized date display.')); $group .= form_select(t('Long date format'), 'date_format_long', variable_get('date_format_long', $datelong[0]), $datelongchoices, t('Longer date format used for detailed display.')); + $group .= form_select(t('First day of week'), 'default_firstday', variable_get('default_firstday', 0), array(0 => t('Sunday'), 1 => t('Monday'), 2 => t('Tuesday'), 3 => t('Wednesday'), 4 => t('Thursday'), 5 => t('Friday'), 6 => t('Saturday')), t('The first day of the week for calendar views.')); $output .= form_group(t('Date settings'), $group); -- cgit v1.2.3