diff --git a/public/main/lp/lp_add.php b/public/main/lp/lp_add.php index 538ac3ee3e..d4d3d6253d 100644 --- a/public/main/lp/lp_add.php +++ b/public/main/lp/lp_add.php @@ -223,12 +223,8 @@ if ($form->validate()) { Display::display_header(get_lang('Create new learning path'), 'Path'); $actions = ''. - Display::return_icon( - 'back.png', - get_lang('ReturnToLearning paths'), - '', - ICON_SIZE_MEDIUM - ).''; + '' + .''; echo Display::toolbarAction('toolbar', [$actions]); echo Display::return_message( diff --git a/public/main/lp/lp_list.php b/public/main/lp/lp_list.php index 4160f146b3..07409d8ecc 100644 --- a/public/main/lp/lp_list.php +++ b/public/main/lp/lp_list.php @@ -76,44 +76,24 @@ if (!empty($sessionId)) { if ($is_allowed_to_edit) { $actionLeft = Display::url( - Display::return_icon( - 'new_learnpath.png', - get_lang('Create new learning path'), - '', - ICON_SIZE_MEDIUM - ), + '', api_get_self().'?'.api_get_cidreq().'&action=add_lp' ); $actionLeft .= Display::url( - Display::return_icon( - 'import_scorm.png', - get_lang('Import AICC, SCORM and Chamilo learning path'), - '', - ICON_SIZE_MEDIUM - ), + '', '../upload/index.php?'.api_get_cidreq().'&curdirpath=/&tool='.TOOL_LEARNPATH ); if ('true' === api_get_setting('service_ppt2lp', 'active')) { $actionLeft .= Display::url( - Display::return_icon( - 'import_powerpoint.png', - get_lang('Chamilo RAPID'), - '', - ICON_SIZE_MEDIUM - ), + '', '../upload/upload_ppt.php?'.api_get_cidreq().'&curdirpath=/&tool='.TOOL_LEARNPATH ); } if ($allowCategory) { $actionLeft .= Display::url( - Display::return_icon( - 'new_folder.png', - get_lang('Add category'), - [], - ICON_SIZE_MEDIUM - ), + '', api_get_self().'?'.api_get_cidreq().'&action=add_lp_category' ); } @@ -182,15 +162,9 @@ $hideScormPdfLink = api_get_setting('hide_scorm_pdf_link'); $options = learnpath::getIconSelect(); $cidReq = api_get_cidreq(); -$defaultLpIcon = Display::return_icon( - 'learnpath.png', - get_lang('Learning path name') -); +$defaultLpIcon = ''; -$defaultDisableLpIcon = Display::return_icon( - 'learnpath_na.png', - get_lang('Learning path name') -); +$defaultDisableLpIcon = ''; $courseSettingsIcon = Display::return_icon( 'settings.png', @@ -1012,7 +986,7 @@ $template->assign('no_data', ''); if (false === $lpIsShown && api_is_allowed_to_edit()) { $noData = Display::noDataView( get_lang('Learning paths'), - Display::return_icon('scorms.png', '', [], 64), + '', get_lang('Create new learning path'), api_get_self().'?'.api_get_cidreq().'&action=add_lp' );