From: pdontthink Date: Thu, 28 Sep 2006 14:59:20 +0000 (+0000) Subject: Misc template changes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4f5c9970bd8eac27af894ec33dd6c973d09059dc;p=squirrelmail.git Misc template changes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11760 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/left_main.tpl b/templates/default/left_main.tpl index 106bc236..bbe6b191 100644 --- a/templates/default/left_main.tpl +++ b/templates/default/left_main.tpl @@ -10,8 +10,8 @@ * template. Indexes are as follows: * $settings['iconThemePath'] - Path to the desired icon theme. If * the user has disabled icons, this will be NULL. - * $settings['templateDirectory'] - contains the path to the current - * template directory. This may be needed by third + * $settings['templateID'] - contains the ID of the current + * template set. This may be needed by third * party packages that don't integrate easily. * $settings['unreadNotificationEnabled'] - Boolean TRUE if the user * wants to see unread message count on mailboxes diff --git a/templates/default/webmail.tpl b/templates/default/webmail.tpl index c3a8d3fa..7cfd793c 100644 --- a/templates/default/webmail.tpl +++ b/templates/default/webmail.tpl @@ -45,4 +45,4 @@ if ($ret != '') { $output = $ret; } -echo $output ."\n"; \ No newline at end of file +echo $output ."\n"; diff --git a/templates/default_advanced/left_main.tpl b/templates/default_advanced/left_main.tpl index 423799d4..cedc11c7 100644 --- a/templates/default_advanced/left_main.tpl +++ b/templates/default_advanced/left_main.tpl @@ -14,8 +14,8 @@ * template. Indexes are as follows: * $settings['iconThemePath'] - Path to the desired icon theme. If * the user has disabled icons, this will be NULL. - * $settings['templateDirectory'] - contains the path to the current - * template directory. This may be needed by third + * $settings['templateID'] - contains the ID of the current + * template set. This may be needed by third * party packages that don't integrate easily. * $settings['unreadNotificationEnabled'] - Boolean TRUE if the user * wants to see unread message count on mailboxes @@ -95,7 +95,7 @@ function buildMailboxTree ($box, $settings, $parent_node=-1) { return ''; } - $image_path = $settings['templateDirectory'] . 'images/'; + $image_path = Template::calculate_template_images_directory($settings['templateID']); $out = ''; if ($box['IsRoot']) { // Determine the path to the correct images @@ -309,4 +309,4 @@ if ($settings['messageRecyclingEnabled']) { - \ No newline at end of file +