From ff21dfeef43b37009d28945a1924e4bd9b2bc56d Mon Sep 17 00:00:00 2001 From: pete Date: Thu, 4 Mar 2010 09:50:43 +0000 Subject: Merged missing Messages interface modifications git-svn-id: http://code.elgg.org/elgg/trunk@5276 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/graphics/icon_notifications_site.gif | Bin 929 -> 456 bytes mod/messages/sent.php | 3 -- .../views/default/messages/forms/reply.php | 44 +++++++++++++++++++++ mod/messages/views/default/messages/messages.php | 8 +--- mod/messages/views/default/messages/topbar.php | 10 ++--- mod/messages/views/default/messages/view.php | 2 +- 6 files changed, 49 insertions(+), 18 deletions(-) create mode 100644 mod/messages/views/default/messages/forms/reply.php (limited to 'mod/messages') diff --git a/mod/messages/graphics/icon_notifications_site.gif b/mod/messages/graphics/icon_notifications_site.gif index ca243a116..d12ca08b1 100644 Binary files a/mod/messages/graphics/icon_notifications_site.gif and b/mod/messages/graphics/icon_notifications_site.gif differ diff --git a/mod/messages/sent.php b/mod/messages/sent.php index 0d68899b2..750e932e7 100644 --- a/mod/messages/sent.php +++ b/mod/messages/sent.php @@ -36,9 +36,6 @@ $area2 .= "
$messages, 'page_view' => "sent", 'limit' => $limit, 'offset' => $offset)); -// Sidebar menu options -//$area3 = elgg_view("messages/menu_options", array('context' => 'sent')); - // Format $body = elgg_view_layout("one_column_with_sidebar",'',$area2); diff --git a/mod/messages/views/default/messages/forms/reply.php b/mod/messages/views/default/messages/forms/reply.php new file mode 100644 index 000000000..c717f9b13 --- /dev/null +++ b/mod/messages/views/default/messages/forms/reply.php @@ -0,0 +1,44 @@ +title; + if (strncmp($reply_title, "RE:", 3) != 0) { + $reply_title = "RE: " . $reply_title; + } +?> + +
+ + + +

+

+ +

+ getGUID() . "' />"; + //pass along the owner of the message being replied to + echo "fromId . "' />"; + + ?> + " /> +

+ +
+ + " . elgg_echo("messages:replying") . ""; + echo $vars['entity']->description; + + } + ?> diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php index 2e179b00f..938c3a77c 100644 --- a/mod/messages/views/default/messages/messages.php +++ b/mod/messages/views/default/messages/messages.php @@ -44,14 +44,8 @@ if (isloggedin()) echo elgg_view('page_elements/breadcrumbs', array( 'breadcrumb_root_url' => $url, 'breadcrumb_root_text' => $breadcrumb_root_text, -/* - 'breadcrumb_level1_url' => $url, - 'breadcrumb_level1_text' => $vars['entity']->title, - 'breadcrumb_level2_url' => $url, - 'breadcrumb_level2_text' => $vars['entity']->title, -*/ 'breadcrumb_currentpage' => $vars['entity']->title - )); + )); ?>