From: <var...@us...> - 2009-10-19 13:56:53
|
Revision: 7221 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7221&view=rev Author: vargenau Date: 2009-10-19 13:56:46 +0000 (Mon, 19 Oct 2009) Log Message: ----------- Allow DebugInfo only if DEBUG is true Modified Paths: -------------- trunk/themes/gforge/templates/info.tmpl Modified: trunk/themes/gforge/templates/info.tmpl =================================================================== --- trunk/themes/gforge/templates/info.tmpl 2009-10-19 12:57:39 UTC (rev 7220) +++ trunk/themes/gforge/templates/info.tmpl 2009-10-19 13:56:46 UTC (rev 7221) @@ -11,7 +11,7 @@ <?=$SEP?><?= Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?> <?=$SEP?><?= Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?> <?=$SEP?><?= Button("PageDump", _("PageDump")) ?> - <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?> + <?php if (defined('DEBUG') && DEBUG) { ?> <?=$SEP?><?= Button("DebugInfo", _("DebugInfo")) ?> <?php $PurgeCache = Button(array('nocache' => 'purge'), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |