Happy New Year
[squirrelmail.git] / templates / default / left_main.tpl
index cd2fb92fc1ebf7254ad650f3f6ef232e81b5a005..a8201af37c161622fa3011a57187c4e87f75dbde 100644 (file)
@@ -61,7 +61,7 @@
  *                                            in all folders in this mailbox,
  *                                            excluding trash folders.
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2020 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -178,6 +178,7 @@ function buildMailboxTree ($box, $settings, $icon_theme_path, $indent_factor=0)
     $view_link = '<a href="'.$box['ViewLink']['URL'].'" ' .
                  ($accesskey == '' ? '' : 'accesskey="' . $accesskey . '" ') .
                  'target="'.$box['ViewLink']['Target'].'" ' .
+                 'title="'.$box['MailboxName'].'" ' .
                  'style="text-decoration:none">';
 
     if ($settings['messageRecyclingEnabled'] && $box['IsTrash']) {
@@ -196,7 +197,7 @@ function buildMailboxTree ($box, $settings, $icon_theme_path, $indent_factor=0)
                 $end .= '&nbsp;<small>('.$unseen_str.')</small>';
             }
             $end .= "\n<small>" .
-                    '&nbsp;&nbsp;[<a href="empty_trash.php">'. _("Purge").'</a>]' .
+                    '&nbsp;&nbsp;[<a href="empty_trash.php?smtoken=' . sm_generate_security_token() . '">'. _("Purge").'</a>]' .
                     '</small>';
         }
     } else {