Abfragen des Navigationstemplates in der mod_navigation
<?php
if($this->navigationTpl == 'nav_default'){
echo '<div class="meineKLasse">';
}
?>
<nav class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<a href="<?php echo $this->request; ?>#<?php echo $this->skipId; ?>" class="invisible"><?php echo $this->skipNavigation; ?></a>
<?php echo $this->items; ?>
<a id="<?php echo $this->skipId; ?>" class="invisible">[nbsp]</a>
</nav>
<?php
if($this->navigationTpl == 'nav_default'){
echo '</div>';
}
?>
<!-- indexer::continue -->