aboutsummaryrefslogtreecommitdiff
path: root/mod/test/views/default/menu.php
blob: e0f231bfc390c89301cdbd4bedcdf930a304b0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<table width="100%" class="menubar">
		<tr>
			<td>
				<?php

				$menu = get_register('menu');
				if (is_array($menu) && sizeof($menu) > 0) {
					foreach($menu as $item) {
						if (sizeof($item->children) > 0 ) {
							foreach($item->children as $subitem) {
?>
	<a href="<?php echo $item->value ?>"><?php echo $item->name; ?></a> |
<?php
							}
						}
					}
				}
				
				?>
			</td>
		</tr>
	</table>