diff --git a/app/time_conditions/app_languages.php b/app/time_conditions/app_languages.php
index 1663744d7d..7cdd5151e7 100644
--- a/app/time_conditions/app_languages.php
+++ b/app/time_conditions/app_languages.php
@@ -1,4 +1,4 @@
-\n";
echo " ".$text['label-template'].":\n";
echo "\n";
echo "
\n";
-echo " | \n";
echo "\n";
//switch_select_destination(select_type, select_label, select_name, select_value, select_style, $action);
-switch_select_destination("dialplan", $action_1, "action_1", $action_1, "width: 60%;", "");
+switch_select_destination("dialplan", $action_1, "action_1", $action_1, "", "");
echo " | \n";
echo "\n";
@@ -999,7 +999,7 @@ echo "\n";
echo "\n";
//switch_select_destination(select_type, select_label, select_name, select_value, select_style, $action);
-switch_select_destination("dialplan", $anti_action_1, "anti_action_1", $anti_action_1, "width: 60%;", "");
+switch_select_destination("dialplan", $anti_action_1, "anti_action_1", $anti_action_1, "", "");
echo " \n";
echo " | \n";
@@ -1010,21 +1010,17 @@ echo "\n";
echo " ".$text['label-order'].":\n";
echo " | \n";
echo "\n";
-echo " \n";
-if (strlen(htmlspecialchars($dialplan_order))> 0) {
- echo " \n";
-}
-
+echo " \n";
$i = 300;
while($i <= 999) {
- if (strlen($i) == 1) { echo " \n"; }
- if (strlen($i) == 2) { echo " \n"; }
- if (strlen($i) == 3) { echo " \n"; }
+ $selected = ($dialplan_order == $i) ? "selected" : null;
+ if (strlen($i) == 1) { echo "\n"; }
+ if (strlen($i) == 2) { echo "\n"; }
+ if (strlen($i) == 3) { echo "\n"; }
$i = $i + 10;
}
echo " \n";
-echo " \n";
-echo "\n";
+echo " \n";
echo " | \n";
echo "\n";
@@ -1033,7 +1029,7 @@ echo "\n";
echo " ".$text['label-enabled'].":\n";
echo " | \n";
echo "\n";
-echo " \n";
+echo " \n";
if ($dialplan_enabled == "true") {
echo " \n";
}
@@ -1057,7 +1053,7 @@ echo "| \n";
echo " ".$text['label-description'].":\n";
echo " | \n";
echo "\n";
-echo " \n";
+echo " \n";
echo " \n";
echo "\n";
echo " | \n";
|