getTabs()) && is_array($tabs)){
foreach($tabs as $name =>$tab) {
if ($tab['href'][0] != '/')
$tab['href'] = ROOT_PATH . 'scp/' . $tab['href'];
echo sprintf('
%s',
isset($tab['active']) ? 'active':'inactive',
@$tab['class'] ?: '',
$tab['href'],$tab['desc']);
if(!isset($tab['active']) && ($subnav=$nav->getSubMenu($name))){
echo "\n";
foreach($subnav as $k => $item) {
if (isset($item['id']) && !($id=$item['id']))
$id="nav$k";
/* Anpassung Anfang: do not change href beginning with http to support applications
if ($item['href'][0] != '/')
*/
if ($item['href'][0] != '/' && substr($item['href'], 0, 4) != 'http')
// Anpassung Ende: do not change href beginning with http to support applications
$item['href'] = ROOT_PATH . 'scp/' . $item['href'];
echo sprintf(
'- %s
',
$item['iconclass'],
$item['href'], $item['title'] ?? null,
$id ?? null, $item['desc']);
}
echo "\n
\n";
}
echo "\n\n";
}
} ?>