public function standard_footer_html() { $output = parent::standard_footer_html(); $output .= html_writer::start_tag('div', array('class' => 'themecredit')) . get_string('credit', 'theme_essential') . html_writer::link('//about.me/gjbarnard', 'Gareth J Barnard', array('target' => '_blank')) . html_writer::end_tag('div'); return $output; }
/** * Constructor * * @param moodle_page $page the page we are doing output for. * @param string $target one of rendering target constants */ public function __construct(\moodle_page $page, $target) { parent::__construct($page, $target); $this->themeconfig[] = \theme_config::load('essentials'); // Initialised by the Essential constructor. }