Commit ec0f73f0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove sideblocks on transient login page

parent e18ba33b
...@@ -947,7 +947,7 @@ function auth_draw_login_page($message=null, Pieform $form=null) { ...@@ -947,7 +947,7 @@ function auth_draw_login_page($message=null, Pieform $form=null) {
if ($message) { if ($message) {
$SESSION->add_info_msg($message); $SESSION->add_info_msg($message);
} }
$smarty = smarty(array(), array(), array(), array('pagehelp' => false)); $smarty = smarty(array(), array(), array(), array('pagehelp' => false, 'sidebars' => false));
$smarty->assign('login_form', $loginform); $smarty->assign('login_form', $loginform);
$smarty->assign('PAGEHEADING', hsc(get_string('loginto', 'mahara', get_config('sitename')))); $smarty->assign('PAGEHEADING', hsc(get_string('loginto', 'mahara', get_config('sitename'))));
$smarty->display('login.tpl'); $smarty->display('login.tpl');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment