X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault_advanced%2Fleft_main.tpl;h=69681bd209133d059db495e1d040890a136acf92;hb=a95c75b3e0fb36b479741603ab9d855fb417a5e5;hp=3c0edff924ce26b2bb3195b2589864c3ee212684;hpb=b71975ad40d8f150d665125b97a04fc02dd4cea9;p=squirrelmail.git diff --git a/templates/default_advanced/left_main.tpl b/templates/default_advanced/left_main.tpl index 3c0edff9..69681bd2 100644 --- a/templates/default_advanced/left_main.tpl +++ b/templates/default_advanced/left_main.tpl @@ -195,6 +195,11 @@ function buildMailboxTree ($box, $settings, $icon_theme_path, $parent_node=-1) { } } + // Add any extra output that may have been added by plugins, etc + // + if (!empty($box['ExtraOutput'])) + $end .= $box['ExtraOutput']; + $span = ''; $spanend = ''; if ($settings['useSpecialFolderColor'] && $box['IsSpecial']) { @@ -205,11 +210,6 @@ function buildMailboxTree ($box, $settings, $icon_theme_path, $parent_node=-1) { $spanend = ''; } - /** - * NOTE: Plugins would horribly break this advanced tree, so we are - * going to skip that part altogether. - */ - $name = str_replace( array(' ','<','>'), array(' ','<','>'), @@ -226,11 +226,19 @@ function buildMailboxTree ($box, $settings, $icon_theme_path, $parent_node=-1) { } if ($display_folder) { + + if ($box['IsInbox']) { + global $accesskey_folders_inbox; + $accesskey = $accesskey_folders_inbox; + } + else $accesskey = ''; + $out .= 'mailboxes.add('.$counter.', '.$parent_node.', ' . '"'.addslashes($name).'", "'.$url.'", "'.$title.'", ' . '"'.$target.'", ' . '"'.getIconPath($icon_theme_path, $img).'", ' . - '"'.getIconPath($icon_theme_path, $img_open).'"' . + '"'.getIconPath($icon_theme_path, $img_open).'", ' . + '"'.$accesskey.'"' . ');'."\n"; } } @@ -283,7 +291,7 @@ extract($t);
- [] + [target="left">] @@ -291,13 +299,16 @@ extract($t);

-Open All +   |   -Close All + '; - echo 'Purge Trash'; + echo '' . _("Purge Trash") . ''; } ?>