diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 09:39:34 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 09:39:34 +0000 |
commit | ff4779ddb3ef005553187e4486d4d775220d8b8f (patch) | |
tree | 7765c79ad2cffd028dd5da9d1db68ca176faf9a3 /admin | |
parent | 9bb993778bc7a0c6f17673e509ed147202e69ee7 (diff) | |
download | elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.gz elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.bz2 |
Updated new page canvases (and calls to elgg_view_layout) so that empty vars are not required.
git-svn-id: http://code.elgg.org/elgg/trunk@5316 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin')
-rw-r--r-- | admin/plugins.php | 2 | ||||
-rw-r--r-- | admin/site.php | 2 | ||||
-rw-r--r-- | admin/statistics.php | 2 | ||||
-rw-r--r-- | admin/user.php | 6 |
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)); |