Updating copyrights. Happy New Year.
[squirrelmail.git] / templates / default / read_headers.tpl
index bb914259116ae9e718ba9ed098d4726185172357..6e007a011080d728ec0aa052c4c95362e082c5ab 100644 (file)
@@ -6,14 +6,15 @@
  * 
  * The following variables are available in this template:
  * 
- *    $headers_to_display - array containing the list of all elements that need
- *             to be displayed.  The index of each element is the translated name
- *             of the field to be displayed.  The value of each element is the
- *             value to be displayed for that field.  Many values can be controled
- *             through additional templates.
+ *    $headers_to_display - Array containing the list of all elements that need
+ *                          to be displayed.  The index of each element is the
+ *                          translated name of the field to be displayed.  The
+ *                          value of each element is the value to be displayed
+ *                          for that field.  Many values can be controled through
+ *                          additional templates.
  * 
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2012 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -42,7 +43,7 @@ extract($t);
             continue;
         }
         ?>
- <tr>
+ <tr class="field_<?php echo $field_name; ?>">
   <td class="fieldName">
    <?php echo $field_name; ?>:
   </td>
@@ -50,14 +51,10 @@ extract($t);
    <?php echo $value; ?>
   </td>
  </tr>
-        <?php
+<?php
     }
- ?>
- <tr>
-  <td>
-   <?php if(!empty($plugin_output['read_body_header'])) echo $plugin_output['read_body_header']; ?>
-  </td>
- </tr>
+    if (!empty($plugin_output['read_body_header'])) echo $plugin_output['read_body_header'];
+?>
 </table>
 <table cellspacing="0" class="spacer">
  <tr>
@@ -65,4 +62,4 @@ extract($t);
   </td>
  </tr>
 </table>
-</div>
\ No newline at end of file
+</div>