diff --git a/main/img/icons/16/course.png b/main/img/icons/16/course.png
new file mode 100644
index 0000000000..82d21ae463
Binary files /dev/null and b/main/img/icons/16/course.png differ
diff --git a/main/img/icons/16/session.png b/main/img/icons/16/session.png
new file mode 100644
index 0000000000..38e808972c
Binary files /dev/null and b/main/img/icons/16/session.png differ
diff --git a/main/img/icons/16/user.png b/main/img/icons/16/user.png
new file mode 100644
index 0000000000..666c496583
Binary files /dev/null and b/main/img/icons/16/user.png differ
diff --git a/main/inc/lib/banner.lib.php b/main/inc/lib/banner.lib.php
index e920cfe3b7..5fb3890561 100644
--- a/main/inc/lib/banner.lib.php
+++ b/main/inc/lib/banner.lib.php
@@ -183,21 +183,23 @@ function return_notification_menu() {
// Display the who's online of the platform
if ($number) {
if ((api_get_setting('showonline', 'world') == 'true' AND !$user_id) OR (api_get_setting('showonline', 'users') == 'true' AND $user_id)) {
- $html .= '
'.Display::return_icon('members.gif', get_lang('UsersOnline'), array('width'=>'13px')).' '.$number.'';
+ $html .= ''.
+ Display::return_icon('user.png', get_lang('UsersOnline'), array(), ICON_SIZE_TINY).' '.$number.'';
}
}
// Display the who's online for the course
if ($number_online_in_course) {
if (is_array($_course) AND api_get_setting('showonline', 'course') == 'true' AND isset($_course['sysCode'])) {
- $html .= ''.Display::return_icon('course.gif', get_lang('UsersOnline').' '.get_lang('InThisCourse'), array('width'=>'13px')).' '.$number_online_in_course.' ';
+ $html .= ''.
+ Display::return_icon('course.png', get_lang('UsersOnline').' '.get_lang('InThisCourse'), array(), ICON_SIZE_TINY).' '.$number_online_in_course.' ';
}
}
// Display the who's online for the session
if (api_get_setting('use_session_mode') == 'true' && isset($user_id) && api_get_session_id() != 0) {
- //echo ''.get_lang('UsersConnectedToMySessions').'';
- $html .= ''.Display::return_icon('session.png', get_lang('UsersConnectedToMySessions'), array('width'=>'13px')).' ';
+ $html .= ''.
+ Display::return_icon('session.png', get_lang('UsersConnectedToMySessions'), array(), ICON_SIZE_TINY).' ';
}
}