Add the languages array

This commit is contained in:
Mark Crane
2014-05-13 06:09:28 +00:00
parent 6c54d110c5
commit 59e112e7ff

View File

@@ -39,6 +39,9 @@ else {
//add multi-lingual support
require_once "app_languages.php";
foreach($text['button-save'] as $key => $value) {
$languages[$key] = '';
}
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}