From dbf9469d52657194d1d38590c41ccd99d13d470e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 24 Apr 2002 21:04:37 +0000 Subject: - Made the date strings configurable. Patch by Simon Lindsay. --- modules/system/system.module | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 4e4faf397..bc625b318 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -68,6 +68,11 @@ function system_view_options() { $output .= form_select("Maximum comment rate", "max_comment_rate", variable_get("max_comment_rate", 120), $rate, "The maximum submission rate for comments. Its purpose is to stop potential abuse or denial of service attacks."); $output .= "
\n"; + // date settings: + $output .= "

Date format setting

\n"; + $output .= form_select("Date format", "date_format", variable_get("date_format", "m/d/Y - H:i"), array("m/d/Y - H:i" => "m/d/Y - H:i", "d/m/Y - H:i" => "d/m/Y - H:i", "Y/m/d - H:i" => "Y/m/d - H:i"), "The format in which dates are displayed"); + $output .= "
\n"; + // comment settings: $output .= "

Comment settings

\n"; $output .= form_select("Default display mode", "default_comment_mode", $conf["default_comment_mode"], $cmodes, "The default mode in which comments are displayed."); -- cgit v1.2.3