--- includes/ucp/ucp_main.php Mon Mar 09 16:31:57 2009 +++ includes/ucp/ucp_main.php Mon Mar 09 16:27:18 2009 @@ -633,7 +633,7 @@ */ function assign_topiclist($mode = 'subscribed', $forbidden_forum_ary = array()) { - global $user, $db, $template, $config, $auth, $phpbb_root_path, $phpEx; + global $user, $db, $template, $config, $cache, $auth, $phpbb_root_path, $phpEx; $table = ($mode == 'subscribed') ? TOPICS_WATCH_TABLE : BOOKMARKS_TABLE; $start = request_var('start', 0); @@ -738,6 +738,9 @@ } } $db->sql_freeresult($result); + + // Grab icons + $icons = $cache->obtain_icons(); $topic_tracking_info = array(); if ($config['load_db_lastread']) @@ -808,6 +811,7 @@ 'FORUM_NAME' => $row['forum_name'], 'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt), + 'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt], 'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'), 'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '', 'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '', --- styles/prosilver/template/ucp_main_bookmarks.html Mon Mar 09 16:32:08 2009 +++ styles/prosilver/template/ucp_main_bookmarks.html Mon Mar 09 16:25:51 2009 @@ -32,7 +32,7 @@
-
+
style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;" title="{topicrow.TOPIC_FOLDER_IMG_ALT}"> {NEWEST_POST_IMG} {topicrow.TOPIC_TITLE} {topicrow.UNAPPROVED_IMG} {REPORTED_IMG}
--- styles/prosilver/template/ucp_main_subscribed.html Mon Mar 09 16:35:42 2009 +++ styles/prosilver/template/ucp_main_subscribed.html Mon Mar 09 16:33:08 2009 @@ -52,7 +52,7 @@
  • -
    +
    style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;" title="{topicrow.TOPIC_FOLDER_IMG_ALT}"> {NEWEST_POST_IMG} {topicrow.TOPIC_TITLE} {topicrow.UNAPPROVED_IMG} {REPORTED_IMG}