Move the access controls to the new resources/classes/text translation class.

This commit is contained in:
markjcrane
2015-12-21 00:52:40 -07:00
parent 8dd5cf74ab
commit aef0cb5c33
6 changed files with 17 additions and 22 deletions

View File

@@ -11,10 +11,8 @@ else {
}
//add multi-lingual support
//require_once "app_languages.php";
//foreach($text as $key => $value) {
// $text[$key] = $value[$_SESSION['domain']['language']['code']];
//}
$language = new text;
$text = $language->get();
//action add or update
if (isset($_REQUEST["id"])) {