@@ -86,10 +86,11 @@ function system_user($type, $edit, &$user) {
$data[t('Theme settings')]=form_item(t("Theme"),"<select name=\"edit[theme]\">$options</select>",t("Selecting a different theme will change the look and feel of the site."));
$zones["$zone"]=date(variable_get("date_format_long","l, F dS, Y - g:ia"),time()-date("Z")+$zone).sprintf(" (GMT %s%02d:%02d)\n",($offset>=0)?"+":"-",floor(abs($offset)),(abs($offset)*60)%60);
$data[t('Locale settings')]=form_select(t("Time zone"),"timezone",$edit["timezone"],$zones,t("Select what time you currently have and your time zone settings will be set appropriate."));
return$data;
...
...
@@ -141,6 +142,13 @@ function system_view_general() {
$group=form_select(t("Date format (short)"),"date_format_short",variable_get("date_format_short",$dateshort[0]),$dateshortchoices,t("The short format of date display."));
$group=form_select(t("Time zone"),"date_default_timezone",variable_get('date_default_timezone',0),$zones,t("Select the default site timezone."));
$group.=form_select(t("Date format (short)"),"date_format_short",variable_get("date_format_short",$dateshort[0]),$dateshortchoices,t("The short format of date display."));
$group.=form_select(t("Date format (medium)"),"date_format_medium",variable_get("date_format_medium",$datemedium[0]),$datemediumchoices,t("The medium sized date display."));
$group.=form_select(t("Date format (long)"),"date_format_long",variable_get("date_format_long",$datelong[0]),$datelongchoices,t("Longer date format used for detailed display."));
@@ -86,10 +86,11 @@ function system_user($type, $edit, &$user) {
$data[t('Theme settings')]=form_item(t("Theme"),"<select name=\"edit[theme]\">$options</select>",t("Selecting a different theme will change the look and feel of the site."));
$zones["$zone"]=date(variable_get("date_format_long","l, F dS, Y - g:ia"),time()-date("Z")+$zone).sprintf(" (GMT %s%02d:%02d)\n",($offset>=0)?"+":"-",floor(abs($offset)),(abs($offset)*60)%60);
$data[t('Locale settings')]=form_select(t("Time zone"),"timezone",$edit["timezone"],$zones,t("Select what time you currently have and your time zone settings will be set appropriate."));
return$data;
...
...
@@ -141,6 +142,13 @@ function system_view_general() {
$group=form_select(t("Date format (short)"),"date_format_short",variable_get("date_format_short",$dateshort[0]),$dateshortchoices,t("The short format of date display."));
$group=form_select(t("Time zone"),"date_default_timezone",variable_get('date_default_timezone',0),$zones,t("Select the default site timezone."));
$group.=form_select(t("Date format (short)"),"date_format_short",variable_get("date_format_short",$dateshort[0]),$dateshortchoices,t("The short format of date display."));
$group.=form_select(t("Date format (medium)"),"date_format_medium",variable_get("date_format_medium",$datemedium[0]),$datemediumchoices,t("The medium sized date display."));
$group.=form_select(t("Date format (long)"),"date_format_long",variable_get("date_format_long",$datelong[0]),$datelongchoices,t("Longer date format used for detailed display."));