diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-17 00:53:35 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-17 00:53:35 +0000 |
commit | 4928e46d6b93ccd1256117e08283341bdc224791 (patch) | |
tree | 913d615840d0901832f0b926ff31c01ab61b49e0 /admin.php | |
parent | 0afd1a3ce8392863a89932b7525d58be8c7f5135 (diff) | |
download | elgg-4928e46d6b93ccd1256117e08283341bdc224791.tar.gz elgg-4928e46d6b93ccd1256117e08283341bdc224791.tar.bz2 |
tabbed interface for admin now
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));
|