Procházet zdrojové kódy

#6948 when clicking audio button display list of items with upload fields

Eric Marguin před 11 roky
rodič
revize
322981feaf

+ 1 - 2
main/newscorm/learnpath.class.php

@@ -4967,8 +4967,7 @@ class learnpath
     }
 
     /**
-     * Function that creates a table structure with a learning path his modules, chapters and documents.
-     * Also the actions for the modules, chapters and documents are in this table.
+     * Function that creates a html list of learning path items so that we can add audio files to them
      * @author Kevin Van Den Haute
      * @param int $lp_id
      * @return string

+ 5 - 0
main/newscorm/lp_admin_view.php

@@ -303,6 +303,11 @@ switch ($_GET['action']) {
         }
         break;
 }
+if(!empty($_GET['updateaudio']))
+{
+    // list of items to add audio files
+    echo $_SESSION['oLP']->overview();
+}
 
 echo '</div>';
 echo '</div>';