diff options
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,10 +12,12 @@ admin_gatekeeper();
set_context('admin');
set_page_owner($_SESSION['guid']);
+
+ $tab = isset($_GET['tab']) ? $_GET['tab'] : 'settings';
$body = elgg_view_title(elgg_echo('tidypics:administration'));
- $body .= elgg_view("admin/tidypics");
+ $body .= elgg_view("admin/tidypics", array('tab' => $tab));
page_draw(elgg_echo('tidypics:administration'), elgg_view_layout("two_column_left_sidebar", '', $body));
|