Merge branch 'MDL-56853-master' of git://github.com/damyon/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 14 Nov 2016 06:36:45 +0000 (14:36 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 14 Nov 2016 06:36:45 +0000 (14:36 +0800)
mod/folder/renderer.php

index 1331c02..7b695e1 100644 (file)
@@ -75,9 +75,7 @@ class mod_folder_renderer extends plugin_renderer_base {
                     get_string('downloadfolder', 'folder')
                 );
 
-                $output .= $this->output->container(
-                    $downloadbutton,
-                    'mdl-align folder-download-button');
+                $output .= $downloadbutton;
             }
 
             if (has_capability('mod/folder:managefiles', $context)) {
@@ -86,9 +84,7 @@ class mod_folder_renderer extends plugin_renderer_base {
                     get_string('edit')
                 );
 
-                $output .= $this->output->container(
-                    $editbutton,
-                    'mdl-align folder-edit-button');
+                $output .= $editbutton;
             }
         }
         return $output;