Multilinguified Hot Desking, fixed bug where editing an existing Extension detected its own Unique ID and prevented the update.

This commit is contained in:
Nate Jones
2013-06-06 21:31:19 +00:00
parent 42359137e8
commit d062df4e0c
4 changed files with 100 additions and 43 deletions
+8 -2
View File
@@ -34,6 +34,12 @@ else {
exit;
}
//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) {
$id = check_str($_GET["id"]);
}
@@ -78,10 +84,10 @@ if (count($_GET)>0) {
echo "<div align='center'>\n";
echo " <table width='40%'>\n";
echo " <tr>\n";
echo " <th align='left'>Message</th>\n";
echo " <th align='left'>".$text['header-message']."</th>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td class='row_style1'><strong>Delete Complete</strong></td>\n";
echo " <td class='row_style1'><strong>".$text['message-delete']."</strong></td>\n";
echo " </tr>\n";
echo " </table>\n";
echo " <br />\n";