levels as $key => $value) { $allLevels[$value->id] = $value->title; } JFactory::getDocument()->addScriptDeclaration(' var viewLevels = ' . json_encode($allLevels) . ', menuId = parseInt(' . $this->item->id . '); jQuery(document).ready(function() { jQuery(document).on("click", "input:radio[id^=\'jform_toggle_modules1\']", function (event) { jQuery(".table tr.no").hide(); }); jQuery(document).on("click", "input:radio[id^=\'jform_toggle_modules0\']", function (event) { jQuery(".table tr.no").show(); }); }); '); ?> fields = array('toggle_modules'); echo JLayoutHelper::render('joomla.edit.global', $this); ?>
id . '&tmpl=component&view=module&layout=modal'; ?> escape($module->title); ?> | escape($module->access_title); ?> | escape($module->position); ?> | menuid)) : ?> except):?> menuid > 0) : ?> menuid < 0) : ?> |