Location: PHPKode > projects > OpenNitro > trunk/Nitro/Defaults/Templates/BackOfficeMenu.tpl
<script type="text/javascript" src="./GetObject.php?Nitro=scripts/menu.js"></script>
<table cellpadding="0" cellspacing="0" border="0">
{foreach from=$Menu item=MenuItem}
	<tr>
		<td><div style="overflow: hidden;">
			{if $MenuItem.Children ne ""}<br /><img id="MinPlus{$MenuItem.ID}" src="./images/min-v2.gif" width="9" height="9" border="0" style="cursor: pointer;" onclick="switchMenu('{$MenuItem.ID}'); return false;" />{else}-{/if} <a href="{if $MenuItem.Link}{$MenuItem.Link}{else}#{/if}" {if $MenuItem.Target}target="{$MenuItem.Target}" {/if}class="Menu" id="MainMenu{$MenuItem.ID}" title="{$MenuItem.Description}" style="color: #000000"{if $MenuItem.Children ne "" && !$MenuItem.Link} onclick="switchMenu('{$MenuItem.ID}'); return false;"{/if}><nobr>{$MenuItem.Name}</nobr></a>
		</div></td>
	</tr>
	{if $MenuItem.Children ne ""}
		<tr>
			<td><div id="MainMenuChild{$MenuItem.ID}">
			{foreach from=$MenuItem.Children item=MenuItemC}
				<div style="overflow: hidden;">
					&nbsp;&nbsp;- <a href="{$MenuItemC.Link}{if $smarty.get.XMLDEBUG}&XMLDEBUG=1{/if}" {if $MenuItemC.Target}target="{$MenuItemC.Target}" {/if}class="Menu" ID="MainMenu{$MenuItemC.ID}" title="{$MenuItemC.Description}" style="color: #000000;"><nobr>{$MenuItemC.Name}</nobr></a>
				</div>
			{/foreach}
			</div></td>
		</tr>
	{/if}
{/foreach}
</table>
<hr width="80%">
{$Form}
Return current item: OpenNitro