Browse Source

Merge branch 'aragonc-CT7614' into 1.10.x

Yannick Warnier 9 years ago
parent
commit
c9fecda36b
2 changed files with 4 additions and 5 deletions
  1. 3 3
      main/inc/introductionSection.inc.php
  2. 1 2
      main/lang/spanish/trad4all.inc.php

+ 3 - 3
main/inc/introductionSection.inc.php

@@ -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().'&amp;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().'&amp;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>';
     }
 }

+ 1 - 2
main/lang/spanish/trad4all.inc.php

@@ -7417,5 +7417,4 @@ $FromDateX = "Del %s";
 $UntilDateX = "Al %s";
 $GraphDependencyTree = "Árbol de dependencias";
 $CustomizeIcons = "Personalizar iconos";
-$AddCustomCourse = "Puede añadir una presentación para su curso en esta sección, puede empezar dando clic en el icono";
-?>
+?>