Einchecken des OnlineStands
This commit is contained in:
26
templates/svjf/tpl_navi_main.php
Normal file
26
templates/svjf/tpl_navi_main.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<ul>
|
||||
<?php
|
||||
$param = ( is_null( $this -> _param ) )
|
||||
? 0
|
||||
: $this -> _param;
|
||||
|
||||
foreach ( $this -> _data[ $param ] as $nav_array )
|
||||
{
|
||||
?><li><a<?php echo ( in_array( $nav_array[ 'svjf_navId' ] , $this -> _navpath ) ) ? ' class="active"' : ''; ?> href="<?php echo $nav_array[ 'svjf_navTarget' ]; ?>"><?php echo $nav_array[ 'svjf_navName' ]; ?></a>
|
||||
<?php
|
||||
if ( isset ( $this -> _data[ $nav_array[ 'svjf_navId' ] ] ) )
|
||||
{
|
||||
$navi_main = new viewClass( );
|
||||
$navi_main -> setPrefix ( $this -> _prefix );
|
||||
$navi_main -> setPathTpl ( PATH_WEBSITE_TPL );
|
||||
$navi_main -> setTemplate ( 'navi_main' );
|
||||
$navi_main -> setEditable ( $this -> _editable );
|
||||
$navi_main -> setNavpath ( $this -> _navpath );
|
||||
$navi_main -> setData ( $this -> _data , $nav_array[ 'svjf_navId' ] );
|
||||
echo $navi_main -> output ( );
|
||||
}
|
||||
?>
|
||||
</li><?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user