diff options
Diffstat (limited to 'sidebar_left.php')
| -rw-r--r-- | sidebar_left.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sidebar_left.php b/sidebar_left.php new file mode 100644 index 0000000..f1396ed --- /dev/null +++ b/sidebar_left.php @@ -0,0 +1,11 @@ +<?php + +# put the current meal items in an array if it exists +if ( isset($_SESSION['currentMeal']) ) { + $smarty->assign("currentMealItems", $_SESSION['currentMeal']); +} + +# grab the page +$smarty->assign("sidebar_left", $smarty->fetch("sidebar_left.tpl")); + +?> |
