From d9a9929df94e03db3a105e79a6242a47585f16b2 Mon Sep 17 00:00:00 2001 From: rurban Date: Sun, 7 Jan 2007 18:43:08 +0000 Subject: [PATCH] Honor predefined ->_rows: hack to (re-)allow non-pagenames, used by WikiAdminUtils git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@5443 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/PageList.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/PageList.php b/lib/PageList.php index c683dcf9e..469fa51f9 100644 --- a/lib/PageList.php +++ b/lib/PageList.php @@ -1,4 +1,4 @@ -_sortby) > 0) $this->_sortPages(); - - $rows = array(); $i = 0; + + // wikiadminutils hack. that's a way to pagelist non-pages + $rows = isset($this->_rows) ? $this->_rows : array(); $i = 0; foreach ($this->_pages as $pagenum => $page) { $rows[] = $this->_renderPageRow($page, $i++); } @@ -1506,6 +1507,9 @@ extends PageList { } // $Log: not supported by cvs2svn $ +// Revision 1.136 2007/01/02 13:18:46 rurban +// filter pageNames through limit, needed for xmlrpc. publish col->current_row and col->current_column counters during iteration. use table width=100% with captions. Clarify API: sortby,limit and exclude are strings. +// // Revision 1.135 2005/09/14 05:59:03 rurban // optimized explodePageList to use SQL when available // (titleSearch instead of getAllPages) -- 2.45.0