// Make sure only valid admin users can see this
admin_gatekeeper();
-// Set admin user for user block
-//set_page_owner($_SESSION['guid']);
-
// Regenerate plugin list
regenerate_plugin_list();
$main_box = elgg_view("admin/plugins", $vars);
$content = elgg_view_layout("two_column_left_sidebar", '', $title . $main_box);
-page_draw(elgg_echo('admin:plugins'), $content);
\ No newline at end of file
+page_draw(elgg_echo('admin:plugins'), $content);
admin_gatekeeper();
set_context('admin');
-// Set admin user for user block
-set_page_owner($_SESSION['guid']);
-
// system diagnostics
$body = elgg_view_title(elgg_echo('diagnostics'));
$body .= elgg_view('page_elements/contentwrapper', array('body' =>
admin_gatekeeper();
set_context('admin');
- // Set admin user for user block
- set_page_owner($_SESSION['guid']);
-
$limit = get_input('limit', 40);
$offset = get_input('offset');
// Display main admin menu
page_draw(elgg_echo('logbrowser'),elgg_view_layout("two_column_left_sidebar", '', $title . $form . $result));
-?>
\ No newline at end of file
+?>