original_string: protected function fm_print_generallayout($fm) {
          $context = [
                  'client_id' => $fm->options->client_id,
                  'helpicon' => $this->help_icon('setmainfile', 'repository'),
                  'restrictions' => $this->fm_print_restrictions($fm)
          ];
          return $this->render_from_template('core/filemanager_page_generallayout', $context);
      }
code: protected function fm_print_generallayout($fm) {
          $context = [
                  'client_id' => $fm->options->client_id,
                  'helpicon' => $this->help_icon('setmainfile', 'repository'),
                  'restrictions' => $this->fm_print_restrictions($fm)
          ];
          return $this->render_from_template('core/filemanager_page_generallayout', $context);
      }
code_tokens: protected function fm_print_generallayout ( $ fm ) { $ context = [ 'client_id' => $ fm -> options -> client_id , 'helpicon' => $ this -> help_icon ( 'setmainfile' , 'repository' ) , 'restrictions' => $ this -> fm_print_restrictions ( $ fm ) ] ; return $ this -> render_from_template ( 'core/filemanager_page_generallayout' , $ context ) ; }
docstring: Returns html for displaying one file manager
  
  @param form_filemanager $fm
  @return string
docstring_tokens: Returns html for displaying one file manager