|
From: <var...@us...> - 2022-01-07 17:29:06
|
Revision: 10863
http://sourceforge.net/p/phpwiki/code/10863
Author: vargenau
Date: 2022-01-07 17:29:04 +0000 (Fri, 07 Jan 2022)
Log Message:
-----------
Fix fatal error in template expansion
Modified Paths:
--------------
trunk/themes/Crao/templates/bottom.tmpl
trunk/themes/blog/templates/bottom.tmpl
trunk/themes/default/templates/bottom.tmpl
Modified: trunk/themes/Crao/templates/bottom.tmpl
===================================================================
--- trunk/themes/Crao/templates/bottom.tmpl 2022-01-07 16:59:37 UTC (rev 10862)
+++ trunk/themes/Crao/templates/bottom.tmpl 2022-01-07 17:29:04 UTC (rev 10863)
@@ -1,11 +1,7 @@
<footer role="contentinfo">
<?php // Add your Disclaimer here ?>
<?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
-<?php
-if (DEBUG) {
- echo Template('debug')
-}
-?>
+<?php if (DEBUG) { ?><?php echo Template('debug') ?><?php } ?>
</footer>
<script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script>
<script>
Modified: trunk/themes/blog/templates/bottom.tmpl
===================================================================
--- trunk/themes/blog/templates/bottom.tmpl 2022-01-07 16:59:37 UTC (rev 10862)
+++ trunk/themes/blog/templates/bottom.tmpl 2022-01-07 17:29:04 UTC (rev 10863)
@@ -1,11 +1,7 @@
<?php // Add your Disclaimer here ?>
<?php if (!$WikiTheme->DUMP_MODE) { ?>
<?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
-<?php
-if (DEBUG) {
- echo Template('debug')
-}
-?>
+<?php if (DEBUG) { ?><?php echo Template('debug') ?><?php } ?>
<?php } ?>
<script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script>
<script>
Modified: trunk/themes/default/templates/bottom.tmpl
===================================================================
--- trunk/themes/default/templates/bottom.tmpl 2022-01-07 16:59:37 UTC (rev 10862)
+++ trunk/themes/default/templates/bottom.tmpl 2022-01-07 17:29:04 UTC (rev 10863)
@@ -3,11 +3,7 @@
<?php if (!$WikiTheme->DUMP_MODE) { ?>
<?php echo empty($WARNINGS) ? '' : $WARNINGS ?>
<?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?>
-<?php
-if (DEBUG) {
- echo Template('debug')
-}
-?>
+<?php if (DEBUG) { ?><?php echo Template('debug') ?><?php } ?>
<?php } ?>
</footer>
<script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|