Use the new text class for multi-lingual support.

This commit is contained in:
Mark Crane
2015-01-18 07:42:57 +00:00
parent 6244a12b64
commit 9f11255e80
+2 -4
View File
@@ -36,10 +36,8 @@ require_once "resources/require.php";
} }
//add multi-lingual support //add multi-lingual support
require_once "app_languages.php"; $language = new text;
foreach($text as $key => $value) { $text = $language->get();
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
//check duplicate mac address //check duplicate mac address
if ($_GET["mac"] != '' && $_GET["mac"] != "000000000000") { if ($_GET["mac"] != '' && $_GET["mac"] != "000000000000") {