@@ 4186-4190 (lines=5) @@ | ||
4183 | { |
|
4184 | $parameters = array(); |
|
4185 | $parameters['cidReq'] = api_get_course_id(); |
|
4186 | if (isset($_GET['do_search']) && $_GET['do_search']) { |
|
4187 | $message = get_lang('DisplaySearchResults').'<br />'; |
|
4188 | $message .= '<a href="'.api_get_self().'?'.api_get_cidreq().'">'.get_lang('DisplayAll').'</a>'; |
|
4189 | Display::display_normal_message($message, false); |
|
4190 | } |
|
4191 | ||
4192 | // Create a sortable table with survey-data |
|
4193 | $table = new SortableTable('surveys', 'get_number_of_surveys', 'get_survey_data', 2); |
|
@@ 4220-4224 (lines=5) @@ | ||
4217 | { |
|
4218 | $parameters = array(); |
|
4219 | $parameters['cidReq']=api_get_course_id(); |
|
4220 | if (isset($_GET['do_search'])) { |
|
4221 | $message = get_lang('DisplaySearchResults').'<br />'; |
|
4222 | $message .= '<a href="'.api_get_self().'?'.api_get_cidreq().'">'.get_lang('DisplayAll').'</a>'; |
|
4223 | Display::display_normal_message($message, false); |
|
4224 | } |
|
4225 | ||
4226 | // Create a sortable table with survey-data |
|
4227 | $table = new SortableTable('surveys_coach', 'get_number_of_surveys_for_coach', 'get_survey_data_for_coach', 2); |
@@ 1086-1089 (lines=4) @@ | ||
1083 | Display::return_icon('pdf.png',get_lang('ExportToPDF'),'',ICON_SIZE_MEDIUM).'</a>'; |
|
1084 | ||
1085 | $unoconv = api_get_configuration_value('unoconv.binaries'); |
|
1086 | if ($unoconv) { |
|
1087 | $actionsRight .= '<a href="'.api_get_path(WEB_CODE_PATH).'wiki/index.php?action=export_to_doc_file&id='.$row['id'].'&'.api_get_cidreq().'">'. |
|
1088 | Display::return_icon('export_doc.png', get_lang('ExportToDoc'), array(), ICON_SIZE_MEDIUM).'</a>'; |
|
1089 | } |
|
1090 | ||
1091 | //export to print |
|
1092 | ?> |
@@ 231-234 (lines=4) @@ | ||
228 | Display::return_icon('course.png', get_lang('UsersOnline').' '.get_lang('InThisCourse'), array(), ICON_SIZE_TINY).' '.$number_online_in_course.' </a></li>'; |
|
229 | } |
|
230 | ||
231 | if (isset($user_id) && api_get_session_id() != 0) { |
|
232 | $html .= '<li><a href="'.api_get_path(WEB_PATH).'whoisonlinesession.php?id_coach='.$user_id.'&referer='.urlencode($_SERVER['REQUEST_URI']).'" target="_self">'. |
|
233 | Display::return_icon('session.png', get_lang('UsersConnectedToMySessions'), array(), ICON_SIZE_TINY).' </a></li>'; |
|
234 | } |
|
235 | } |
|
236 | ||
237 | return $html; |