summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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}