diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2008-02-03 23:23:24 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2008-02-03 23:23:24 +0000 |
| commit | d895b852a6e160496ffc760d46d3719a3d62ff86 (patch) | |
| tree | 52230bb04148197e8312e09b5c5273417e7a3be9 /sidebar_left.php | |
Initial checkin of nutridb.org and basic subversion directory structure
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")); + +?> |
