static function renderSubmenu($submenu, &$params) { $prev = $params->get('class_prefix'); $params->set('class_prefix', 'submenu'); JMobileMenuHelper::_renderMenu($submenu, $params); $params->set('class_prefix', $prev); }
break; case 4: $text = $img . '<br />' . $text; break; case 5: $text = $text . '<br />' . $img; break; } ?> <li<?php echo $is_active ? ' class="current"' : ''; ?> > <?php echo $outline[0] . $text . $outline[1]; ?> </li> <?php if ($is_active && count($submenu)) { JMobileMenuHelper::renderSubmenu($submenu, $params); } } ?> </ul> <?php if (($is_vertical xor $is_submenu) || !$is_vertical && !$is_submenu && !$params->get('has_submenu')) { ?> </div> <div class="clear"></div> <?php }