summaryrefslogtreecommitdiff
path: root/templates/admin_themes_menus.tpl
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-02-06 16:05:14 +0000
committerChristian Fowler <spider@viovio.com>2006-02-06 16:05:14 +0000
commit0c495b82d264d7700d3465b2a604e3400efab692 (patch)
treea882e4ee5cf47e050641f29c38b3c099566286a0 /templates/admin_themes_menus.tpl
parentd6a613b162d379f08b72edb48d3f2bf57ff19fc3 (diff)
downloadthemes-0c495b82d264d7700d3465b2a604e3400efab692.tar.gz
themes-0c495b82d264d7700d3465b2a604e3400efab692.tar.bz2
themes-0c495b82d264d7700d3465b2a604e3400efab692.zip
allow any auto-registered menu to be turned off
Diffstat (limited to 'templates/admin_themes_menus.tpl')
-rw-r--r--templates/admin_themes_menus.tpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/admin_themes_menus.tpl b/templates/admin_themes_menus.tpl
new file mode 100644
index 0000000..74c10f1
--- /dev/null
+++ b/templates/admin_themes_menus.tpl
@@ -0,0 +1,31 @@
+{strip}
+
+<div class="admin themes">
+ <div class="header">
+ <h1> {tr}Active Menus{/tr}</h1>
+ </div>
+
+ <div class="body">
+
+ {form legend="Select menus that are active in the top bar."}
+ <div class="row">
+ {formlabel label="Package Menus" for=""}
+ {forminput}
+
+<ul class="data">
+{foreach from=$gBitSystem->mAppMenu key=pkgName item=menu}
+<li class="item"><input type="checkbox" name="menu_{$pkgName}" {if $gBitSystem->getPreference("menu_`$pkgName`",'y')=='y'}checked="checked"{/if}/>{$menu.title}</li>
+{/foreach}
+</ul>
+ {/forminput}
+ </div>
+
+ <div class="row submit">
+ <input type="submit" name="update_menus" value="{tr}Update Menus{/tr}" />
+ </div>
+ {/form}
+
+ </div> <!-- end .body -->
+</div> <!-- end .themes -->
+
+{/strip}