first commit

This commit is contained in:
alazhar
2020-01-02 22:20:31 +07:00
commit 10eb3340ad
5753 changed files with 631345 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
/**
* @version $Id: formatter.php 4585 2012-10-27 01:44:54Z btowles $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
if (!class_exists('RokNavMenuDefaultFormatter')) {
class RokNavMenuDefaultFormatter extends AbstractJoomlaRokMenuFormatter {
function format_subnode(&$node) {
if ($node->getId() == $this->current_node) {
$node->setCssId('current');
}
if (in_array($node->getId(), array_keys($this->active_branch))){
$node->addListItemClass('active');
}
}
}
}