blob: 831be91255b99befadf5482d41a24a55d4506a08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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'));
|