aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/index.php2
-rw-r--r--mod/messages/read.php2
-rw-r--r--mod/messages/send.php2
-rw-r--r--mod/messages/sent.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/messages/index.php b/mod/messages/index.php
index e5124a71a..97c1cfff4 100644
--- a/mod/messages/index.php
+++ b/mod/messages/index.php
@@ -45,7 +45,7 @@ $area2 .= elgg_view("messages/forms/view",array('entity' => $messages, 'page_vie
//$area3 = elgg_view("messages/menu_options", array('context' => 'inbox'));
// format
-$body = elgg_view_layout("one_column_with_sidebar",'',$area2);
+$body = elgg_view_layout("one_column_with_sidebar", $area2);
// Draw page
diff --git a/mod/messages/read.php b/mod/messages/read.php
index 2c3c5af50..9e84a3e67 100644
--- a/mod/messages/read.php
+++ b/mod/messages/read.php
@@ -52,7 +52,7 @@ $content = elgg_view("messages/messages",array(
$sidebar = elgg_view("messages/menu_options");
-$body = elgg_view_layout("one_column_with_sidebar", $sidebar, $content);
+$body = elgg_view_layout("one_column_with_sidebar", $content, $sidebar);
// Display page
page_draw(sprintf(elgg_echo('messages:message')),$body); \ No newline at end of file
diff --git a/mod/messages/send.php b/mod/messages/send.php
index ecab60073..f918eec5c 100644
--- a/mod/messages/send.php
+++ b/mod/messages/send.php
@@ -36,7 +36,7 @@ $area2 .= elgg_view("messages/forms/send",array('friends' => $friends));
$area3 = elgg_view("messages/menu_options");
// Format
-$body = elgg_view_layout("one_column_with_sidebar", $area3, $area2);
+$body = elgg_view_layout("one_column_with_sidebar", $area2, $area3);
// Draw page
page_draw(sprintf(elgg_echo('messages:send'),$page_owner->name),$body); \ No newline at end of file
diff --git a/mod/messages/sent.php b/mod/messages/sent.php
index 750e932e7..4f432b47f 100644
--- a/mod/messages/sent.php
+++ b/mod/messages/sent.php
@@ -37,7 +37,7 @@ $area2 .= "<div class='content_header_options'><a class='action_button' href='{$
$area2 .= elgg_view("messages/forms/view",array('entity' => $messages, 'page_view' => "sent", 'limit' => $limit, 'offset' => $offset));
// Format
-$body = elgg_view_layout("one_column_with_sidebar",'',$area2);
+$body = elgg_view_layout("one_column_with_sidebar", $area2);
// Draw page
page_draw(sprintf(elgg_echo('messages:sentMessages'),$page_owner->name),$body); \ No newline at end of file