aboutsummaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-17 00:53:35 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-17 00:53:35 +0000
commit4928e46d6b93ccd1256117e08283341bdc224791 (patch)
tree913d615840d0901832f0b926ff31c01ab61b49e0 /admin.php
parent0afd1a3ce8392863a89932b7525d58be8c7f5135 (diff)
downloadelgg-4928e46d6b93ccd1256117e08283341bdc224791.tar.gz
elgg-4928e46d6b93ccd1256117e08283341bdc224791.tar.bz2
tabbed interface for admin now
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));