"MDL-21146, adding file license support to repository api, first commit"

This commit is contained in:
Dongsheng Cai
2010-03-29 03:39:08 +00:00
parent 58ee83619c
commit 1dce6261b7
34 changed files with 704 additions and 85 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ require_once($CFG->dirroot.'/repository/lib.php');
class MoodleQuickForm_filemanager extends HTML_QuickForm_element {
public $_helpbutton = '';
protected $_options = array('mainfile'=>'', 'subdirs'=>1, 'maxbytes'=>0, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL);
protected $_options = array('mainfile'=>'', 'subdirs'=>1, 'maxbytes'=>-1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL);
function MoodleQuickForm_filemanager($elementName=null, $elementLabel=null, $attributes=null, $options=null) {
global $CFG, $PAGE;