source: src/router/kromo/dd-wrt/index_pppoe.asp @ 32669

Last change on this file since 32669 was 32669, checked in by brainslayer, 2 weeks ago

pppoe fix

File size: 4.8 KB
Line 
1<div class="setting">
2        <div class="label"><% tran("share.usrname"); %></div>
3        <input name="ppp_username" size="30" maxlength="63" onblur="valid_name(this,share.usrname)" value="<% nvg("ppp_username"); %>" />
4</div>
5<div class="setting">
6        <div class="label"><% tran("share.passwd"); %></div>
7        <input id="ppp_passwd" name="ppp_passwd" size="30" maxlength="63" onblur="valid_name(this,share.passwd)" type="password" autocomplete="off" value="<% nvg("ppp_passwd"); %>" />&nbsp;&nbsp;&nbsp;
8        <input type="checkbox" name="_ppp_passwd_unmask" value="0" onclick="setElementMask('ppp_passwd', this.checked)" >&nbsp;<% tran("share.unmask"); %></input>
9</div>
10<div class="setting">
11        <div class="label"><% tran("idx_h.reconnect"); %></div>
12        <input class="spaceradio" type="radio" value="1" name="reconnect_enable" <% nvc("reconnect_enable","1"); %> onclick="show_layer_ext(this, 'idreconnect', true)" /><% tran("share.enable"); %>&nbsp;
13        <input class="spaceradio" type="radio" value="0" name="reconnect_enable" <% nvc("reconnect_enable","0"); %> onclick="show_layer_ext(this, 'idreconnect', false)" /><% tran("share.disable"); %>
14</div>
15<div id="idreconnect">
16        <div class="setting">
17                <div class="label"><% tran("share.time"); %></div>
18                <select name="reconnect_hours">
19                        <% make_time_list("reconnect_hours","0","23"); %>
20                </select>:<select name="reconnect_minutes">
21                        <% make_time_list("reconnect_minutes","0","59"); %>
22                </select>
23        </div>
24</div>
25<div class="setting">
26        <div class="label"><% tran("share.advanced"); %></div>
27        <input type="checkbox" name="pppoeadv" value="1" <% selchecked("pppoeadv","1"); %> onclick="toggle_layer(this, 'pppoe_advanced')" />
28</div>
29<div id="pppoe_advanced">
30        <div class="setting">
31        <div class="label"><% tran("share.srv"); %></div>
32        <input name="ppp_service" size="30" maxlength="63" onblur="valid_name(this,share.srv)" value="<% nvg("ppp_service"); %>" />
33        </div>
34        <div class="setting">
35                <div class="label"><% tran("share.vdslvlan7"); %></div>
36                <input class="spaceradio" type="radio" name="wan_vdsl" value="1" <% nvc("wan_vdsl","1"); %> onclick="show_layer_ext(this, 'idvlan8', true)" /><% tran("share.enable"); %>&nbsp;
37                <input class="spaceradio" type="radio" name="wan_vdsl" value="0" <% nvc("wan_vdsl","0"); %> onclick="show_layer_ext(this, 'idvlan8', false)" /><% tran("share.disable"); %>
38        </div>
39        <div id="idvlan8">
40                <div class="setting">
41                        <div class="label"><% tran("share.vdslvlan8"); %></div>
42                        <input class="spaceradio" type="radio" name="dtag_vlan8" value="1" <% nvc("dtag_vlan8","1"); %> /><% tran("share.enable"); %>&nbsp;
43                        <input class="spaceradio" type="radio" name="dtag_vlan8" value="0" <% nvc("dtag_vlan8","0"); %> /><% tran("share.disable"); %>
44                </div>
45                <div class="setting">
46                        <div class="label"><% tran("share.vdslbng"); %></div>
47                        <input class="spaceradio" type="radio" name="dtag_bng" value="1" <% nvc("dtag_bng","1"); %> /><% tran("share.enable"); %>&nbsp;
48                        <input class="spaceradio" type="radio" name="dtag_bng" value="0" <% nvc("dtag_bng","0"); %> /><% tran("share.disable"); %>
49                </div>
50        </div>
51        <div class="setting">
52                <div class="label"><% tran("share.compression"); %></div>
53                <input class="spaceradio" type="radio" name="ppp_compression" value="1" <% nvc("ppp_compression","1"); %> /><% tran("share.enable"); %>&nbsp;
54                <input class="spaceradio" type="radio" name="ppp_compression" value="0" <% nvc("ppp_compression","0"); %> /><% tran("share.disable"); %>
55        </div>
56        <div class="setting">
57                <div class="label"><% tran("service.pptpd_encry"); %></div>
58                <input size="30" maxlength="63" onblur="valid_name(this,service.pptpd_encry)" name="ppp_mppe" value="<% nvg("ppp_mppe"); %>" />
59        </div>
60        <div class="setting">
61                <div class="label"><% tran("share.mlppp"); %></div>
62                <input type="checkbox" value="1" name="_ppp_mlppp" <% nvc("ppp_mlppp", "1"); %> />
63        </div>
64        <div class="setting">
65                <div class="label"><% tran("idx_h.con_strgy"); %><br />&nbsp;</div>
66                <input class="spaceradio" type="radio" name="ppp_demand" value="1" onclick="ppp_enable_disable(this.form,1)" <% nvc("ppp_demand","1"); %> /><% tran("idx_h.max_idle"); %>&nbsp;<input class="num" size="4" maxlength="4" name="ppp_idletime" onblur="valid_range(this,1,9999,idx_h.max_idle)" value="<% nvg("ppp_idletime"); %>" />&nbsp;<% tran("share.mins"); %><br />
67                <input class="spaceradio" type="radio" name="ppp_demand" value="0" onclick="ppp_enable_disable(this.form,0)" <% nvc("ppp_demand","0"); %> /><% tran("idx_h.alive"); %>&nbsp;<input class="num" size="4" maxlength="4" name="ppp_redialperiod" onblur="valid_range(this,20,180,idx_h.alive)" value="<% nvg("ppp_redialperiod"); %>" />&nbsp;<% tran("share.secs"); %>
68        </div>
69        <% atmsettings("pppoe"); %>
70</div>
71       
72<script>
73//<![CDATA[
74        show_layer_ext(document.setup.wan_vdsl, 'pppoe_advanced', <% else_selmatch("pppoeadv", "1", "1", "0"); %> == 1);
75        show_layer_ext(document.setup.wan_vdsl, 'idvlan8', <% else_selmatch("wan_vdsl", "1", "1", "0"); %> == 1);
76//]]>
77</script>
Note: See TracBrowser for help on using the repository browser.