summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system.module5
-rw-r--r--modules/system/system.module5
2 files changed, 10 insertions, 0 deletions
diff --git a/modules/system.module b/modules/system.module
index 4e4faf397..bc625b318 100644
--- a/modules/system.module
+++ b/modules/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.");
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.");