|
|
|
@ -801,8 +801,14 @@ class Template |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$this->assign('online_button', Display::return_icon('statusonline.png', null, null, ICON_SIZE_ATOM)); |
|
|
|
|
$this->assign('offline_button',Display::return_icon('statusoffline.png', null, null, ICON_SIZE_ATOM)); |
|
|
|
|
$this->assign( |
|
|
|
|
'online_button', |
|
|
|
|
Display::return_icon('statusonline.png', null, [], ICON_SIZE_ATOM) |
|
|
|
|
); |
|
|
|
|
$this->assign( |
|
|
|
|
'offline_button', |
|
|
|
|
Display::return_icon('statusoffline.png', null, [], ICON_SIZE_ATOM) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Get language iso-code for this page - ignore errors |
|
|
|
|
$this->assign('document_language', api_get_language_isocode()); |
|
|
|
@ -894,7 +900,7 @@ class Template |
|
|
|
|
|
|
|
|
|
//@todo move this in the template |
|
|
|
|
$rightFloatMenu = ''; |
|
|
|
|
$iconBug = Display::return_icon('bug.png', get_lang('ReportABug'), null, ICON_SIZE_LARGE); |
|
|
|
|
$iconBug = Display::return_icon('bug.png', get_lang('ReportABug'), [], ICON_SIZE_LARGE); |
|
|
|
|
if (api_get_setting('show_link_bug_notification') == 'true' && $this->user_is_logged_in) { |
|
|
|
|
$rightFloatMenu = '<div class="report"> |
|
|
|
|
<a href="https://github.com/chamilo/chamilo-lms/wiki/How-to-report-issues" target="_blank"> |
|
|
|
@ -905,7 +911,7 @@ class Template |
|
|
|
|
|
|
|
|
|
if (api_get_setting('show_link_ticket_notification') == 'true' && $this->user_is_logged_in) { |
|
|
|
|
// by default is project_id = 1 |
|
|
|
|
$iconTicket = Display::return_icon('bug.png', get_lang('Ticket'), null, ICON_SIZE_LARGE); |
|
|
|
|
$iconTicket = Display::return_icon('bug.png', get_lang('Ticket'), [], ICON_SIZE_LARGE); |
|
|
|
|
$courseInfo = api_get_course_info(); |
|
|
|
|
$courseParams = ''; |
|
|
|
|
if (!empty($courseInfo)) { |
|
|
|
|