Set the outbound routes default order to 100.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
Portions created by the Initial Developer are Copyright (C) 2008-2014
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -850,24 +850,24 @@ function type_onchange(dialplan_detail_type) {
|
|||||||
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||||
echo " ".$text['label-order'].":\n";
|
echo " ".$text['label-order'].":\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "<td class='vtable' align='left'>\n";
|
echo "<td class='vtable' align='left'>\n";
|
||||||
echo " <select name='dialplan_order' class='formfld' style='width: 60%;'>\n";
|
echo " <select name='dialplan_order' class='formfld' style='width: 60%;'>\n";
|
||||||
//echo " <option></option>\n";
|
//echo " <option></option>\n";
|
||||||
if (strlen(htmlspecialchars($dialplan_order))> 0) {
|
if (strlen(htmlspecialchars($dialplan_order))> 0) {
|
||||||
echo " <option selected='yes' value='".htmlspecialchars($dialplan_order)."'>".htmlspecialchars($dialplan_order)."</option>\n";
|
echo " <option selected='yes' value='".htmlspecialchars($dialplan_order)."'>".htmlspecialchars($dialplan_order)."</option>\n";
|
||||||
}
|
}
|
||||||
$i=0;
|
$i = 100;
|
||||||
while($i<=999) {
|
while($i <= 999) {
|
||||||
if (strlen($i) == 1) { echo " <option value='00$i'>00$i</option>\n"; }
|
if (strlen($i) == 1) { echo " <option value='00$i'>00$i</option>\n"; }
|
||||||
if (strlen($i) == 2) { echo " <option value='0$i'>0$i</option>\n"; }
|
if (strlen($i) == 2) { echo " <option value='0$i'>0$i</option>\n"; }
|
||||||
if (strlen($i) == 3) { echo " <option value='$i'>$i</option>\n"; }
|
if (strlen($i) == 3) { echo " <option value='$i'>$i</option>\n"; }
|
||||||
$i++;
|
$i = $i + 10;
|
||||||
}
|
}
|
||||||
echo " </select>\n";
|
echo " </select>\n";
|
||||||
echo "<br />\n";
|
echo " <br />\n";
|
||||||
echo $text['description-order']."\n";
|
echo " ".$text['description-order']."\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user