summaryrefslogtreecommitdiff
path: root/templates/admin_themes_menus.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-09-12 20:02:09 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-09-12 20:02:09 +0000
commit11f1de386cd77d93d70888ba7c3d67a580d0de3c (patch)
treef711dfb5bb8de60347bc857bf2527b175f1893a6 /templates/admin_themes_menus.tpl
parentf69b0089bb417bdecbf1c3a655e5bba0d67e92fe (diff)
downloadthemes-11f1de386cd77d93d70888ba7c3d67a580d0de3c.tar.gz
themes-11f1de386cd77d93d70888ba7c3d67a580d0de3c.tar.bz2
themes-11f1de386cd77d93d70888ba7c3d67a580d0de3c.zip
clean up registerAppMenu API, clean up a lot of the menu code, don't assign appMenu to templates but use $gBitSystem->mAppMenu directly
Diffstat (limited to 'templates/admin_themes_menus.tpl')
-rw-r--r--templates/admin_themes_menus.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/admin_themes_menus.tpl b/templates/admin_themes_menus.tpl
index d10ad14..8246a07 100644
--- a/templates/admin_themes_menus.tpl
+++ b/templates/admin_themes_menus.tpl
@@ -40,8 +40,13 @@
{formlabel label="Package Menus" for=""}
{forminput}
{foreach from=$gBitSystem->mAppMenu key=pkgName item=menu}
- <label><input type="checkbox" name="menu_{$pkgName}" {if !$menu.disabled}checked="checked"{/if}/> {$menu.title|escape}</label><br />
+ <label>
+ <input type="checkbox" name="menu_{$pkgName}" {if !$menu.is_disabled}checked="checked"{/if}/>
+ <input type="text" name="{$pkgName}_menu_text" value="{$menu.menu_title|escape}"/>
+ </label>
+ <br />
{/foreach}
+ {formhelp note="Here you can select what menus to display and what title they should have."}
{/forminput}
</div>