src/Chamilo/CoreBundle/Framework/PageController.php 1 location
|
@@ 1375-1386 (lines=12) @@
|
| 1372 |
|
$params['subtitle'] = isset($session['coach_info']) ? $session['coach_info']['complete_name'] : null.$moved_status; |
| 1373 |
|
$params['dates'] = $session['date_message']; |
| 1374 |
|
$params['right_actions'] = ''; |
| 1375 |
|
if (api_is_platform_admin()) { |
| 1376 |
|
$params['right_actions'] .= |
| 1377 |
|
Display::url( |
| 1378 |
|
Display::return_icon( |
| 1379 |
|
'edit.png', |
| 1380 |
|
get_lang('Edit'), |
| 1381 |
|
array('align' => 'absmiddle'), |
| 1382 |
|
ICON_SIZE_SMALL |
| 1383 |
|
), |
| 1384 |
|
api_get_path(WEB_CODE_PATH).'session/resume_session.php?id_session='.$session_id |
| 1385 |
|
); |
| 1386 |
|
} |
| 1387 |
|
|
| 1388 |
|
if (api_get_setting('session.hide_courses_in_sessions') == 'false') { |
| 1389 |
|
// $params['extra'] .= $html_courses_session; |
main/admin/user_list.php 2 locations
|
@@ 598-603 (lines=6) @@
|
| 595 |
|
|
| 596 |
|
$allowAssignSkill = api_is_platform_admin(false, true); |
| 597 |
|
|
| 598 |
|
if ($allowAssignSkill) { |
| 599 |
|
$result .= Display::url( |
| 600 |
|
Display::return_icon('skill-badges.png', get_lang('AssignSkill'), null, ICON_SIZE_SMALL), |
| 601 |
|
api_get_path(WEB_CODE_PATH) . 'badge/assign.php?' . http_build_query(['user' => $user_id]) |
| 602 |
|
); |
| 603 |
|
} |
| 604 |
|
|
| 605 |
|
if ($is_admin) { |
| 606 |
|
$result .= Display::return_icon( |
|
@@ 809-812 (lines=4) @@
|
| 806 |
|
$actionsLeft = ''; |
| 807 |
|
$actionsCenter = ''; |
| 808 |
|
$actionsRight = ''; |
| 809 |
|
if (api_is_platform_admin()) { |
| 810 |
|
$actionsRight .= '<a class="pull-right" href="'.api_get_path(WEB_CODE_PATH).'admin/user_add.php">'. |
| 811 |
|
Display::return_icon('new_user.png',get_lang('AddUsers'),'',ICON_SIZE_MEDIUM).'</a>'; |
| 812 |
|
} |
| 813 |
|
|
| 814 |
|
$actionsLeft .= $form->returnForm(); |
| 815 |
|
$actionsCenter .= $searchAdvanced; |
main/inc/lib/glossary.lib.php 1 location
|
@@ 383-386 (lines=4) @@
|
| 380 |
|
|
| 381 |
|
$actionsLeft .= '<a href="index.php?'.api_get_cidreq().'&action=export">'. |
| 382 |
|
Display::return_icon('export_csv.png',get_lang('ExportGlossaryAsCSV'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 383 |
|
if (api_is_allowed_to_edit(null, true)) { |
| 384 |
|
$actionsLeft .= '<a href="index.php?'.api_get_cidreq().'&action=import">'. |
| 385 |
|
Display::return_icon('import_csv.png',get_lang('ImportGlossary'), '', ICON_SIZE_MEDIUM).'</a>'; |
| 386 |
|
} |
| 387 |
|
|
| 388 |
|
$actionsLeft .= '<a href="index.php?'.api_get_cidreq().'&action=export_to_pdf">'. |
| 389 |
|
Display::return_icon('pdf.png',get_lang('ExportToPDF'), '', ICON_SIZE_MEDIUM).'</a>'; |
main/tracking/courseLog.php 1 location
|
@@ 225-230 (lines=6) @@
|
| 222 |
|
api_get_path(WEB_CODE_PATH).'tracking/exams.php?'.api_get_cidreq() |
| 223 |
|
); |
| 224 |
|
|
| 225 |
|
if (!empty($sessionId)) { |
| 226 |
|
$actionsLeft .= Display::url( |
| 227 |
|
Display::return_icon('attendance_list.png', get_lang('Logins'), '', ICON_SIZE_MEDIUM), |
| 228 |
|
api_get_path(WEB_CODE_PATH) . 'attendance/index.php?' . api_get_cidreq() . '&action=calendar_logins' |
| 229 |
|
); |
| 230 |
|
} |
| 231 |
|
|
| 232 |
|
$actionsRight = '<div class="pull-right">'; |
| 233 |
|
$actionsRight .= '<a href="javascript: void(0);" onclick="javascript: window.print();">'. |
main/document/document.php 1 location
|
@@ 1642-1647 (lines=6) @@
|
| 1639 |
|
} |
| 1640 |
|
|
| 1641 |
|
// Record audio (nanogong) |
| 1642 |
|
if (api_get_setting('enable_record_audio') === 'true') { |
| 1643 |
|
$actionsLeft .= Display::url( |
| 1644 |
|
Display::return_icon('new_recording.png', get_lang('RecordMyVoice'), '', ICON_SIZE_MEDIUM), |
| 1645 |
|
api_get_path(WEB_CODE_PATH) . 'document/record_audio.php?' . api_get_cidreq() . '&id=' . $document_id |
| 1646 |
|
); |
| 1647 |
|
} |
| 1648 |
|
|
| 1649 |
|
// Create new audio from text |
| 1650 |
|
if (api_get_setting('enabled_text2audio') == 'true') { |
main/install/install.lib.php 1 location
|
@@ 710-718 (lines=9) @@
|
| 707 |
|
|
| 708 |
|
$properlyAccessUrl = checkAccessUrl(); |
| 709 |
|
|
| 710 |
|
if (!$properlyAccessUrl) { |
| 711 |
|
echo ' |
| 712 |
|
<div class="alert alert-danger"> |
| 713 |
|
' . Display::return_icon('error.png', get_lang('Error'), [], ICON_SIZE_MEDIUM) . |
| 714 |
|
' ' . |
| 715 |
|
sprintf(get_lang('InstallMultiURLDetectedNotMainURL'), api_get_configuration_value('root_web')) . ' |
| 716 |
|
</div> |
| 717 |
|
'; |
| 718 |
|
} |
| 719 |
|
|
| 720 |
|
// SERVER REQUIREMENTS |
| 721 |
|
echo '<div class="RequirementHeading"><h4>'.get_lang('ServerRequirements').'</h4>'; |