From: <var...@us...> - 2022-01-05 16:09:56
|
Revision: 10825 http://sourceforge.net/p/phpwiki/code/10825 Author: vargenau Date: 2022-01-05 16:09:55 +0000 (Wed, 05 Jan 2022) Log Message: ----------- Whitespace Modified Paths: -------------- trunk/themes/Crao/templates/actionbar.tmpl Modified: trunk/themes/Crao/templates/actionbar.tmpl =================================================================== --- trunk/themes/Crao/templates/actionbar.tmpl 2022-01-05 16:09:17 UTC (rev 10824) +++ trunk/themes/Crao/templates/actionbar.tmpl 2022-01-05 16:09:55 UTC (rev 10825) @@ -1,5 +1,5 @@ <?php - if (!$page->get('locked') || $user->isAdmin() and $revision) + if ($revision && (!$page->get('locked') || $user->isAdmin())) $EditB = Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")); else @@ -29,7 +29,7 @@ $purgeb->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed.")); ?> <?php echo $SEP?><?php echo $purgeb ?> - <?php // End debugging buttons ?> +<?php // End debugging buttons ?> <?php } ?> <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> <?php echo $SEP?><?php echo Button("pdf") ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |