From: <var...@us...> - 2009-02-25 15:13:58
|
Revision: 6563 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6563&view=rev Author: vargenau Date: 2009-02-25 15:13:50 +0000 (Wed, 25 Feb 2009) Log Message: ----------- No alert for Gforge Modified Paths: -------------- trunk/lib/plugin/WatchPage.php Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2009-02-25 14:51:51 UTC (rev 6562) +++ trunk/lib/plugin/WatchPage.php 2009-02-25 15:13:50 UTC (rev 6563) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /** Copyright (C) 2006 $ThePhpWikiProgrammingTeam + Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent This file is part of PhpWiki. @@ -94,6 +95,8 @@ } function run($dbi, $argstr, &$request, $basepage) { + global $WikiTheme; + $args = $this->getArgs($argstr, $request); if (isa($request,'MockRequest')) return ''; @@ -146,6 +149,10 @@ $request->_setUser($user); $request->setArg("verify",false); $request->setArg("add",false); + // No alert for Gforge + if (isa($WikiTheme, 'WikiTheme_gforge')) { + return; + } $alert = new Alert( _("Message"), _("E-Mail Notification for the current page successfully stored in your preferences.")); @@ -157,11 +164,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.1 2006/12/22 01:28:23 rurban -// new plugin similar to mediawiki -// - // For emacs users // Local Variables: // mode: php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |