From 72afdcffd5f00e3b480fc991e328303e8feb3a28 Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Mon, 9 Oct 2006 16:56:50 +0000 Subject: [PATCH] Prepend SM_PATH to $icon_theme_path since it is no longer returned by the template as part of the path. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11882 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/load_prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/load_prefs.php b/include/load_prefs.php index 8df7e9d4..8b12b66b 100644 --- a/include/load_prefs.php +++ b/include/load_prefs.php @@ -136,7 +136,7 @@ if (!$found_theme) { * theme to use. If the admin has disabled icons, or the user has * set the icon theme to "None," no icons will be used. */ -$icon_theme_path = (!$use_icons || $icon_theme=='none') ? NULL : ($icon_theme == 'template' ? Template::calculate_template_images_directory($sTemplateID) : $icon_theme); +$icon_theme_path = (!$use_icons || $icon_theme=='none') ? NULL : ($icon_theme == 'template' ? SM_PATH . Template::calculate_template_images_directory($sTemplateID) : $icon_theme); // show (or not) flag and unflag buttons on mailbox list screen $show_flag_buttons = getPref($data_dir, $username, 'show_flag_buttons', SMPREF_ON ); -- 2.25.1