Multilinguified Menu Manager

This commit is contained in:
Nate Jones
2013-05-18 22:07:59 +00:00
parent ee7495206a
commit be11f452bb
10 changed files with 365 additions and 132 deletions
+7 -1
View File
@@ -34,6 +34,12 @@ else {
return;
}
//add multi-lingual support
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
if (count($_GET)>0) {
//clear the menu session so it will rebuild with the update
$_SESSION["menu"] = "";
@@ -53,7 +59,7 @@ if (count($_GET)>0) {
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=menu_edit.php?id=$menu_uuid\">\n";
echo "<div align='center'>";
echo "Delete Completed";
echo $text['message-delete'];
echo "</div>";
require_once "includes/footer.php";
return;