aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/plugins.php2
-rw-r--r--admin/site.php2
-rw-r--r--admin/statistics.php2
-rw-r--r--admin/user.php6
4 files changed, 4 insertions, 8 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index ba6a3bf6b..358c42ec5 100644
--- a/admin/plugins.php
+++ b/admin/plugins.php
@@ -23,6 +23,6 @@ $vars = array('installed_plugins' => get_installed_plugins());
$title = elgg_view_title(elgg_echo('admin:plugins'));
$main_box = elgg_view("admin/plugins", $vars);
-$content = elgg_view_layout("one_column_with_sidebar", '', $title . $main_box);
+$content = elgg_view_layout("one_column_with_sidebar", $title . $main_box);
page_draw(elgg_echo('admin:plugins'), $content);
diff --git a/admin/site.php b/admin/site.php
index ad05ea312..aed952318 100644
--- a/admin/site.php
+++ b/admin/site.php
@@ -18,6 +18,6 @@ admin_gatekeeper();
$title = elgg_view_title(elgg_echo('admin:site'));
$main_box = elgg_view("admin/site");
-$content = elgg_view_layout("one_column_with_sidebar", '', $title . $main_box);
+$content = elgg_view_layout("one_column_with_sidebar", $title . $main_box);
page_draw(elgg_echo("admin:site"), $content); \ No newline at end of file
diff --git a/admin/statistics.php b/admin/statistics.php
index a267937f8..9823995b5 100644
--- a/admin/statistics.php
+++ b/admin/statistics.php
@@ -18,6 +18,6 @@ admin_gatekeeper();
// Display main admin menu
$title = elgg_view_title(elgg_echo('admin:statistics'));
$main_box = elgg_view("admin/statistics");
-$content = elgg_view_layout("one_column_with_sidebar", '', $title . $main_box);
+$content = elgg_view_layout("one_column_with_sidebar", $title . $main_box);
page_draw(elgg_echo("admin:statistics"), $content); \ No newline at end of file
diff --git a/admin/user.php b/admin/user.php
index 16163e448..f47c18b4c 100644
--- a/admin/user.php
+++ b/admin/user.php
@@ -31,8 +31,4 @@ set_context('admin');
// Display main admin menu
page_draw(elgg_echo("admin:user"),
- elgg_view_layout("one_column_with_sidebar",
- '',
- $title . elgg_view("admin/user") . $result
- )
-);
+ elgg_view_layout("one_column_with_sidebar", $title . elgg_view("admin/user") . $result));