summaryrefslogtreecommitdiff
path: root/templates/structure_display.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:11:01 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:11:01 +0000
commitcb8a70fed8e6667a3b6f61e090786b6cd2f67216 (patch)
tree0b07a945fc28350b70981be89ae7df924ca04482 /templates/structure_display.tpl
parentc8bec0f289beac93a88fe41408d1958d9232244d (diff)
downloadliberty-cb8a70fed8e6667a3b6f61e090786b6cd2f67216.tar.gz
liberty-cb8a70fed8e6667a3b6f61e090786b6cd2f67216.tar.bz2
liberty-cb8a70fed8e6667a3b6f61e090786b6cd2f67216.zip
Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones.
Diffstat (limited to 'templates/structure_display.tpl')
-rw-r--r--templates/structure_display.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/structure_display.tpl b/templates/structure_display.tpl
index 8bac238..685de14 100644
--- a/templates/structure_display.tpl
+++ b/templates/structure_display.tpl
@@ -19,7 +19,7 @@
{if $gBitSystem->isFeatureActive( 'wiki_book_show_navigation' )}
<div class="navigation">
<span class="left">
- {if $structureInfo.prev and $structureInfo.prev.structure_id}
+ {if $structureInfo.prev && $structureInfo.prev.structure_id}
<a href="index.php?structure_id={$structureInfo.prev.structure_id}">
{if $wikibook_use_icons eq 'y'}
{booticon iname="fa-arrow-left" iexplain=Previous}
@@ -31,7 +31,7 @@
</span>
<span class="right">
- {if $structureInfo.next and $structureInfo.next.structure_id}
+ {if $structureInfo.next && $structureInfo.next.structure_id}
<a href="index.php?structure_id={$structureInfo.next.structure_id}">
{if $wikibook_use_icons eq 'y'}
{biticon ipackage="icons" iname="go-next" iexplain=Next}