| @@ 622-627 (lines=6) @@ | ||
| 619 | } |
|
| 620 | } |
|
| 621 | $icon_liststd = 'user.png'; |
|
| 622 | if (!api_is_anonymous() && api_is_allowed_to_session_edit(false, true)) { |
|
| 623 | $iconsEdit .= '<a href="'.api_get_self().'?'.$cidreq.'&forum=' |
|
| 624 | . $my_forum |
|
| 625 | . "&action=notify&content=thread&id={$row['thread_id']}" |
|
| 626 | . '">'.Display::return_icon($iconnotify, get_lang('NotifyMe')).'</a>'; |
|
| 627 | } |
|
| 628 | ||
| 629 | if (api_is_allowed_to_edit(null, true) && $origin != 'learnpath') { |
|
| 630 | $iconsEdit .= '<a href="'.api_get_self().'?'.$cidreq.'&forum=' |
|
| @@ 629-635 (lines=7) @@ | ||
| 626 | . '">'.Display::return_icon($iconnotify, get_lang('NotifyMe')).'</a>'; |
|
| 627 | } |
|
| 628 | ||
| 629 | if (api_is_allowed_to_edit(null, true) && $origin != 'learnpath') { |
|
| 630 | $iconsEdit .= '<a href="'.api_get_self().'?'.$cidreq.'&forum=' |
|
| 631 | . $my_forum |
|
| 632 | . "&action=liststd&content=thread&id={$row['thread_id']}" |
|
| 633 | . '">'.Display::return_icon($icon_liststd, get_lang('StudentList'), array(), ICON_SIZE_SMALL) |
|
| 634 | . '</a>'; |
|
| 635 | } |
|
| 636 | $html .= $iconsEdit; |
|
| 637 | $html .= '</div>'; |
|
| 638 | $html .= '</div>'; |
|
| @@ 252-255 (lines=4) @@ | ||
| 249 | .' '.$number_online_in_course.' </a></li>'; |
|
| 250 | } |
|
| 251 | ||
| 252 | if (isset($user_id) && api_get_session_id() != 0) { |
|
| 253 | $html .= '<li><a href="'.api_get_path(WEB_PATH) |
|
| 254 | .'whoisonlinesession.php?id_coach='.$user_id.'&referer='.urlencode($_SERVER['REQUEST_URI']) |
|
| 255 | .'" target="_self">' |
|
| 256 | .Display::return_icon('session.png', get_lang('UsersConnectedToMySessions'), array(), ICON_SIZE_TINY) |
|
| 257 | .'</a></li>'; |
|
| 258 | } |
|
| @@ 1229-1232 (lines=4) @@ | ||
| 1226 | Display::return_icon('pdf.png', get_lang('ExportToPDF'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 1227 | ||
| 1228 | $unoconv = api_get_configuration_value('unoconv.binaries'); |
|
| 1229 | if ($unoconv) { |
|
| 1230 | $actionsRight .= '<a href="'.api_get_path(WEB_CODE_PATH).'wiki/index.php?action=export_to_doc_file&id='.$row['id'].'&'.api_get_cidreq().'">'. |
|
| 1231 | Display::return_icon('export_doc.png', get_lang('ExportToDoc'), array(), ICON_SIZE_MEDIUM).'</a>'; |
|
| 1232 | } |
|
| 1233 | ||
| 1234 | //export to print |
|
| 1235 | ?> |
|