aboutsummaryrefslogtreecommitdiff
path: root/pages/admin.php
blob: 33d44b6c43ca0346a22f20eee6e673492ad6d488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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("tidypics/admin/tidypics", array('tab' => $tab));
	
	page_draw(elgg_echo('tidypics:administration'), elgg_view_layout("two_column_left_sidebar", '', $body));

?>