Add new spacer image and allow its use for unsafe images instead of the sec_remove_...
[squirrelmail.git] / templates / default / message_list.tpl
index 0cb945fb7060751db9a9b6b52a2a6a1183c03ae4..8d9548c30d2b999de9c3cf9aa746f6573a60e4f7 100644 (file)
@@ -73,7 +73,7 @@
  *    $accesskey_mailbox_toggle_selected The access key to use for the toggle all checkbox
  *    $accesskey_mailbox_thread The access key to use for the Thread/Unthread links
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2013 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -118,6 +118,7 @@ if ($pageOffset < $end_msg) {
 ?>
 <div id="message_list">
 <form id="<?php echo $form_name;?>" name="<?php echo $form_name;?>" method="post" action="<?php echo $php_self;?>">
+<input type="hidden" name="smtoken" value="<?php echo sm_generate_security_token(); ?>" />
 <table class="table_empty" cellspacing="0">
   <tr>
    <td>
@@ -456,6 +457,7 @@ if ($non_clicked_class != 'even' && $non_clicked_class != 'odd'
         $value      = (isset($aCol['value']))      ? $aCol['value']      : '';
         $target     = (isset($aCol['target']))     ? $aCol['target']     : '';
         if (!$show_personal_names
+         && !empty($title)
          && ($iCol == SQM_COL_FROM
           || $iCol == SQM_COL_TO
           || $iCol == SQM_COL_CC