diff --git a/files/renderer.php b/files/renderer.php index 6c97879e5bf03..18d1a641ab59a 100644 --- a/files/renderer.php +++ b/files/renderer.php @@ -201,18 +201,30 @@ private function fm_print_generallayout($fm) {
-
-
-
+
+ +
+
+ +
+
+ +
-
- - - +
- +
'.$icon_progress.'
@@ -249,17 +261,17 @@ private function fm_js_template_iconfilename() {
-
+
-
+
- '.$this->pix_icon('i/menu', '▶').' + '.$this->pix_icon('i/menu', '▶').'
'; - return preg_replace('/\{\!\}/', '', $rv); + return $rv; } /** @@ -279,14 +291,14 @@ private function fm_js_template_listfilename() { $rv = ' - + - + - '.$this->pix_icon('i/menu', '▶').' + '.$this->pix_icon('i/menu', '▶').' '; - return preg_replace('/\{\!\}/', '', $rv); + return $rv; } /** @@ -309,10 +321,10 @@ private function fm_js_template_mkdir() {
- - + + '; - return preg_replace('/\{\!\}/', '', $rv); + return $rv; } /** @@ -369,50 +381,78 @@ private function fm_js_template_message() { private function fm_js_template_fileselectlayout() { global $OUTPUT; $strloading = get_string('loading', 'repository'); - $icon_progress = $this->pix_icon('i/loading_small', $strloading).''; + $iconprogress = $this->pix_icon('i/loading_small', $strloading).''; $rv = '
-
- - - '.$OUTPUT->help_icon('setmainfile', 'repository').' - - + + + + + '.$OUTPUT->help_icon('setmainfile', 'repository').' + +
- - - - - - - - - - - - - -
:
:
:
:
:'.$icon_progress.' '.$strloading.'
:

'.$icon_progress.' '.$strloading.'
    + +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + '.$iconprogress.' '.$strloading.' +
    +
    +
    + +
    +

    + '.$iconprogress.' '.$strloading.' +
      +
      +
      +
      - - + +
      -

      +

      -
      '.get_string('lastmodified', 'moodle').':
      -
      '.get_string('datecreated', 'repository').':
      -
      '.get_string('size', 'repository').':
      -
      '.get_string('dimensions', 'repository').':
      +
      '.get_string('lastmodified', 'repository').'
      +
      '.get_string('datecreated', 'repository').'
      +
      '.get_string('size', 'repository').'
      +
      '.get_string('dimensions', 'repository').'
      '; - return preg_replace('/\{\!\}/', '', $rv); + return $rv; } /** @@ -429,11 +469,11 @@ private function fm_js_template_fileselectlayout() { private function fm_js_template_confirmdialog() { $rv = '
      -
      - - +
      + +
      '; - return preg_replace('/\{\!\}/', '', $rv); + return $rv; } /** @@ -525,36 +565,64 @@ private function fp_js_template_generallayout() {