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
|
@ -82,8 +82,6 @@ try {
|
|||
$smarty->assign('totalprice', formatPrice($totalprice, $opt));
|
||||
$smarty->assign('itemcount', $itemcount);
|
||||
$smarty->assign('userid', $userid);
|
||||
$smarty->assign('isadmin', $_SESSION["admin"]);
|
||||
$smarty->assign('opt', $smarty->opt());
|
||||
$smarty->display('shoplist.tpl');
|
||||
}
|
||||
catch (PDOException $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue