summaryrefslogtreecommitdiff
path: root/templates/edit_help_inc.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-02-01 15:36:28 +0000
committerlsces <lester@lsces.co.uk>2026-02-01 15:36:28 +0000
commit61520452471167acb48c9f80b220eb7f08518584 (patch)
treea7c27e14292563772c28dcc7f74eae53ed0ddc0f /templates/edit_help_inc.tpl
parent58e43452fc894294b29f66ba60f3a41d5123e1fa (diff)
downloadliberty-61520452471167acb48c9f80b220eb7f08518584.tar.gz
liberty-61520452471167acb48c9f80b220eb7f08518584.tar.bz2
liberty-61520452471167acb48c9f80b220eb7f08518584.zip
Tidy to php8.4, add default values
Diffstat (limited to 'templates/edit_help_inc.tpl')
-rwxr-xr-x[-rw-r--r--]templates/edit_help_inc.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/edit_help_inc.tpl b/templates/edit_help_inc.tpl
index e761754..fb61224 100644..100755
--- a/templates/edit_help_inc.tpl
+++ b/templates/edit_help_inc.tpl
@@ -3,12 +3,12 @@
{jstab title="Format Help"}
<h4>{tr}Syntax and input format help{/tr}</h4>
{foreach from=$formatplugins item=p}
- <h5>{if $p.format_help}<a href="#{$p.plugin_guid}">{/if}{$p.edit_label} Help{if $p.format_help}</a>{/if}</h5>
+ <h5>{if !empty($p.format_help)}<a href="#{$p.plugin_guid}">{/if}{$p.edit_label} Help{if !empty($p.format_help)}</a>{/if}</h5>
{$p.description} {if $p.help_page}{tr}To view syntax help, please visit {jspopup href="http://www.bitweaver.org/wiki/index.php?page=`$p.help_page`" title=$p.help_page class=external}.{/tr}{/if}
{/foreach}
{foreach from=$formatplugins item=p}
- {if $p.format_help}
+ {if !empty($p.format_help)}
{include file=$p.format_help}
{/if}
{/foreach}