From: stevetruckstuff Date: Mon, 9 Oct 2006 16:56:50 +0000 (+0000) Subject: Prepend SM_PATH to $icon_theme_path since it is no longer returned by the template... X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=72afdcffd5f00e3b480fc991e328303e8feb3a28;hp=01fd1d1a63a0a2f88354a34c345598db392cfea3 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 --- 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 );