diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-04-24 21:04:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-04-24 21:04:37 +0000 |
commit | dbf9469d52657194d1d38590c41ccd99d13d470e (patch) | |
tree | 5e10a29fed6acadd7f76b5bf0be2530ffaec48ab /modules/system/system.module | |
parent | 681dfc4ac04a2e2f9f845abc2506cf28354d0c05 (diff) | |
download | brdo-dbf9469d52657194d1d38590c41ccd99d13d470e.tar.gz brdo-dbf9469d52657194d1d38590c41ccd99d13d470e.tar.bz2 |
- Made the date strings configurable. Patch by Simon Lindsay.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 5 |
1 files changed, 5 insertions, 0 deletions
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 .= "<hr />\n"; + // date settings: + $output .= "<h3>Date format setting</h3>\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 .= "<hr />\n"; + // comment settings: $output .= "<h3>Comment settings</h3>\n"; $output .= form_select("Default display mode", "default_comment_mode", $conf["default_comment_mode"], $cmodes, "The default mode in which comments are displayed."); |