original_string: public function add_new_course_button() {
          global $CFG;
          // Print link to create a new course, for the 1st available category.
          $output = $this->container_start('buttons');
          $url = new moodle_url('/course/edit.php', array('category' => $CFG->defaultrequestcategory, 'returnto' => 'topcat'));
          $output .= $this->single_button($url, get_string('addnewcourse'), 'get');
          $output .= $this->container_end('buttons');
          return $output;
      }
code: public function add_new_course_button() {
          global $CFG;
          // Print link to create a new course, for the 1st available category.
          $output = $this->container_start('buttons');
          $url = new moodle_url('/course/edit.php', array('category' => $CFG->defaultrequestcategory, 'returnto' => 'topcat'));
          $output .= $this->single_button($url, get_string('addnewcourse'), 'get');
          $output .= $this->container_end('buttons');
          return $output;
      }
code_tokens: public function add_new_course_button ( ) { global $ CFG ; // Print link to create a new course, for the 1st available category. $ output = $ this -> container_start ( 'buttons' ) ; $ url = new moodle_url ( '/course/edit.php' , array ( 'category' => $ CFG -> defaultrequestcategory , 'returnto' => 'topcat' ) ) ; $ output .= $ this -> single_button ( $ url , get_string ( 'addnewcourse' ) , 'get' ) ; $ output .= $ this -> container_end ( 'buttons' ) ; return $ output ; }
docstring: Returns HTML to the "add new course" button for the page
  
  @return string
docstring_tokens: Returns HTML to the add new course button for the page