summaryrefslogtreecommitdiff
path: root/sidebar_left.php
blob: 111d7c520f9ac30961145b798068e8546a8f65e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

/**
 * Copyright (c) 2007 Nathan Kinkade
 * 
 * This code is offered under an MIT (X11) license.  For more information
 * about the terms of this license see the file LICENSE included with this
 * software or visit: http://www.opensource.org/licenses/mit-license.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"));

?>