From: <var...@us...> - 2010-06-28 12:32:30
|
Revision: 7587 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7587&view=rev Author: vargenau Date: 2010-06-28 12:32:23 +0000 (Mon, 28 Jun 2010) Log Message: ----------- name => id Modified Paths: -------------- trunk/lib/plugin/PageHistory.php Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2010-06-28 08:29:08 UTC (rev 7586) +++ trunk/lib/plugin/PageHistory.php 2010-06-28 12:32:23 UTC (rev 7587) @@ -141,7 +141,7 @@ return HTML(HTML::form(array('method' => 'get', 'action' => $action, - 'name' => 'diff-select'), + 'id' => 'diff-select'), $html), "\n", JavaScript(' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2013-02-06 09:55:25
|
Revision: 8725 http://sourceforge.net/p/phpwiki/code/8725 Author: vargenau Date: 2013-02-06 09:55:23 +0000 (Wed, 06 Feb 2013) Log Message: ----------- Fix pageLink arguments Modified Paths: -------------- trunk/lib/plugin/PageHistory.php Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2013-02-06 09:52:26 UTC (rev 8724) +++ trunk/lib/plugin/PageHistory.php 2013-02-06 09:55:23 UTC (rev 8725) @@ -175,7 +175,7 @@ 'value' => $rev->getVersion())); } - function pageLink($rev) + function pageLink($rev, $link_text = false) { $text = fmt("Version %d", $rev->getVersion()); return _RecentChanges_HtmlFormatter::pageLink($rev, $text); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2013-04-18 09:34:50
|
Revision: 8768 http://sourceforge.net/p/phpwiki/code/8768 Author: vargenau Date: 2013-04-18 09:34:48 +0000 (Thu, 18 Apr 2013) Log Message: ----------- _PageHistory_PageRevisionIter is not private Modified Paths: -------------- trunk/lib/plugin/PageHistory.php Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2013-04-18 09:24:36 UTC (rev 8767) +++ trunk/lib/plugin/PageHistory.php 2013-04-18 09:34:48 UTC (rev 8768) @@ -25,7 +25,7 @@ class _PageHistory_PageRevisionIter extends WikiDB_PageRevisionIterator { - private function _PageHistory_PageRevisionIter($rev_iter, $params) + function _PageHistory_PageRevisionIter($rev_iter, $params) { $this->_iter = $rev_iter; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-12-03 09:33:56
|
Revision: 9407 http://sourceforge.net/p/phpwiki/code/9407 Author: vargenau Date: 2014-12-03 09:33:47 +0000 (Wed, 03 Dec 2014) Log Message: ----------- Set limit to 0 instead of false to please test Modified Paths: -------------- trunk/lib/plugin/PageHistory.php Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2014-12-02 15:51:24 UTC (rev 9406) +++ trunk/lib/plugin/PageHistory.php 2014-12-03 09:33:47 UTC (rev 9407) @@ -284,7 +284,7 @@ return array('days' => false, 'show_minor' => true, 'show_major' => true, - 'limit' => false, + 'limit' => 0, 'page' => '[pagename]', 'format' => false); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-01-30 10:05:40
|
Revision: 9502 http://sourceforge.net/p/phpwiki/code/9502 Author: vargenau Date: 2015-01-30 10:05:37 +0000 (Fri, 30 Jan 2015) Log Message: ----------- Add class error Modified Paths: -------------- trunk/lib/plugin/PageHistory.php Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2015-01-29 17:40:50 UTC (rev 9501) +++ trunk/lib/plugin/PageHistory.php 2015-01-30 10:05:37 UTC (rev 9502) @@ -342,8 +342,8 @@ $args = $this->getArgs($argstr, $request); if (isset($args['limit']) && !is_limit($args['limit'])) { - return HTML::div(array('class' => "error"), - _("Illegal “limit” argument: must be an integer or two integers separated by comma")); + return HTML::p(array('class' => "error"), + _("Illegal “limit” argument: must be an integer or two integers separated by comma")); } $pagename = $args['page']; @@ -353,8 +353,8 @@ $page = $dbi->getPage($pagename); $current = $page->getCurrentRevision(); if ($current->getVersion() < 1) { - return HTML(HTML::p(fmt("Page “%s” does not exist.", WikiLink($pagename, 'unknown'))), - $this->makeForm("", $request)); + return HTML(HTML::p(array('class' => "error"), fmt("Page “%s” does not exist.", $pagename)), + $this->makeForm("", $request)); } // Hack alert: format() is a NORETURN for rss formatters. return $this->format($this->getChanges($dbi, $args), $args); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |