X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fmessage_list.tpl;h=21fbc18d01cef5b7609caa8b5a14cfe95a63e683;hb=f0cb1f93318e64f8205425923b6597a7a8e876b8;hp=2d862e0e3524fd66ff098538f3aea845e3b1b750;hpb=1be82af6cabeb811543fae51e6ccadd12efbd879;p=squirrelmail.git
diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl
index 2d862e0e..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];
-
+
?>