diff --git a/main/course_home/course_home.php b/main/course_home/course_home.php index 93c1147e47..617347218b 100755 --- a/main/course_home/course_home.php +++ b/main/course_home/course_home.php @@ -172,7 +172,11 @@ if (isset($_GET['action']) && $_GET['action'] == 'subscribe') { $auth = new Auth(); $msg = $auth->subscribe_user($course_code); if (!empty($msg)) { - $show_message .= Display::return_message(get_lang($msg)); + $show_message .= Display::return_message( + get_lang($msg['message']), + 'info', + false + ); } } } diff --git a/main/inc/lib/social.lib.php b/main/inc/lib/social.lib.php index 3934bf39de..fb8151a2a6 100755 --- a/main/inc/lib/social.lib.php +++ b/main/inc/lib/social.lib.php @@ -1808,7 +1808,7 @@ class SocialManager extends UserManager if ($number_friends != 0) { - $friendHtml.= ''; + $friendHtml.=''; } else { $friendHtml.= '
'.get_lang('NoFriendsInYourContactList').' ' .' '. get_lang('TryAndFindSomeFriends').'
'; diff --git a/main/template/default/chat/video.tpl b/main/template/default/chat/video.tpl index 542fa454a1..4b85599c69 100644 --- a/main/template/default/chat/video.tpl +++ b/main/template/default/chat/video.tpl @@ -9,7 +9,15 @@

-
+
+
+
+
+

{{ "ChatWithXUser"|get_lang|format(chat_user.complete_name) }}

+
+
+
+
@@ -28,22 +36,12 @@
-
- {{ block_friends }} -
+ {{ block_friends }}
-
-
-
-
-

{{ "ChatWithXUser"|get_lang|format(chat_user.complete_name) }}

-
-
-