removing empty and unused save_option_header() function.
[squirrelmail.git] / include / options / display.php
index 92d4c995c8bab36bd3ab949c3e912da63ae40e1a..0e19717727dc7ea921af6876ca65e4fcf572d5de 100644 (file)
@@ -169,6 +169,15 @@ function load_optpage_data_display() {
         'refresh' => SMOPT_REFRESH_NONE
         //'post_script' => $js_autodetect_script,
     );
+    
+    $optvals[SMOPT_GRP_GENERAL][] = array(
+        'name'    => 'hour_format',
+        'caption' => _("Hour Format"),
+        'type'    => SMOPT_TYPE_STRLIST,
+        'refresh' => SMOPT_REFRESH_FOLDERLIST,
+        'posvals' => array(SMPREF_TIME_12HR => _("12-hour clock"),
+                           SMPREF_TIME_24HR => _("24-hour clock"))
+    );
 
     /*** Load the General Options into the array ***/
     $optgrps[SMOPT_GRP_MAILBOX] = _("Mailbox Display Options");
@@ -355,9 +364,6 @@ function load_optpage_data_display() {
 /** Define any specialized save functions for this option page. ***/
 /******************************************************************/
 
-function save_option_header($option) {
-}
-
 /**
  * This function saves a new theme setting.
  * It updates the theme array.
@@ -408,20 +414,4 @@ function icon_theme_save($option) {
 
 }
 
-/**
- * This function saves the reply prefix (body_quote) character(s)
- */
-function save_option_reply_prefix($option) {
-
-    // save as "NONE" if it was blanked out
-    //
-    if (empty($option->new_value)) $option->new_value = 'NONE';
-
-
-    // Save the option like normal.
-    //
-    save_option($option);
-
-}
-
-?>
+?>
\ No newline at end of file