diff options
Diffstat (limited to 'mod/externalpages/views/default/expages/menu.php')
-rw-r--r-- | mod/externalpages/views/default/expages/menu.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mod/externalpages/views/default/expages/menu.php b/mod/externalpages/views/default/expages/menu.php new file mode 100644 index 000000000..831be9125 --- /dev/null +++ b/mod/externalpages/views/default/expages/menu.php @@ -0,0 +1,23 @@ +<?php +/** + * External pages menu + * + * @uses $vars['type'] + */ + +$type = $vars['type']; + +//set the url +$url = $vars['url'] . "admin/site/expages?type="; + +$pages = array('about', 'terms', 'privacy'); +$tabs = array(); +foreach ($pages as $page) { + $tabs[] = array( + 'title' => elgg_echo("expages:$page"), + 'url' => "admin/appearance/expages?type=$page", + 'selected' => $page == $type, + ); +} + +echo elgg_view('navigation/tabs', array('tabs' => $tabs, 'class' => 'elgg-form-settings')); |