diff options
Diffstat (limited to 'mod/developers/views/default/theme_preview/navigation/extras.php')
-rw-r--r-- | mod/developers/views/default/theme_preview/navigation/extras.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/developers/views/default/theme_preview/navigation/extras.php b/mod/developers/views/default/theme_preview/navigation/extras.php new file mode 100644 index 000000000..6982cf57d --- /dev/null +++ b/mod/developers/views/default/theme_preview/navigation/extras.php @@ -0,0 +1,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", "$url#");
+}
+$params['class'] = 'elgg-menu-extras';
+
+
+?>
+
+<div class="elgg-sidebar">
+<?php
+ echo elgg_view('navigation/menu/default', $params);
+?>
+</div>
\ No newline at end of file |