diff --git a/main/css/blue_lagoon/default.css b/main/css/blue_lagoon/default.css
index 0da0836c70..d2bf58975f 100755
--- a/main/css/blue_lagoon/default.css
+++ b/main/css/blue_lagoon/default.css
@@ -2767,6 +2767,20 @@ a.unread {
padding-right:20px;
}
+#contentPostReply{
+ width:600px;
+ margin-left:60px;
+}
+
+.contentPostReplybg{
+ width:560px;
+ height:auto;
+ padding-left:20px;
+ padding-right:20px;
+ background-image:url(../../img/content-post-reply02.jpg);
+ background-repeat:repeat-y;
+}
+
#div_content_table {
width:660px;
background-image:url(../../img/content-post-group2.jpg);
@@ -2779,7 +2793,7 @@ a.unread {
width:700px;
height:auto;
overflow:hidden;
- margin-top:20px;
+ margin-bottom:20px;
}
.message-item {
@@ -3033,12 +3047,13 @@ a.unread {
.invitation_profile_grid_item {
border:1px dotted #CCCCCC;
float:left;
- height:90px;
+ height:110px;
margin:5px;
padding:5px;
width:100px;
}
.invitation_profile_grid_element_0 { width:100px; float:left; text-align:center; margin-bottom:5px;}
+.invitation_profile_grid_element_0 img {width:50px;height:50px;border:3px solid #E6E6E6;}
.invitation_profile_grid_element_2 { width:100px; float:left; text-align:center;}
.invitation_profile_grid_element_3 { width:100px; float:left; text-align:center;}
@@ -3064,8 +3079,9 @@ a.unread {
/*LIST MEMBERS*/
.list_members_grid_container { width:100%;}
-.list_members_grid_item { width:100px; height: 125px; border:1px dotted #ccc; float:left; padding:5px; margin:8px;}
+.list_members_grid_item { width:105px; height: 150px; border:1px dotted #ccc; float:left; padding:5px; margin:8px;}
.list_members_grid_element_0 { width:100px; float:left; text-align:center; margin-bottom:5px;}
+.list_members_grid_element_0 img {width:50px;height:50px;border:3px solid #E6E6E6;}
.list_members_grid_element_2 { width:100px; float:left; text-align:center; margin-bottom:5px;}
.list_members_grid_element_3 { width:100px; float:left; text-align:center; margin-bottom:5px;}
.list_members_grid_element_5 { width:100%; text-align:center;}
@@ -3225,6 +3241,12 @@ a.unread {
overflow:hidden;
}
+#boxmyGroupMessages {
+ height:auto;
+ overflow:hidden;
+ width:700px;
+}
+
#boxmyGroupsLeft{
width:350px;
float:left;
diff --git a/main/inc/lib/group_portal_manager.lib.php b/main/inc/lib/group_portal_manager.lib.php
index 0d7b5091df..d4a265fb3c 100755
--- a/main/inc/lib/group_portal_manager.lib.php
+++ b/main/inc/lib/group_portal_manager.lib.php
@@ -865,7 +865,7 @@ class GroupPortalManager
$group_info = GroupPortalManager::get_group_data($group_id);
$picture = GroupPortalManager::get_picture_group($group_id, $group_info['picture_uri'],160,'medium_');
- $big_image = GroupPortalManager::get_picture_group($group_id, $group_info['picture_uri'],'','big_');
+ $big_image = GroupPortalManager::get_picture_group($group_id, $group_info['picture_uri'],'','big_');
$tags = GroupPortalManager::get_group_tags($group_id, true);
$members = GroupPortalManager::get_users_by_group($group_id);
$groups_by_user = GroupPortalManager::get_groups_by_user($user_id, 0);
diff --git a/main/inc/lib/message.lib.php b/main/inc/lib/message.lib.php
index 3c3b0047a5..6eea81854a 100755
--- a/main/inc/lib/message.lib.php
+++ b/main/inc/lib/message.lib.php
@@ -168,12 +168,11 @@ class MessageManager
if ($_GET['f']=='social') {
$link = '&f=social';
}
-
-
+
$message[2] = ''.GetFullUserName(($result[1])).'';;
$message[3] = ''.$result[2].'';
- $message[5] = ''.Display::return_icon('message_reply.png',get_lang('ReplyToMessage')).''.
- ' '.Display::return_icon('message_delete.png',get_lang('DeleteMessage')).'';
+ $message[5] = ''.Display::return_icon('message_reply.png',get_lang('ReplyToMessage')).''.
+ ' '.Display::return_icon('message_delete.png',get_lang('DeleteMessage')).'';
}
$message[4] = ($result[3]); //date stays the same
foreach($message as $key => $value) {
@@ -614,7 +613,7 @@ class MessageManager
$message[2] = ''.GetFullUserName($result[4]).'';
$message[3] = ''.$result[2].'';
- $message[5] = ''.Display::return_icon('message_delete.png',get_lang('DeleteMessage')).'';
+ $message[5] = ''.Display::return_icon('message_delete.png',get_lang('DeleteMessage')).'';
}
$message[4] = $result[3]; //date stays the same
foreach($message as $key => $value) {
@@ -860,13 +859,14 @@ class MessageManager
$total_topics = count($topics);
$topics_per_page = 5;
$pager = self::get_pager_for_message_group($group_id,$page,$total_topics,$topics_per_page);
- $html .= '
';
+
// topics and items
$parents = array_keys(self::get_messages_by_parent(0,$group_id,$page,$topics_per_page));
- $html .= '';
+ $html .= '
';
+ $html .= ' ';
foreach ($topics as $index => $topic) {
if (!in_array($index,$parents)) continue;
@@ -876,40 +876,38 @@ class MessageManager
$user_sender_info = UserManager::get_user_info_by_id($topic['user_sender_id']);
$files_attachments = self::get_links_message_attachment_files($topic['id']);
$name = api_get_person_name($user_sender_info['firstname'], $user_sender_info['lastname']);
- $html .= '
';
- $html .= '
- '.((isset($_GET['div_id']) && $_GET['div_id'] == 'content_'.$topic['id'])?Display::return_icon('div_hide.gif',get_lang('Hide'),array('style'=>'vertical-align: middle')):
- Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align: middle'))).'
- '.$topic['title'].'';
- //$html .= '('.get_lang('PostIn').' '.date_to_str_ago($topic['send_date']).($topic['send_date']!=$topic['update_date']?' - '.get_lang('LastUpdate').' '.date_to_str_ago($topic['send_date']):'').')';
- $html .= '';
- if ($topic['send_date']!=$topic['update_date']) {
- if (!empty($topic['update_date']) && $topic['update_date'] != '0000-00-00 00:00:00' ) {
- $html .= '
'.get_lang('LastUpdate').' '.date_to_str_ago($topic['update_date']).'';
- }
- } else {
- $html .= '
'.get_lang('Created').' '.date_to_str_ago($topic['send_date']).'';
- }
-
-
- $html .= '
';
+ $html .= '
';
+ $html .= '
'.Display::return_icon('content-post-group1.jpg').'
';
+ $html .= '
';
+ $html .= '
+ '.((isset($_GET['div_id']) && $_GET['div_id'] == 'content_'.$topic['id'])?Display::return_icon('div_hide.gif',get_lang('Hide'),array('style'=>'vertical-align: middle')):
+ Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align: middle'))).'
+ '.$topic['title'].'';
+ $html .= '';
+
+ if ($topic['send_date']!=$topic['update_date']) {
+ if (!empty($topic['update_date']) && $topic['update_date'] != '0000-00-00 00:00:00' ) {
+ $html .= '
('.get_lang('LastUpdate').' '.date_to_str_ago($topic['update_date']).')';
+ }
+ } else {
+ $html .= '
('.get_lang('Created').' '.date_to_str_ago($topic['send_date']).')';
+ }
+
+ $html .= '
';
$html .= '
';
- $html.= '
';
+ $html.= '
';
$html.= '
';
- //$html.= '
'.$topic['title'].'
';
+ $html.= '
';
$html.= '
';
- $html.= '
'.$topic['content'].'
';
- //$html.= '
'.get_lang('PostIn').' '.date_to_str_ago($topic['send_date']).'
';
+ $html.= '
'.$topic['content'].'
';
$html.= '
'.(!empty($files_attachments)?implode(' | ',$files_attachments):'').'
';
- $html.= '
';
+ $html.= '
';
// items
if (is_array($topic['items'])) {
@@ -932,7 +930,12 @@ class MessageManager
$user_sender_info = UserManager::get_user_info_by_id($item['user_sender_id']);
$files_attachments = self::get_links_message_attachment_files($item['id']);
$name = api_get_person_name($user_sender_info['firstname'], $user_sender_info['lastname']);
- $html.= '
';
+
+
+ //$html.= '
';
+ $html.= '
';
+ $html .= '
'.Display::return_icon('content-post-reply01.jpg').'
';
+ $html .= '
';
$html.= '
'.Display :: return_icon('forumthread_new.gif', get_lang('Reply')).'';
if ($item['user_sender_id'] == $current_user_id) {
@@ -950,28 +953,31 @@ class MessageManager
} else {
$html .= '
'.get_lang('Created').' '.date_to_str_ago($item['send_date']).'';
}
-
- //$html.= '
'.get_lang('PostIn').' '.date_to_str_ago($item['send_date']).($item['send_date']!=$item['update_date']?' - '.get_lang('UpdatedIn').' '.date_to_str_ago($item['send_date']):'').'
';
-
- $html.= '
'.(!empty($files_attachments)?implode(' | ',$files_attachments):'').'
';
- $html.= '
';
+ $html.= '
'.(!empty($files_attachments)?implode(' | ',$files_attachments):'').'
';
+ $html.= '
';
+ $html.= '
';
}
+ /*
// pager items
$html .= ' ';
+ */
}
+ $html .= '
';
$html .= '
';
$html .= '
';
}
$html .= '
';
+ /*
// pager
$html .= '