/** * Render the login signup form into a nice template for the theme. * * @param mform $form * @return string */ public function render_login_signup_form($form) { $context = $form->export_for_template($this); return $this->render_from_template('core/signup_form_layout', $context); }
/** * Render the login signup form into a nice template for the theme. * * @param mform $form * @return string */ public function render_login_signup_form($form) { global $SITE; $context = $form->export_for_template($this); $url = $this->get_logo_url(); if ($url) { $url = $url->out(false); } $context['logourl'] = $url; $context['sitename'] = format_string($SITE->fullname, true, array('context' => context_course::instance(SITEID))); return $this->render_from_template('core/signup_form_layout', $context); }