summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-09-06 08:52:05 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-09-06 08:52:05 +0000
commit04e495a0ec259ff11b5b0615bc318ef23b8893b8 (patch)
tree44f39d5eee08ab9209ff46c282e412d123eeda15
parent65407687b28d963e4b56768fe89c360e7f5dd932 (diff)
downloadliberty-04e495a0ec259ff11b5b0615bc318ef23b8893b8.tar.gz
liberty-04e495a0ec259ff11b5b0615bc318ef23b8893b8.tar.bz2
liberty-04e495a0ec259ff11b5b0615bc318ef23b8893b8.zip
we need to display the guid if there are additional format options available
-rw-r--r--templates/edit_format.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/edit_format.tpl b/templates/edit_format.tpl
index f4a62fc..2d1c603 100644
--- a/templates/edit_format.tpl
+++ b/templates/edit_format.tpl
@@ -47,6 +47,7 @@
"
/> {$plugin.edit_label}</label>
{if $plugin.plugin_guid == "tikiwiki"}
+ {assign var=format_options value=true}
&nbsp;&nbsp;
{if $gBitUser->hasPermission( 'p_liberty_enter_html' )}
<label><input type="checkbox" name="preferences[content_enter_html]" value="y" id="html" {if $gContent->mPrefs.content_enter_html}checked="checked" {/if}/> {tr}Allow HTML{/tr}</label>
@@ -66,10 +67,10 @@
</div>
{/capture}
-{if $nb > 2}
+{if $nb > 2 or $format_options}
{$capture_format}
{else}
<input type="hidden" name="{$format_guid_variable|default:"format_guid"}" value="{$formatplugins[0].guid}" />
{/if}
-
+
{/strip}