main/inc/lib/AnnouncementManager.php 1 location
|
@@ 306-311 (lines=6) @@
|
| 303 |
|
$html .= Display::return_icon('attachment.gif', get_lang('Attachment')); |
| 304 |
|
$html .= '<a href="' . $full_file_name . ' "> ' . $user_filename . ' </a>'; |
| 305 |
|
$html .= ' - <span class="forum_attach_comment" >' . $attachment_list['comment'] . '</span>'; |
| 306 |
|
if (api_is_allowed_to_edit(false, true)) { |
| 307 |
|
$html .= Display::url( |
| 308 |
|
Display::return_icon('delete.png', get_lang('Delete'), '', 16), |
| 309 |
|
api_get_self() . "?" . api_get_cidreq() . "&action=delete_attachment&id_attach=" . $attachment_list['id'] . "&sec_token=" . $stok |
| 310 |
|
); |
| 311 |
|
} |
| 312 |
|
$html .= '</td></tr>'; |
| 313 |
|
} |
| 314 |
|
$html .= "</table>"; |
main/document/document.php 1 location
|
@@ 1652-1657 (lines=6) @@
|
| 1649 |
|
} |
| 1650 |
|
|
| 1651 |
|
// Create directory |
| 1652 |
|
if (!$is_certificate_mode) { |
| 1653 |
|
$actionsLeft .= Display::url( |
| 1654 |
|
Display::return_icon('new_folder.png', get_lang('CreateDir'), '', ICON_SIZE_MEDIUM), |
| 1655 |
|
api_get_path(WEB_CODE_PATH).'document/document.php?'.api_get_cidreq().'&id='.$document_id.'&createdir=1' |
| 1656 |
|
); |
| 1657 |
|
} |
| 1658 |
|
} |
| 1659 |
|
require 'document_slideshow.inc.php'; |
| 1660 |
|
if ($image_present && !isset($_GET['keyword'])) { |
main/inc/lib/userportal.lib.php 1 location
|
@@ 1005-1011 (lines=7) @@
|
| 1002 |
|
|
| 1003 |
|
// Course catalog |
| 1004 |
|
|
| 1005 |
|
if ($show_course_link) { |
| 1006 |
|
if (!api_is_drh()) { |
| 1007 |
|
$my_account_content .= '<li class="list-course"><a href="main/auth/courses.php" >'.Display::return_icon('catalog-course.png',get_lang('CourseCatalog'),null,ICON_SIZE_SMALL).get_lang('CourseCatalog').'</a></li>'; |
| 1008 |
|
} else { |
| 1009 |
|
$my_account_content .= '<li><a href="main/dashboard/index.php">'.get_lang('Dashboard').'</a></li>'; |
| 1010 |
|
} |
| 1011 |
|
} |
| 1012 |
|
|
| 1013 |
|
$my_account_content .= '</ul>'; |
| 1014 |
|
|