forgot to add includes/MySmarty.class.php :(
moved a couple of things into an override of Smarty::display()
This commit is contained in:
parent
137d715568
commit
db7808688f
17 changed files with 61 additions and 53 deletions
|
@ -57,7 +57,6 @@ if (isset($_POST["action"]) && $_POST["action"] == "forgot") {
|
|||
}
|
||||
$smarty->assign('action', $_POST["action"]);
|
||||
$smarty->assign('username', $username);
|
||||
$smarty->assign('opt', $smarty->opt());
|
||||
$smarty->display('forgot.tpl');
|
||||
}
|
||||
catch (PDOException $e) {
|
||||
|
@ -65,7 +64,6 @@ if (isset($_POST["action"]) && $_POST["action"] == "forgot") {
|
|||
}
|
||||
}
|
||||
else {
|
||||
$smarty->assign('opt', $smarty->opt());
|
||||
$smarty->display('forgot.tpl');
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue