Making fancy row highlighting an option
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 15 Mar 2005 06:51:02 +0000 (06:51 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 15 Mar 2005 06:51:02 +0000 (06:51 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9031 7612ce4b-ef26-0410-bec9-ea0150e637f0

include/load_prefs.php
include/options/display.php

index a55aaf248bf6abc5285d6b9fae0e43d9ccf48894..06efb7e3d936b250551bfbcffad969d936dff427 100644 (file)
@@ -213,6 +213,9 @@ if (!isset($index_order)) {
 $alt_index_colors =
     getPref($data_dir, $username, 'alt_index_colors', SMPREF_ON );
 
 $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);
 /* Folder List Display Format */
 $location_of_bar =
     getPref($data_dir, $username, 'location_of_bar', SMPREF_LOC_LEFT);
index 3ee65e9b857c3810f5d904c7e28752ee99c1a2a1..40a35970606b64043fbe60d6e6996ad9697e840b 100644 (file)
@@ -198,6 +198,13 @@ function load_optpage_data_display() {
         'refresh' => SMOPT_REFRESH_NONE
     );
 
         '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();
     if ($use_icons) {
         global $icon_themes, $icon_theme;
         $temp = array();
@@ -414,4 +421,4 @@ function icon_theme_save($option) {
 
 }
 
 
 }
 
-?>
\ No newline at end of file
+?>