SF.net SVN: phpwiki:[10853] trunk/themes/smaller/templates/actionbar.tmpl

vargenau--- via phpwiki-checkins <[email protected]> Thu, 06 Jan 2022 15:43:51 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10853
          http://sourceforge.net/p/phpwiki/code/10853
Author:   vargenau
Date:     2022-01-06 15:43:51 +0000 (Thu, 06 Jan 2022)
Log Message:
-----------
themes/smaller/templates/actionbar.tmpl: DEBUG is always defined

Modified Paths:
--------------
    trunk/themes/smaller/templates/actionbar.tmpl

Modified: trunk/themes/smaller/templates/actionbar.tmpl
===================================================================
--- trunk/themes/smaller/templates/actionbar.tmpl	2022-01-06 15:10:00 UTC (rev 10852)
+++ trunk/themes/smaller/templates/actionbar.tmpl	2022-01-06 15:43:51 UTC (rev 10853)
@@ -27,7 +27,7 @@
      <?php echo $SEP?>
     <?php } ?>
    <?php echo Button(array('action'=>__('PageInfo')), _("Info"), $page->getName()) ?>
-<?php if (((defined('DEBUG') and DEBUG and $request->getArg('action') == 'browse')) || $user->isAdmin()) { ?>
+<?php if ((DEBUG and $request->getArg('action') == 'browse') || $user->isAdmin()) { ?>
       <?php // Buttons really only for debugging ?>
       <?php echo $SEP?><?php echo Button(__("PageHistory"), _("Page History")) ?>
       <?php echo $SEP?><?php echo Button("diff") ?>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.