diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-11-11 10:34:47 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-11-11 10:34:47 +0000 |
| commit | 512150ecf00caf4529b52110edbdf335a33b0ead (patch) | |
| tree | 3b0796d5361575b9a7f4863c73de1d55022f72bc /templates/admin_themes_menus.tpl | |
| parent | 7ca213f398aa59996219de4e5a1dbfb3cb728098 (diff) | |
| download | themes-512150ecf00caf4529b52110edbdf335a33b0ead.tar.gz themes-512150ecf00caf4529b52110edbdf335a33b0ead.tar.bz2 themes-512150ecf00caf4529b52110edbdf335a33b0ead.zip | |
add option to enhance dropdown menu with simple javascript to make it easier to navigate
Diffstat (limited to 'templates/admin_themes_menus.tpl')
| -rw-r--r-- | templates/admin_themes_menus.tpl | 63 |
1 files changed, 36 insertions, 27 deletions
diff --git a/templates/admin_themes_menus.tpl b/templates/admin_themes_menus.tpl index 2fcd6c5..ff7f685 100644 --- a/templates/admin_themes_menus.tpl +++ b/templates/admin_themes_menus.tpl @@ -1,43 +1,52 @@ -{*literal} -<script type="text/javascript">//<![CDATA[ - function initDragDrop() { - var list = $( "menusorter" ); - DragDrop.makeListContainer( list, "menu_sort" ); -// list.onDragOver = function() { this.style["background"] = "#feb"; }; -// list.onDragOut = function() {this.style["background"] = "none"; }; - }; -//]]></script> -{/literal*} {strip} - <div class="admin themes"> <div class="header"> <h1> {tr}Active Menus{/tr}</h1> </div> <div class="body"> - {form legend="Menu Settings"} - {foreach from=$formMenuSettings key=feature item=output} + {form} + {legend legend="Menu Settings"} + {foreach from=$formMenuSettings key=feature item=output} + <div class="row"> + {formlabel label=`$output.label` for=$feature} + {forminput} + {html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} + {formhelp hash=$output} + {/forminput} + </div> + {/foreach} + <div class="row"> - {formlabel label=`$output.label` for=$feature} + {formlabel label="Menu Title" for="site_menu_title"} {forminput} - {html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} - {formhelp hash=$output} + <input size="40" type="text" name="site_menu_title" id="site_menu_title" value="{$gBitSystem->getConfig('site_menu_title')|escape}" /> + {formhelp note="Override the default home page link name in the top menu bar."} {/forminput} </div> - {/foreach} - <div class="row"> - {formlabel label="Menu Title" for="site_menu_title"} - {forminput} - <input size="40" type="text" name="site_menu_title" id="site_menu_title" value="{$gBitSystem->getConfig('site_menu_title')|escape}" /> - {formhelp note="Override the default home page link name in the top menu bar."} - {/forminput} - </div> + <div class="row submit"> + <input type="submit" name="menu_settings" value="{tr}Change preferences{/tr}" /> + </div> + {/legend} - <div class="row submit"> - <input type="submit" name="menu_settings" value="{tr}Change preferences{/tr}" /> - </div> + {if $gBitSystem->isFeatureActive( 'site_top_bar' ) && $gBitSystem->isFeatureActive( 'site_top_bar_dropdown' )} + {legend legend="Menu Javascript Settings"} + {foreach from=$formMenuJsSettings key=feature item=output} + <div class="row"> + {formlabel label=`$output.label` for=$feature} + {forminput} + {html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} + {formhelp hash=$output} + {/forminput} + </div> + {/foreach} + + <div class="row submit"> + <input type="submit" name="menu_js_settings" value="{tr}Change preferences{/tr}" /> + </div> + {/legend} + {/if} {/form} {if $gBitSystem->isFeatureActive( 'site_top_bar' )} |
