logo       

CVS: phpwiki/lib PageList.php,1.128,1.129 WikiDB.php,1.122,1.123 WikiUserNe: msg#00121

web.wiki.phpwiki.checkins

Subject: CVS: phpwiki/lib PageList.php,1.128,1.129 WikiDB.php,1.122,1.123 WikiUserNew.php,1.122,1.123

Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29013/lib

Modified Files:
PageList.php WikiDB.php WikiUserNew.php
Log Message:
reformatting

Index: PageList.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/PageList.php,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -2 -b -p -d -r1.128 -r1.129
--- PageList.php 26 Dec 2004 17:31:35 -0000 1.128
+++ PageList.php 25 Jan 2005 06:58:21 -0000 1.129
@@ -572,5 +572,6 @@ class PageList {

/* for the sort buttons in <th> */
- 'sortby' => '', // same as for WikiDB::getAllPages
(unsorted is faster)
+ 'sortby' => '', // same as for WikiDB::getAllPages
+ // (unsorted is faster)

/* PageList pager options:
@@ -805,5 +806,7 @@ class PageList {

// echo implode(":",explodeList("Test*",array("xx","Test1","Test2")));
- function explodePageList($input, $include_empty=false, $sortby=false,
$limit=false, $exclude=false) {
+ function explodePageList($input, $include_empty=false, $sortby=false,
+ $limit=false, $exclude=false)
+ {
if (empty($input)) return array();
// expand wildcards from list of all pages
@@ -812,5 +815,6 @@ class PageList {
// $dbi->titleSearch($input);
//TODO: need an SQL optimization here
- $allPagehandles = $dbi->getAllPages($include_empty, $sortby,
$limit, $exclude);
+ $allPagehandles = $dbi->getAllPages($include_empty, $sortby,
$limit,
+ $exclude);
while ($pagehandle = $allPagehandles->next()) {
$allPages[] = $pagehandle->getName();
@@ -1443,4 +1447,7 @@ extends PageList {

// $Log$
+// Revision 1.129 2005/01/25 06:58:21 rurban
+// reformatting
+//
// Revision 1.128 2004/12/26 17:31:35 rurban
// fixed prev link logic

Index: WikiDB.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB.php,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -2 -b -p -d -r1.122 -r1.123
--- WikiDB.php 20 Jan 2005 10:18:17 -0000 1.122
+++ WikiDB.php 25 Jan 2005 06:58:21 -0000 1.123
@@ -298,5 +298,7 @@ class WikiDB {
* in the WikiDB which have non-default contents.
*/
- function getAllPages($include_empty=false, $sortby=false, $limit=false,
$exclude=false) {
+ function getAllPages($include_empty=false, $sortby=false, $limit=false,
+ $exclude=false)
+ {
// HACK: memory_limit=8M will fail on too large pagesets. old php on
unix only!
if (USECACHE) {
@@ -308,6 +310,8 @@ class WikiDB {
}
}
- $result = $this->_backend->get_all_pages($include_empty, $sortby,
$limit, $exclude);
- return new WikiDB_PageIterator($this, $result, array('include_empty'
=> $include_empty,
+ $result = $this->_backend->get_all_pages($include_empty, $sortby,
$limit,
+ $exclude);
+ return new WikiDB_PageIterator($this, $result,
+ array('include_empty' =>
$include_empty,
'exclude' =>
$exclude,
'limit' =>
$limit));
@@ -2136,4 +2140,7 @@ function _sql_debuglog_shutdown_function

// $Log$
+// Revision 1.123 2005/01/25 06:58:21 rurban
+// reformatting
+//
// Revision 1.122 2005/01/20 10:18:17 rurban
// reformatting

Index: WikiUserNew.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiUserNew.php,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -2 -b -p -d -r1.122 -r1.123
--- WikiUserNew.php 8 Jan 2005 22:51:56 -0000 1.122
+++ WikiUserNew.php 25 Jan 2005 06:58:21 -0000 1.123
@@ -1787,5 +1787,5 @@ class UserPreferences
if ($name == 'emailVerified') $newvalue = $value;
else $newvalue = $pref->sanify($value);
- $pref->set($name,$newvalue);
+ $pref->set($name, $newvalue);
}
$this->_prefs[$name] =& $pref;
@@ -2023,4 +2023,7 @@ extends UserPreferences

// $Log$
+// Revision 1.123 2005/01/25 06:58:21 rurban
+// reformatting
+//
// Revision 1.122 2005/01/08 22:51:56 rurban
// remove deprecated workaround



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise