From: Reini U. <ru...@us...> - 2004-03-12 12:17:50
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26969/lib Modified Files: PageList.php Log Message: fixed that jsFlipAll() is not included on every page. Index: PageList.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/PageList.php,v retrieving revision 1.64 retrieving revision 1.65 diff -u -2 -b -p -d -r1.64 -r1.65 --- PageList.php 10 Mar 2004 15:32:53 -0000 1.64 +++ PageList.php 12 Mar 2004 11:58:21 -0000 1.65 @@ -726,5 +726,5 @@ class PageList { //Warning: This is quite fragile. It depends solely on a private variable // in ->_addColumn() - if (in_array('checkbox',$this->_columns_seen)) { + if (!empty($this->_columns_seen['checkbox'])) { $table->pushContent($this->_jsFlipAll()); } @@ -766,5 +766,5 @@ function flipAll(formObj) { // in ->_addColumn() // questionable if its of use here anyway. this is a one-col list only. - if (in_array('checkbox',$this->_columns_seen)) { + if (!empty($this->_columns_seen['checkbox'])) { $out->pushContent($this->_jsFlipAll()); } |