From: <var...@us...> - 2009-06-12 14:01:19
|
Revision: 6929 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6929&view=rev Author: vargenau Date: 2009-06-12 14:01:18 +0000 (Fri, 12 Jun 2009) Log Message: ----------- No need to display new watch list if unchanged Modified Paths: -------------- trunk/lib/plugin/WatchPage.php Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2009-06-12 13:40:22 UTC (rev 6928) +++ trunk/lib/plugin/WatchPage.php 2009-06-12 14:01:18 UTC (rev 6929) @@ -80,11 +80,11 @@ HiddenInputs(array('verify' => 1)), HiddenInputs($request->getArgs(),false,array('verify')), $messages, - HTML::p(_("Your current watchlist: "), $this->showWatchList($pagelist)), - HTML::p(_("New watchlist: "), - $this->showWatchList($this->addpagelist($page, $pagelist)))); + HTML::p(_("Your current watchlist: "), $this->showWatchList($pagelist))); if ($isNecessary) { - $form->pushContent(HTML::p(sprintf(_("Do you %s want to add this page \"%s\" to your WatchList?"), + $form->pushContent(HTML::p(_("New watchlist: "), + $this->showWatchList($this->addpagelist($page, $pagelist))), + HTML::p(sprintf(_("Do you %s want to add this page \"%s\" to your WatchList?"), ($verified ? _("really") : ""), $page)), HTML::p(Button('submit:add', _("Yes")), HTML::Raw(' '), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |