From 18adc53f7043e7e0c06969685d91bf65dbcc6d14 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 15 Mar 2005 06:51:02 +0000 Subject: [PATCH] Making fancy row highlighting an option git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9031 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/load_prefs.php | 3 +++ include/options/display.php | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/include/load_prefs.php b/include/load_prefs.php index a55aaf24..06efb7e3 100644 --- a/include/load_prefs.php +++ b/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); diff --git a/include/options/display.php b/include/options/display.php index 3ee65e9b..40a35970 100644 --- a/include/options/display.php +++ b/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) { } -?> \ No newline at end of file +?> -- 2.25.1