diff --git a/main/messages/send_message_to_userfriend.inc.php b/main/messages/send_message_to_userfriend.inc.php
old mode 100755
new mode 100644
index e37b029f0b..282c7b6e86
--- a/main/messages/send_message_to_userfriend.inc.php
+++ b/main/messages/send_message_to_userfriend.inc.php
@@ -34,16 +34,12 @@ if (api_get_setting('allow_message_tool')=='true') {
$user_info=api_get_user_info($userfriend_id); ?>
+
+
:
@@ -60,13 +57,14 @@ if (api_get_setting('allow_message_tool')=='true') {
+
+
" onclick="action_database_panel('4','')" >
-
+
diff --git a/main/social/groups.php b/main/social/groups.php
old mode 100755
new mode 100644
index 5ba8989002..21d777238e
--- a/main/social/groups.php
+++ b/main/social/groups.php
@@ -264,9 +264,9 @@ if ($group_id != 0 ) {
if ($is_group_member || $group_info['visibility'] == GROUP_PERMISSION_OPEN) {
if (!$is_group_member) {
if (!in_array($my_group_role, array(GROUP_USER_PERMISSION_PENDING_INVITATION_SENT_BY_USER, GROUP_USER_PERMISSION_PENDING_INVITATION))) {
- echo ''.Display::return_icon('group_join.png', get_lang('YouShouldJoinTheGroup'), array('hspace'=>'6')).get_lang('YouShouldJoinTheGroup').'';
+ echo ''.get_lang('JoinGroup').'';
} elseif ($my_group_role == GROUP_USER_PERMISSION_PENDING_INVITATION) {
- echo ''.Display::return_icon('group_join.png', get_lang('YouHaveBeenInvitedJoinNow'), array('hspace'=>'6')).get_lang('YouHaveBeenInvitedJoinNow').'';
+ echo ''.get_lang('YouHaveBeenInvitedJoinNow').'';
}
echo '
';
}
@@ -322,9 +322,9 @@ if ($group_id != 0 ) {
} else {
// if I already sent an invitation message
if (!in_array($my_group_role, array(GROUP_USER_PERMISSION_PENDING_INVITATION_SENT_BY_USER, GROUP_USER_PERMISSION_PENDING_INVITATION))) {
- echo ''.Display::return_icon('group_join.png', get_lang('YouShouldJoinTheGroup'), array('hspace'=>'6')).get_lang('YouShouldJoinTheGroup').'';
+ echo ''.get_lang('JoinGroup').'';
} elseif ($my_group_role == GROUP_USER_PERMISSION_PENDING_INVITATION) {
- echo ''.Display::return_icon('group_join.png', get_lang('YouHaveBeenInvitedJoinNow'), array('hspace'=>'6')).get_lang('YouHaveBeenInvitedJoinNow').'';
+ echo ''.get_lang('YouHaveBeenInvitedJoinNow').'';
}
}
echo ''; // end layout messages
@@ -412,7 +412,7 @@ if ($group_id != 0 ) {
//Avoiding my groups
$join_url = '';
if (!in_array($id,$my_group_list)) {
- $join_url = ''.Display::return_icon('group_join.png', get_lang('JoinGroup'), array('hspace'=>'6')).''.get_lang('JoinGroup').' ';
+ $join_url = ''.get_lang('JoinGroup').' ';
}
$item_4 = ''.$join_url.'
';
@@ -457,7 +457,7 @@ if ($group_id != 0 ) {
$join_url = '';
if (!in_array($id,$my_group_list)) {
- $join_url = ''.Display::return_icon('group_join.png', get_lang('JoinGroup'), array('hspace'=>'6')).''.get_lang('JoinGroup').' ';
+ $join_url = ''.get_lang('JoinGroup').' ';
}
$item_4 = ''.$join_url.'
';