|
@@ -292,7 +292,7 @@ if (api_is_allowed_to_edit()) {
|
|
|
if ($intro_dispCommand) {
|
|
|
if (empty($intro_content)) {
|
|
|
// Displays "Add intro" commands
|
|
|
- $toolbar = '<div class="btn-group pull-right" rol="group">';
|
|
|
+ $toolbar = '<div class="btn-group pull-right" rol="group">';
|
|
|
if (!empty ($GLOBALS['_cid'])) {
|
|
|
$textIntro = '<a class="btn btn-default" title="' . get_lang('AddIntro') . '" href="'.api_get_self().'?' . api_get_cidreq().'&intro_cmdAdd=1">';
|
|
|
$textIntro .= '<i class="fa fa-file-text"></i> ';
|
|
@@ -306,7 +306,7 @@ if ($intro_dispCommand) {
|
|
|
|
|
|
} else {
|
|
|
// Displays "edit intro && delete intro" commands
|
|
|
- $toolbar .= '<div class="btn-group pull-right" rol="group">';
|
|
|
+ $toolbar .= '<div class="btn-group pull-right" rol="group">';
|
|
|
if (!empty ($GLOBALS['_cid'])) {
|
|
|
$toolbar .=
|
|
|
'<a class="btn btn-default" href="'.api_get_self().'?'.api_get_cidreq().'&intro_cmdEdit=1" title="'.get_lang('Modify').'">
|
|
@@ -344,7 +344,7 @@ if ($intro_dispDefault) {
|
|
|
$introduction_section .= '</div>';
|
|
|
} else {
|
|
|
$introduction_section .= '<div class="help-course">';
|
|
|
- $introduction_section .= get_lang('AddCustomCourse').' ' . $textIntro ;
|
|
|
+ $introduction_section .= get_lang('AddCustomCourseIntro').' ' . $textIntro ;
|
|
|
$introduction_section .= '</div>';
|
|
|
}
|
|
|
}
|