diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-08-22 14:01:10 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-08-22 14:01:10 +0000 |
commit | 0be4835e8be5b89780864c823afa2d76014e06db (patch) | |
tree | 53408aa4a7f5164bfa09cedabf3ca5e7c8cb2631 /pages/admin.php | |
parent | 01fc3cf102395a8eb43e507bc0eea4efca83aa2e (diff) | |
download | elgg-0be4835e8be5b89780864c823afa2d76014e06db.tar.gz elgg-0be4835e8be5b89780864c823afa2d76014e06db.tar.bz2 |
moved admin page to the new pages directory
Diffstat (limited to 'pages/admin.php')
-rw-r--r-- | pages/admin.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pages/admin.php b/pages/admin.php new file mode 100644 index 000000000..2cebc3a28 --- /dev/null +++ b/pages/admin.php @@ -0,0 +1,24 @@ +<?php
+ /******************************************************************
+ *
+ * Tidypics Admin Settings
+ *
+ *******************************************************************/
+
+ include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
+
+ global $CONFIG;
+
+ 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", array('tab' => $tab));
+
+ page_draw(elgg_echo('tidypics:administration'), elgg_view_layout("two_column_left_sidebar", '', $body));
+
+?>
\ No newline at end of file |