diff --git a/main/inc/banner.inc.php b/main/inc/banner.inc.php
index b0e3ff6121..d1954a4aa8 100644
--- a/main/inc/banner.inc.php
+++ b/main/inc/banner.inc.php
@@ -32,9 +32,13 @@
*/
if (!empty($_cid) and $_cid != -1 and isset($_course)) {
//Put the name of the course in the header
- echo '
+?>
+
';
+ echo "";
} elseif (isset ($nameTools) && $language_file != 'course_home') {
//Put the name of the user-tools in the header
if (!isset ($_user['user_id'])) {
@@ -100,7 +102,7 @@ if (isset($_course['extLink']) && $_course['extLink']['name'] != "") {
'.get_lang('UsersConnectedToMySessions').'';
+ echo ' '.get_lang('UsersConnectedToMySessions').'';
}
$statistics_database = Database :: get_statistic_database();
@@ -111,7 +113,7 @@ if ((api_get_setting('showonline','world') == "true" AND !$_user['user_id']) OR
} else {
$number_online_in_course = 0;
}
- echo ' '.get_lang('UsersOnline').': ';
+ echo "".get_lang('UsersOnline').": ";
// Display the who's online of the platform
if ((api_get_setting('showonline','world') == "true" AND !$_user['user_id']) OR (api_get_setting('showonline','users') == "true" AND $_user['user_id'])) {
@@ -122,8 +124,6 @@ if ((api_get_setting('showonline','world') == "true" AND !$_user['user_id']) OR
if (is_array($_course) AND api_get_setting('showonline','course') == "true" AND isset($_course['sysCode'])) {
echo "($number_online_in_course ".get_lang('InThisCourse').")";
}
-
-
echo '';
}
@@ -170,7 +170,7 @@ if ($_user['user_id']) {
$navigation_info) {
} else {
$current = '';
}
- echo ' '.$navigation_info['title'].''."\n";
+ echo ''.$navigation_info['title'].''."\n";
}
?>