X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fmessage_list.tpl;h=85b4646a43161a5a33a5f8584625d0da02a15794;hb=47ccfad452e8d345542d09e59112cac317cffed8;hp=a339efca8bde425a262ae87f41794eb985a0111e;hpb=6d34ad62227aa82c6161cc9f64af26d249bee3be;p=squirrelmail.git diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index a339efca..85b4646a 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -3,11 +3,10 @@ /** * message_list.tpl * - * Copyright (c) 1999-2005 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * Template for viewing a messages list * + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail * @subpackage templates @@ -324,7 +323,7 @@ $clickedColor = (empty($color[16])) ? $color[2] : $color[16]; //$clickedColor = ''; $clickedColor = (!empty($color[16])) ? $color[16] : $color[2]; - $checkbox_javascript = ' onClick="this.checked = !this.checked;"'; + $checkbox_javascript = ' onclick="this.checked = !this.checked;"'; } else { $checkbox_javascript = ''; } @@ -460,11 +459,14 @@ $clickedColor = (empty($color[16])) ? $color[2] : $color[16]; $sLabelStart = ''; $sLabelEnd = ''; } - $aCol = (isset($aColumns[$iCol])) ? $aColumns[$iCol] : array(); - $title = (isset($aCol['title'])) ? $aCol['title'] : ''; - $link = (isset($aCol['link'])) ? $aCol['link'] : ''; - $value = (isset($aCol['value'])) ? $aCol['value'] : ''; - $target = (isset($aCol['target'])) ? $aCol['target'] : ''; + $aCol = (isset($aColumns[$iCol])) ? $aColumns[$iCol] : array(); + $title = (isset($aCol['title'])) ? $aCol['title'] : ''; + $link = (isset($aCol['link'])) ? $aCol['link'] : ''; + $link_extra = (isset($aCol['link_extra'])) ? $aCol['link_extra'] : ''; + $onclick = (isset($aCol['onclick'])) ? $aCol['onclick'] : ''; + $link = (isset($aCol['link'])) ? $aCol['link'] : ''; + $value = (isset($aCol['value'])) ? $aCol['value'] : ''; + $target = (isset($aCol['target'])) ? $aCol['target'] : ''; if ($iCol !== SQM_COL_CHECK) { $value = $sLabelStart.$sPre.$value.$sEnd.$sLabelEnd; } @@ -483,8 +485,10 @@ $clickedColor = (empty($color[16])) ? $color[2] : $color[16]; $sText .= str_repeat('  ',$indent); } $sText .= "