Add the text class to more of the applications.

This commit is contained in:
Mark Crane
2015-01-18 10:06:08 +00:00
parent fbb48feb0d
commit 03220c9754
176 changed files with 518 additions and 865 deletions
+2 -4
View File
@@ -35,10 +35,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();
//get the ID
if (count($_GET) > 0) {
+2 -4
View File
@@ -41,10 +41,8 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.
}
//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"])) {
+7 -10
View File
@@ -40,17 +40,14 @@ else {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
require_once "resources/header.php";
$document['title'] = $text['title-destinations'];
//includes and title
require_once "resources/header.php";
$document['title'] = $text['title-destinations'];
require_once "resources/paging.php";
require_once "resources/paging.php";
//get the http values and set them as variables
$search = check_str($_GET["search"]);
if (isset($_GET["order_by"])) {
$order_by = check_str($_GET["order_by"]);
$order = check_str($_GET["order"]);
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//show the content
echo "<div align='center'>";