-
{foreach from=$errors item=error}
- {$error} {/foreach}
-
{foreach from=$infos item=info}
- {$info} {/foreach}
-
{foreach from=$warnings item=warning}
- {$warning} {/foreach}
{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}