X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=templates%2Fdefault%2Fmessage_list.tpl;h=21fbc18d01cef5b7609caa8b5a14cfe95a63e683;hp=62808fffde4b0b25656fc760635ca90678404676;hb=ad648d4c60bc23ce7fad4c8ff38fdd8c54db3603;hpb=d7f26e6e38aeb92fa01ee24b0b5c5e0346139fc7
diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl
index 62808fff..21fbc18d 100644
--- a/templates/default/message_list.tpl
+++ b/templates/default/message_list.tpl
@@ -13,6 +13,7 @@
*/
/** add required includes */
+include_once(SM_PATH . 'templates/util_global.php');
include_once(SM_PATH . 'templates/util_message_list.php');
/* retrieve the template vars */
@@ -77,26 +78,20 @@ if (!($javascript_on && $fancy_index_highlite)) {
}
/**
- * Check usage of images for attachments, flags and priority
- */
-$bIcons = ($use_icons && $icon_theme) ? true : false;
-
-/**
- * Location of icon images
- */
-if ($bIcons) {
- $sImageLocation = SM_PATH . 'images/themes/' . $icon_theme . '/';
-}
+ * All icon functionality is now handled through $icon_theme_path.
+ * $icon_theme_path will contain the path to the user-selected theme. If it is
+ * NULL, the user and/or admin have turned off icons.
+*/
// set this to an empty string to turn off extra
// highlighting of checked rows
//
//$clickedColor = '';
$clickedColor = (empty($color[16])) ? $color[2] : $color[16];
-
+
?>