From 4193b069748f4da94cbb16721fb9a280a29d7c36 Mon Sep 17 00:00:00 2001 From: wjames5 Date: Tue, 15 Sep 2009 14:27:39 +0000 Subject: if we have a single format in the liberty hash use it - this lets us get the meta data so we can let user know the format type in effect, otherwise use default. --- templates/edit_format.tpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/edit_format.tpl b/templates/edit_format.tpl index f10cb4e..8e9d705 100644 --- a/templates/edit_format.tpl +++ b/templates/edit_format.tpl @@ -87,7 +87,13 @@ {/if} {else} - + {* if there was one format in the liberty plugins hash then use it and display a label so user knows what format is being used, otherwise use default and hide it*} + {if $numformat eq 1} +
+ {formlabel label="Content Format: `$plugin.edit_label`"} +
+ {/if} + {/if} {/strip} -- cgit v1.3