summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2006-12-06 17:02:53 +0000
committerwjames5 <will@tekimaki.com>2006-12-06 17:02:53 +0000
commita3eaeae3d145945542c02e8b669c962b5df9c3dd (patch)
treea631142f5dd7c8d3ed3b4480d4bcc97437c99e9c /templates
parent88a0921567a72a54f54f1d6c1533fa027cd4ceab (diff)
downloadnexus-a3eaeae3d145945542c02e8b669c962b5df9c3dd.tar.gz
nexus-a3eaeae3d145945542c02e8b669c962b5df9c3dd.tar.bz2
nexus-a3eaeae3d145945542c02e8b669c962b5df9c3dd.zip
makes horz suckerfish top menu options appear at right time
Diffstat (limited to 'templates')
-rw-r--r--templates/menus.tpl7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/menus.tpl b/templates/menus.tpl
index 3d83900..ce2e416 100644
--- a/templates/menus.tpl
+++ b/templates/menus.tpl
@@ -56,12 +56,7 @@
<br />
<select name="type_{$plugin.plugin_guid}" id="type_{$plugin.plugin_guid}">
{foreach from=$plugin.menu_types key=type item=menu_type}
- {if $type eq hor and $use_custom_top_bar and !$editMenu.menu_type eq 'hor'}
- {assign var=has_horizontal_menu value=1}
- <option value="">{tr}Only one horizontal menu can exist.{/tr}</option>
- {else}
<option value="{$type}"{if $type eq $editMenu.menu_type} selected="selected"{/if}>{$menu_type.label}</option>
- {/if}
{/foreach}
</select>
@@ -98,7 +93,7 @@
</div>
{/form}
- {if $has_horizontal_menu}
+ {if $use_custom_top_bar and $editMenu.menu_type eq 'hor'}
{form legend="Top Bar Menu Position"}
<div class="row">
{formlabel label="Position" for="nexus_top_bar"}