diff options
author | Vinicius Coque <vinicius.coque@bluepex.com> | 2010-06-02 10:22:35 -0300 |
---|---|---|
committer | Vinicius Coque <vinicius.coque@bluepex.com> | 2010-06-02 10:22:35 -0300 |
commit | 460b635f1428855d25847312c5bf441311a42de7 (patch) | |
tree | 7d460c9215a5bf9d2d583740927ce92e53f8fb08 /usr/local/www/interfaces_ppps_edit.php | |
parent | f1a7a39721ff3559ff5c5ab796787176862aff0a (diff) | |
download | pfsense-460b635f1428855d25847312c5bf441311a42de7.zip pfsense-460b635f1428855d25847312c5bf441311a42de7.tar.gz |
Listing service providers
- Added dropdown list to select provider
- Added javascrit methods to handle Ajax requests
Diffstat (limited to 'usr/local/www/interfaces_ppps_edit.php')
-rw-r--r-- | usr/local/www/interfaces_ppps_edit.php | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php index 45a1083..5d4df19 100644 --- a/usr/local/www/interfaces_ppps_edit.php +++ b/usr/local/www/interfaces_ppps_edit.php @@ -520,12 +520,37 @@ $types = array("select" => "Select", "ppp" => "PPP", "pppoe" => "PPPoE", "pptp" </select> <br/><span class="vexpl"><?= gettext("Interface(s) or port(s) participating in the connection."); ?></span> - <span style="display:none" id="prefil_ppp"> - <p/><?= gettext("Click a link to fill in defaults for these carriers:"); ?> - <a href='#' onClick='javascript:prefill_att();'>ATT</A> - <a href='#' onClick='javascript:prefill_sprint();'>Sprint</A> - <a href='#' onClick='javascript:prefill_vzw();'>Verizon</A> - </span> + </td> + </tr> + <tr name="prefil_ppp" id="prefil_ppp" style="display:none"> + <td width="22%" valign="top" class="vncell"><?= gettext("Service Provider"); ?></td> + <td width="78%" class="vtable"> + <table border="0" cellpadding="0" cellspacing="0"> + <tr id="trcountry" style="display:none"> + <td><?= gettext("Country"); ?> : </td> + <td> + <select class="formselect" name="country" id="country" onChange="providers_list()"> + <option></option> + </select> + </td> + </tr> + <tr id="trprovider" style="display:none"> + <td><?= gettext("Provider"); ?> : </td> + <td> + <select class="formselect" name="provider" id="provider" onChange="providerplan_list()"> + <option></option> + </select> + </td> + </tr> + <tr id="trproviderplan" style="display:none"> + <td><?= gettext("Plan"); ?> : </td> + <td> + <select class="formselect" name="providerplan" id="providerplan" onChange="prefill_provider()"> + <option></option> + </select> + </td> + </tr> + </table> </td> </tr> <tr style="display:none" name="portlists" id="portlists"> @@ -868,4 +893,4 @@ $types = array("select" => "Select", "ppp" => "PPP", "pppoe" => "PPPoE", "pptp" </form> <?php include("fend.inc"); ?> </body> -</html>
\ No newline at end of file +</html> |