| @@ 486-490 (lines=5) @@ | ||
| 483 | } |
|
| 484 | } |
|
| 485 | ||
| 486 | if (!api_is_anonymous()) { |
|
| 487 | $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory=' |
|
| 488 | . Security::remove_XSS($_GET['forumcategory']).'&action=notify&content=forum&id=' |
|
| 489 | . $forum['forum_id'].'">'.Display::return_icon($iconnotify, get_lang('NotifyMe')).'</a>'; |
|
| 490 | } |
|
| 491 | $html .= '</div>'; |
|
| 492 | $html .= '</div>'; |
|
| 493 | $html .= '</div>'; |
|
| @@ 498-500 (lines=3) @@ | ||
| 495 | if ($is_course_admin) { |
|
| 496 | $header .= '<a href="gradebook_flatview.php?'.api_get_cidreq().'&selectcat='.$catobj->get_id().'">'.Display::return_icon('stats.png', get_lang('FlatView'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 497 | $header .= '<a href="gradebook_scoring_system.php?'.api_get_cidreq().'&selectcat='.$catobj->get_id().'">'.Display::return_icon('settings.png', get_lang('ScoreEdit'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 498 | } elseif (!(isset($_GET['studentoverview']))) { |
|
| 499 | $header .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&studentoverview=&selectcat='.$catobj->get_id().'">'.Display::return_icon('view_list.gif', get_lang('FlatView')).' '.get_lang('FlatView').'</a>'; |
|
| 500 | } else { |
|
| 501 | $header .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&studentoverview=&exportpdf=&selectcat='.$catobj->get_id().'" target="_blank">'.Display::return_icon('pdf.png', get_lang('ExportPDF'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 502 | } |
|
| 503 | $header .= '</div>'; |
|
| @@ 37-40 (lines=4) @@ | ||
| 34 | $display_output = ''; |
|
| 35 | $origin = api_get_origin(); |
|
| 36 | ||
| 37 | if (!empty($id)) { |
|
| 38 | $display_output .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&gradebook='.$gradebook.'&id='.$my_back_id.'">'. |
|
| 39 | Display::return_icon('back.png', get_lang('BackToWorksList'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 40 | } |
|
| 41 | ||
| 42 | if (api_is_allowed_to_edit(null, true) && $origin != 'learnpath') { |
|
| 43 | // Create dir |
|