aboutsummaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin.php b/admin.php
index 23a3c22f3..e881c5ecd 100644
--- a/admin.php
+++ b/admin.php
@@ -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));