aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/navigation/site.php
blob: 90bb8ff469d06aee00ce62ea7cb0e0bbacc7ffb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php 

$params = array();
$params['menu'] = array();
$params['menu']['default'] = array();
for ($i=1; $i<=5; $i++) {
	$params['menu']['default'][] = new ElggMenuItem($i, "Page $i", "#");
}
$params['menu']['default'][2]->setSelected(true);
?>

<div class="elgg-page-header">
	<div class="elgg-inner">
	<?php 
		echo elgg_view('navigation/menu/site', $params); 
	?>
	</div>
</div>