+
+
+
+EOD;
+ if ($options->env != 'url') {
+ $html .= <<
$currentfile
+EOD;
+ }
+ $html .= '';
+ return $html;
+ }
/**
* Print the file manager
@@ -1738,7 +1789,7 @@ class core_renderer extends renderer_base {
* itemid=>0,
* subdirs=>false,
* client_id=>uniqid(),
- * ccepted_types=>'*',
+ * acepted_types=>'*',
* return_types=>FILE_INTERNAL,
* context=>$PAGE->context
* @return string HTML fragment
diff --git a/repository/filepicker.js b/repository/filepicker.js
index d42b6ac7556..b912b7bfd62 100644
--- a/repository/filepicker.js
+++ b/repository/filepicker.js
@@ -445,7 +445,7 @@ M.core_filepicker.init = function(Y, options) {
// support internal files only
le_style = ' style="display:none;"';
}
- if (this.options.externallink && this.options.env == 'editor') {
+ if ((this.options.externallink && this.options.env == 'editor')) {
html += '