summaryrefslogtreecommitdiff
path: root/templates/menus.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-07-25 20:02:18 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-07-25 20:02:18 +0000
commit8e13f91c98f92fa2a523cbbd4e8d874ba3d21958 (patch)
tree123b066a7651a71ec980d1e3b2933cc8d1ce0a38 /templates/menus.tpl
parentb481bdf66ce3f2d9f403a5adc808a5ca341950d2 (diff)
downloadnexus-8e13f91c98f92fa2a523cbbd4e8d874ba3d21958.tar.gz
nexus-8e13f91c98f92fa2a523cbbd4e8d874ba3d21958.tar.bz2
nexus-8e13f91c98f92fa2a523cbbd4e8d874ba3d21958.zip
Merge recent changes R1 1.0.2 beta --> HEAD
Diffstat (limited to 'templates/menus.tpl')
-rw-r--r--templates/menus.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/menus.tpl b/templates/menus.tpl
index 89c8b76..f67b9f6 100644
--- a/templates/menus.tpl
+++ b/templates/menus.tpl
@@ -56,7 +56,11 @@
&nbsp;
<select name="type_{$plugin.plugin_guid}" id="type_{$plugin.plugin_guid}">
{foreach from=$plugin.menu_types key=type item=menu_type}
- <option value="{$type}"{if $type eq $editMenu.type} selected="selected"{/if}>{$menu_type.label}</option>
+ {if $type == hor and $use_custom_top_bar}
+ <option value="">{tr}Only one horizontal menu can exist.{/tr}</option>
+ {else}
+ <option value="{$type}"{if $type eq $editMenu.type} selected="selected"{/if}>{$menu_type.label}</option>
+ {/if}
{/foreach}
</select>
{formhelp note=$plugin.plugin_description}