aboutsummaryrefslogtreecommitdiff
path: root/pages/admin.php
blob: d3e81035164b11f8038cf85f2d01d777fe811cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
	/******************************************************************
	 *
	 *   Tidypics Admin Settings 
	 *
	 *******************************************************************/

	include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";

	global $CONFIG;

	admin_gatekeeper();
	set_context('admin');
	
	$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));

?>