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

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

global $CONFIG;

admin_gatekeeper();
set_context('admin');

$tab = get_input('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));