summaryrefslogtreecommitdiff
path: root/view_meal.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-11-14 20:49:06 +0000
committerNathan Kinkade <nath@nkinka.de>2012-11-14 20:49:06 +0000
commitf3aef2ec03ba9f00d9c4a9c4cf0f6a0f8c051468 (patch)
tree3163a2c193f40a6a7059b124d605b493975fa0f1 /view_meal.php
parent4c9e1b32a4ffb2fdcf04e691e83c5e52eed186ff (diff)
More changing of meal to recipe.
Diffstat (limited to 'view_meal.php')
-rw-r--r--view_meal.php8
1 files changed, 4 insertions, 4 deletions
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'] = "<span class='msgError'>You must specify a numeric meal ID.</span>";
+ $_SESSION['systemMsg'] = "<span class='msgError'>You must specify a numeric recipe ID.</span>";
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'] = "<span class='msgError'>The current meal has no items to view.</span>";
+ $_SESSION['systemMsg'] = "<span class='msgError'>The current recipe has no items to view.</span>";
header("Location: {$config->_previousUri}");
}
} else {
@@ -71,7 +71,7 @@ if ( $_GET['meal'] == "0" ) {
$currentMeal[$idx]['description'] = $db->_rows[$idx]['description'];
}
} else {
- $_SESSION['systemMsg'] = "<span class='msgError'>Sorry, that meal doesn't exist.</span>";
+ $_SESSION['systemMsg'] = "<span class='msgError'>Sorry, that recipe doesn't exist.</span>";
header("Location: {$config->_previousUri}");
exit;
}