elgg_echo("expages:$page"), 'url' => "pg/admin/site/expages?type=$page", 'selected' => $page == $type, ); } echo elgg_view('navigation/tabs', array('tabs' => $tabs)); return true; /** * Tab navigation * * @uses string $vars['type'] horizontal || vertical - Defaults to horizontal * @uses string $vars['class'] Additional class to add to ul * @uses array $vars['tabs'] A multi-dimensional array of tab entries in the format array( * 'title' => string, // Title of link * 'url' => string, // URL for the link * 'class' => string // Class of the li element * 'id' => string, // ID of the li element * 'selected' => bool // if this li element is currently selected * 'url_class' => string, // Class to pass to the link * 'url_id' => string, // ID to pass to the link * ) */ ?>