diff options
author | mcrane <mctch@yahoo.com> | 2009-05-31 02:32:26 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-05-31 02:32:26 -0600 |
commit | f05d9e652f80e52a8ce5988ac4231916c664bd4c (patch) | |
tree | e0f04d15059fe112ec68fb1ae1562ac672b783cd /config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp | |
parent | cf8abc2e725f42eb6176de1da77d5a03766fee6e (diff) | |
download | pfsense-packages-f05d9e652f80e52a8ce5988ac4231916c664bd4c.tar.gz pfsense-packages-f05d9e652f80e52a8ce5988ac4231916c664bd4c.tar.bz2 pfsense-packages-f05d9e652f80e52a8ce5988ac4231916c664bd4c.zip |
FreeSWITCH add order field for dialplan and public options, IVR add profile and sip uri, copy libspandsp.so.1 to libspandsp.so.2 so mod_fax will start, fix editarea path so the textarea tool will work.
Diffstat (limited to 'config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp b/config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp index bd719273..f3cbf71d 100644 --- a/config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp +++ b/config/freeswitch/freeswitch_dialplan_includes_details_edit.tmp @@ -59,7 +59,7 @@ if (isset($_POST['dialplanincludeid'])) { //action //antiaction //param - //tagorder + //fieldorder //1-20 //fieldtype @@ -69,7 +69,7 @@ if (isset($_POST['dialplanincludeid'])) { if (isset($id) && $a_dialplan_includes_details[$id]) { $pconfig['dialplanincludeid'] = $a_dialplan_includes_details[$id]['dialplanincludeid']; $pconfig['tag'] = $a_dialplan_includes_details[$id]['tag']; - //$pconfig['tagorder'] = $a_dialplan_includes_details[$id]['tagorder']; + $pconfig['fieldorder'] = $a_dialplan_includes_details[$id]['fieldorder']; $pconfig['fieldtype'] = $a_dialplan_includes_details[$id]['fieldtype']; $pconfig['fielddata'] = $a_dialplan_includes_details[$id]['fielddata']; } @@ -93,7 +93,7 @@ if ($_POST) { $ent = array(); $ent['dialplanincludeid'] = $_POST['dialplanincludeid']; $ent['tag'] = $_POST['tag']; - //$ent['tagorder'] = $_POST['tagorder']; + $ent['fieldorder'] = $_POST['fieldorder']; $ent['fieldtype'] = $_POST['fieldtype']; $ent['fielddata'] = $_POST['fielddata']; @@ -138,7 +138,7 @@ display_top_tabs(build_menu()); <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="tabcont" > - + <br /> <form action="freeswitch_dialplan_includes_details_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> @@ -233,6 +233,33 @@ display_top_tabs(build_menu()); <br> <span class="vexpl"></span></td> </tr> <tr> + <td width="22%" valign="top" class="vncellreq" id="label_fieldtype">Order</td> + <td width="78%" class="vtable"> + <?php + echo " <select name='fieldorder' class='formfld'>\n"; + //echo " <option></option>\n"; + if (strlen(htmlspecialchars($pconfig['fieldorder']))> 0) { + echo " <option selected='yes' value='".htmlspecialchars($pconfig['fieldorder'])."'>".htmlspecialchars($pconfig['fieldorder'])."</option>\n"; + } + $i=0; + while($i<=999) { + 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) == 3) { + echo " <option value='$i'>$i</option>\n"; + } + + $i++; + } + echo " </select>\n"; + ?> + </td> + </tr> + <tr> <td width="22%" valign="top"> </td> <td width="78%"> <input name="dialplanincludeid" type="hidden" value="<?=$dialplanincludeid;?>"> |