X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fdefault_advanced%2Fleft_main.tpl;h=1097e9759c8f88ea468e25874840b77c435f53ab;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hp=47005eab964439477dbf4ab53bdbf4a2fd456201;hpb=e883b46ee74c1f2d5ea382bded08a3e728cc47d5;p=squirrelmail.git diff --git a/templates/default_advanced/left_main.tpl b/templates/default_advanced/left_main.tpl index 47005eab..1097e975 100644 --- a/templates/default_advanced/left_main.tpl +++ b/templates/default_advanced/left_main.tpl @@ -67,7 +67,7 @@ * in all folders in this mailbox, * excluding trash folders. * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright 1999-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -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);

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