@@ -297,8 +297,13 @@ class commonModel extends model
|
||||
/* Is the currentModule active? */
|
||||
if($currentModule == $subModule) $active = 'active';
|
||||
if($module == $currentModule and ($method == $currentMethod or strpos($alias, $currentMethod) !== false)) $active = 'active';
|
||||
|
||||
echo "<li class='$float $active'>" . html::a(helper::createLink($module, $method, $vars), $label, $target) . "</li>\n";
|
||||
if($method == "byQuery")
|
||||
{
|
||||
echo "<li class='$float $active'>" . html::a('#',$label,$target,"id='$method'") . "</li>\n";
|
||||
}else
|
||||
{
|
||||
echo "<li class='$float $active'>" . html::a(helper::createLink($module, $method, $vars), $label, $target) . "</li>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user