PHP Classes

File: templates/manual-menu.tpl

Recommend this page to a friend!
  Classes of Vinicius Marques de Souza   PHP User Guide   templates/manual-menu.tpl   Download  
File: templates/manual-menu.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP User Guide
Display pages of a user guide using templates
Author: By
Last change:
Date: 4 months ago
Size: 310 bytes
 

Contents

Class file image Download
{foreach $menu as $mname => $mdata} <ul class="menu"> <li><a href="index.php?p={$mdata.page}">{$mdata.name}</a> {if isset($mdata.sub)} <ul class="menu"> {foreach $mdata.sub as $mname2 => $mdata2} <li><a href="index.php?p={$mdata2.page}">{$mdata2.name}</a></li> {/foreach} </ul> {/if} </li> </ul> {/foreach}