aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/admin.php24
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