Einchecken des OnlineStands
This commit is contained in:
23
administrator/templates/cs_l1/tpl_navi.php
Normal file
23
administrator/templates/cs_l1/tpl_navi.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<ul>
|
||||
<?php
|
||||
$param = ( is_null( $this -> _param ) )
|
||||
? 0
|
||||
: $this -> _param;
|
||||
|
||||
foreach ( $this -> _data[ $param ] as $nav_array )
|
||||
{
|
||||
extract ( $nav_array );
|
||||
?><li><a <?php echo ( in_array( ${$this -> _prefix . '_navId'} , $this -> _navpath ) ) ? ' class="active"' : ''; ?> href="<?php echo ( ${$this -> _prefix . '_navType'} === 'html' ) ? ${$this -> _prefix . '_navTarget'} : 'javascript:void( 0 );'; ?>"<?php echo ( ${$this -> _prefix . '_navType'} === 'js' ) ? 'onclick="' . ${$this -> _prefix . '_navTarget'} . ';"' : ''; ?>><?php echo ${$this -> _prefix . '_navName'}; ?></a>
|
||||
<?php
|
||||
if ( isset ( $this -> _data[ ${$this -> _prefix . '_navId'} ] ) )
|
||||
{
|
||||
$navi_main = clone( $this );
|
||||
$navi_main -> setTemplate ( 'navi' );
|
||||
$navi_main -> setData ( $this -> _data , ${$this -> _prefix . '_navId'} );
|
||||
echo $navi_main -> output ( );
|
||||
}
|
||||
?>
|
||||
</li><?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user