From 3d621333d1319a51a6be5df7184f39ef0e23735f Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 2 Jan 2007 08:07:24 +0000 Subject: [PATCH] Removing hook from template, misc cleanup git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12043 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/message_list.tpl | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index 712ab353..5292a094 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -254,29 +254,31 @@ $clickedColor = (empty($color[16])) ? $color[2] : $color[16]; $aMsg) { + echo $sLine; + /** * Display message header row in messages list * @@ -333,7 +335,7 @@ $clickedColor = (empty($color[16])) ? $color[2] : $color[16]; // this stuff does the auto row highlighting on mouseover // if ($javascript_on && $fancy_index_highlite) { - $row_extra .= ' onmouseover="rowOver(\''.$form_id . '_msg' . $i.'\');" onmouseout="setPointer(this, ' . $i . ', \'out\', \'' . $class . '\', \'mouse_over\', \'clicked\');" onmousedown="setPointer(this, ' . $i . ', \'click\', \'' . $class . '\', \'mouse_over\', \'clicked\');"'; + $row_extra = ' onmouseover="rowOver(\''.$form_id . '_msg' . $i.'\');" onmouseout="setPointer(this, ' . $i . ', \'out\', \'' . $class . '\', \'mouse_over\', \'clicked\');" onmousedown="setPointer(this, ' . $i . ', \'click\', \'' . $class . '\', \'mouse_over\', \'clicked\');"'; } // this does the auto-checking of the checkbox no matter // where on the row you click @@ -395,7 +397,6 @@ if ($class != 'even' && $class != 'odd') $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) { @@ -411,7 +412,7 @@ if ($class != 'even' && $class != 'odd') '; - $checked = ($checkall) ? " checked=checked " : " "; + $checked = ($checkall) ? ' checked=checked ' : ''; echo ""; } break; @@ -431,8 +432,8 @@ if ($class != 'even' && $class != 'odd') 'parentNode.parentNode, ' . $i . ', \'click\', \''. $class. '\', \'mouse_over\', \'' . $clickedColor .'\');"'; } - $sText .= ">"; - $sText .= $value . ''; + $sText .= ">" + . $value . ''; if ($align['left'] == 'right') { $sText .= str_repeat('  ',$indent); } @@ -440,14 +441,14 @@ if ($class != 'even' && $class != 'odd') break; case SQM_COL_SIZE: case SQM_COL_FLAGS: - $sText = " "; - $sText .= "$value\n"; + $sText = " " + . "$value\n"; echo $sText; break; case SQM_COL_INT_DATE: case SQM_COL_DATE: - $sText = " "; - $sText .= $value. "\n"; + $sText = " " + . $value. "\n"; echo $sText; break; default: @@ -467,9 +468,8 @@ if ($class != 'even' && $class != 'odd') break; } } -?> - -'; $sLine = "\n"; ++$i; @@ -505,7 +505,7 @@ if ($class != 'even' && $class != 'odd') - + -- 2.25.1