original_string: protected function view_notices($title, $notices) {
          global $CFG;
  
          $o = '';
  
          $header = new assign_header($this->get_instance(),
                                      $this->get_context(),
                                      $this->show_intro(),
                                      $this->get_course_module()->id,
                                      $title);
          $o .= $this->get_renderer()->render($header);
  
          foreach ($notices as $notice) {
              $o .= $this->get_renderer()->notification($notice);
          }
  
          $url = new moodle_url('/mod/assign/view.php', array('id'=>$this->get_course_module()->id, 'action'=>'view'));
          $o .= $this->get_renderer()->continue_button($url);
  
          $o .= $this->view_footer();
  
          return $o;
      }
code: protected function view_notices($title, $notices) {
          global $CFG;
  
          $o = '';
  
          $header = new assign_header($this->get_instance(),
                                      $this->get_context(),
                                      $this->show_intro(),
                                      $this->get_course_module()->id,
                                      $title);
          $o .= $this->get_renderer()->render($header);
  
          foreach ($notices as $notice) {
              $o .= $this->get_renderer()->notification($notice);
          }
  
          $url = new moodle_url('/mod/assign/view.php', array('id'=>$this->get_course_module()->id, 'action'=>'view'));
          $o .= $this->get_renderer()->continue_button($url);
  
          $o .= $this->view_footer();
  
          return $o;
      }
code_tokens: protected function view_notices ( $ title , $ notices ) { global $ CFG ; $ o = '' ; $ header = new assign_header ( $ this -> get_instance ( ) , $ this -> get_context ( ) , $ this -> show_intro ( ) , $ this -> get_course_module ( ) -> id , $ title ) ; $ o .= $ this -> get_renderer ( ) -> render ( $ header ) ; foreach ( $ notices as $ notice ) { $ o .= $ this -> get_renderer ( ) -> notification ( $ notice ) ; } $ url = new moodle_url ( '/mod/assign/view.php' , array ( 'id' => $ this -> get_course_module ( ) -> id , 'action' => 'view' ) ) ; $ o .= $ this -> get_renderer ( ) -> continue_button ( $ url ) ; $ o .= $ this -> view_footer ( ) ; return $ o ; }
docstring: Message for students when assignment submissions have been closed.
  
  @param string $title The page title
  @param array $notices The array of notices to show.
  @return string
docstring_tokens: Message for students when assignment submissions have been closed .