Преглед изворни кода

Making fancy row highlighting an option

pdontthink пре 20 година
родитељ
комит
8a3ff914d2
2 измењених фајлова са 11 додато и 1 уклоњено
  1. 3 0
      include/load_prefs.php
  2. 8 1
      include/options/display.php

+ 3 - 0
include/load_prefs.php

@@ -213,6 +213,9 @@ if (!isset($index_order)) {
 $alt_index_colors =
     getPref($data_dir, $username, 'alt_index_colors', SMPREF_ON );
 
+$fancy_index_highlite =
+    getPref($data_dir, $username, 'fancy_index_highlite', SMPREF_OFF );
+
 /* Folder List Display Format */
 $location_of_bar =
     getPref($data_dir, $username, 'location_of_bar', SMPREF_LOC_LEFT);

+ 8 - 1
include/options/display.php

@@ -198,6 +198,13 @@ function load_optpage_data_display() {
         'refresh' => SMOPT_REFRESH_NONE
     );
 
+    $optvals[SMOPT_GRP_MAILBOX][] = array(
+        'name'    => 'fancy_index_highlite',
+        'caption' => _("Enable Fancy Row Mouseover Highlighting"),
+        'type'    => SMOPT_TYPE_BOOLEAN,
+        'refresh' => SMOPT_REFRESH_NONE
+    );
+
     if ($use_icons) {
         global $icon_themes, $icon_theme;
         $temp = array();
@@ -414,4 +421,4 @@ function icon_theme_save($option) {
 
 }
 
-?>
+?>