match a boolean comparison. Or at least you get some odd results. I have
fancy highlighting off, and '0' makes it appear. Also removed some odd
javascript:
this.checked = !(this.checked)
on every message check box, what was this for? Firefox makes that a stupid
bit of code, as you click on a check box, and it unchecks it immedately
making it impossible to select messages :)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9282
7612ce4b-ef26-0410-bec9-
ea0150e637f0
switch ($iCol) {
case SQM_COL_CHECK:
if ($javascript_on) {
- echo '<input type="checkbox" name="toggleAll" title="'._("Toggle All").'" onclick="toggle_all(\''.$form_id."','".$fancy_index_highlite."','".$clickedColor.'\');" />';
+ echo '<input type="checkbox" name="toggleAll" title="'._("Toggle All").'" onclick="toggle_all(\''.$form_id."',".$fancy_index_highlite.",'".$clickedColor.'\');" />';
} else {
$link = $baseurl . "&startMessage=$pageOffset&&checkall=";
if (sqgetGlobalVar('checkall',$checkall,SQ_GET)) {
$clickedColor = (!empty($color[16])) ? $color[16] : $color[2];
}
if ($javascript_on) {
- $checkbox_javascript = ' onClick="this.checked = !this.checked;"';
+// $checkbox_javascript = ' onClick="this.checked = !this.checked;"';
}
foreach ($aMessages as $iUid => $aMsg) {
echo $sLine;