From f3aef2ec03ba9f00d9c4a9c4cf0f6a0f8c051468 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Wed, 14 Nov 2012 20:49:06 +0000 Subject: More changing of meal to recipe. --- view_meal.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'view_meal.php') diff --git a/view_meal.php b/view_meal.php index 20ff14c..c5da293 100644 --- a/view_meal.php +++ b/view_meal.php @@ -32,7 +32,7 @@ if ( isset($_POST['action']) && ($_POST['action'] == "viewMeal") ) { # don't go forward if there isn't a meal or it isn't a number if ( ! isset($_GET['meal']) || ! is_numeric($_GET['meal']) ) { - $_SESSION['systemMsg'] = "You must specify a numeric meal ID."; + $_SESSION['systemMsg'] = "You must specify a numeric recipe ID."; header("Location: {$config->_previousUri}"); exit; } @@ -44,9 +44,9 @@ if ( $_GET['meal'] == "0" ) { # back to wherever they were before if ( isset($_SESSION['currentMeal']) && count($_SESSION['currentMeal'])) { $currentMeal = $_SESSION['currentMeal']; - $smarty->assign("mealDesc", "(Current meal)"); + $smarty->assign("mealDesc", "(Current recipe)"); } else { - $_SESSION['systemMsg'] = "The current meal has no items to view."; + $_SESSION['systemMsg'] = "The current recipe has no items to view."; header("Location: {$config->_previousUri}"); } } else { @@ -71,7 +71,7 @@ if ( $_GET['meal'] == "0" ) { $currentMeal[$idx]['description'] = $db->_rows[$idx]['description']; } } else { - $_SESSION['systemMsg'] = "Sorry, that meal doesn't exist."; + $_SESSION['systemMsg'] = "Sorry, that recipe doesn't exist."; header("Location: {$config->_previousUri}"); exit; } -- cgit v1.2.3