aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/navigation/default.php
blob: bfd26162f3577d3b48abdf060d1363eb6cdf7ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?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);

echo elgg_view('navigation/menu/default', $params);