{footer_script} jQuery.fn.lightAccordion = function(options) { var settings = $.extend({ header: 'dt', content: 'dd', active: 0 }, options); return this.each(function() { var self = jQuery(this); var contents = self.find(settings.content), headers = self.find(settings.header); contents.not(contents[settings.active]).hide(); self.on('click', settings.header, function() { var content = jQuery(this).next(settings.content); content.slideDown(); contents.not(content).slideUp(); }); }); }; $('#menubar').lightAccordion({ active: {$ACTIVE_MENU} }); {/footer_script}
{if isset($TABSHEET)} {$TABSHEET} {/if} {if isset($U_HELP)} {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {/if} {if isset($errors)}
{/if} {if isset($infos)}
{/if} {if isset($warnings)}
{/if} {$ADMIN_CONTENT}