Assembla home | Assembla project page
 

Changeset 66

Show
Ignore:
Timestamp:
09/09/07 05:48:59 (1 year ago)
Author:
evdowizard
Message:

reformatted wan-lan setup page

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/imagebuilder/files/www/cgi-bin/webif/network-wan-lan.sh

    r64 r66  
    315315        set_visible('opendns_form', v); 
    316316        set_visible('wwan_network_settings', v); 
     317        set_visible('wwan_connection_settings', v); 
    317318        set_visible('field_wwan_keepalive', v && !isset('wwan_redial', 'demand')); 
    318319        set_visible('field_wwan_idletime', v && isset('wwan_redial', 'demand')); 
     
    343344end_form 
    344345 
     346start_form|@TR<<WAN IP Settings>>|wan_ip_settings|hidden 
     347field|@TR<<IP Address>>|field_wan_ipaddr|hidden 
     348text|wan_ipaddr|$FORM_wan_ipaddr 
     349field|@TR<<Netmask>>|field_wan_netmask|hidden 
     350text|wan_netmask|$FORM_wan_netmask 
     351field|@TR<<Default Gateway>>|field_wan_gateway|hidden 
     352text|wan_gateway|$FORM_wan_gateway 
     353$PPTP_SERVER_OPTION 
     354helpitem|WAN IP Settings 
     355helptext|Helptext WAN IP Settings#IP Settings are optional for DHCP and PPTP. They are used as defaults in case the DHCP server is unavailable. 
     356end_form 
     357 
     358start_form|@TR<<WAN DNS Settings>>|wan_dns|hidden 
     359listedit|wandns|$SCRIPT_NAME?wan_proto=static&amp;|$FORM_wandns|$FORM_wandnsadd 
     360helpitem|Note 
     361helptext|Helptext WAN DNS save#You should save your settings on this page before adding/removing DNS servers 
     362end_form 
     363 
     364start_form|@TR<<WAN PPP Settings>>|ppp_settings|hidden 
     365field|@TR<<Redial Policy>>|redial|hidden 
     366select|ppp_redial|$FORM_ppp_redial 
     367option|demand|@TR<<Connect on Demand>> 
     368option|persist|@TR<<Keep Alive>> 
     369field|@TR<<Maximum Idle Time>>|demand_idletime|hidden 
     370text|ppp_idletime|$FORM_ppp_idletime 
     371helpitem|Maximum Idle Time 
     372helptext|Helptext Idle Time#The number of seconds without internet traffic that the router should wait before disconnecting from the Internet (Connect on Demand only) 
     373field|@TR<<Redial Timeout>>|persist_redialperiod|hidden 
     374text|ppp_redialperiod|$FORM_ppp_redialperiod 
     375helpitem|Redial Timeout 
     376helptext|Helptext Redial Timeout#The number of seconds to wait after receiving no response from the provider before trying to reconnect 
     377field|@TR<<Username>>|username|hidden 
     378text|ppp_username|$FORM_ppp_username 
     379field|@TR<<Password>>|passwd|hidden 
     380password|ppp_passwd|$FORM_ppp_passwd 
     381field|@TR<<MTU>>|mtu|hidden 
     382text|ppp_mtu|$FORM_ppp_mtu 
     383end_form 
     384 
    345385$WWAN_CONFIG_FORM 
    346386 
    347 start_form|@TR<<Mobile Network Configuration>>|wwan_network_settings|hidden 
     387start_form|@TR<<WWAN Connection Settings>>|wwan_connection_settings 
    348388field|@TR<<Connection Mode>>|field_wwan_redial 
    349389select|wwan_redial|$FORM_wwan_redial 
     
    358398radio|wwan_keepalive|$FORM_wwan_keepalive|1|@TR<<Yes>> 
    359399radio|wwan_keepalive|$FORM_wwan_keepalive|0|@TR<<No>> 
    360 helpitem|Keepalive 
    361 helptext|Helptext Keepalive#The keepalive daemon insures that the internet is always connected and responding. Keepalive cannot be used with Connect on Demand mode. 
    362 field| 
    363 string|<br> 
     400end_form 
     401 
     402start_form|@TR<<WWAN Network Settings>>|wwan_network_settings|hidden 
    364403onchange|wwanchange 
    365404field|@TR<<Network>>|field_wwan_network 
     
    390429end_form 
    391430 
    392 start_form|@TR<<IP Settings>>|wan_ip_settings|hidden 
    393 field|@TR<<WAN IP Address>>|field_wan_ipaddr|hidden 
    394 text|wan_ipaddr|$FORM_wan_ipaddr 
    395 field|@TR<<Netmask>>|field_wan_netmask|hidden 
    396 text|wan_netmask|$FORM_wan_netmask 
    397 field|@TR<<Default Gateway>>|field_wan_gateway|hidden 
    398 text|wan_gateway|$FORM_wan_gateway 
    399 $PPTP_SERVER_OPTION 
    400 helpitem|WAN IP Settings 
    401 helptext|Helptext WAN IP Settings#IP Settings are optional for DHCP and PPTP. They are used as defaults in case the DHCP server is unavailable. 
    402 end_form 
    403  
    404431start_form|@TR<<OpenDNS Service>>|opendns_form|hidden 
    405432field|@TR<<Utilize OpenDNS>> 
     
    411438end_form 
    412439 
    413 start_form|@TR<<WAN DNS Servers>>|wan_dns|hidden 
    414 listedit|wandns|$SCRIPT_NAME?wan_proto=static&amp;|$FORM_wandns|$FORM_wandnsadd 
    415 helpitem|Note 
    416 helptext|Helptext WAN DNS save#You should save your settings on this page before adding/removing DNS servers 
    417 end_form 
    418  
    419 start_form|@TR<<PPP Settings>>|ppp_settings|hidden 
    420 field|@TR<<Redial Policy>>|redial|hidden 
    421 select|ppp_redial|$FORM_ppp_redial 
    422 option|demand|@TR<<Connect on Demand>> 
    423 option|persist|@TR<<Keep Alive>> 
    424 field|@TR<<Maximum Idle Time>>|demand_idletime|hidden 
    425 text|ppp_idletime|$FORM_ppp_idletime 
    426 helpitem|Maximum Idle Time 
    427 helptext|Helptext Idle Time#The number of seconds without internet traffic that the router should wait before disconnecting from the Internet (Connect on Demand only) 
    428 field|@TR<<Redial Timeout>>|persist_redialperiod|hidden 
    429 text|ppp_redialperiod|$FORM_ppp_redialperiod 
    430 helpitem|Redial Timeout 
    431 helptext|Helptext Redial Timeout#The number of seconds to wait after receiving no response from the provider before trying to reconnect 
    432 field|@TR<<Username>>|username|hidden 
    433 text|ppp_username|$FORM_ppp_username 
    434 field|@TR<<Password>>|passwd|hidden 
    435 password|ppp_passwd|$FORM_ppp_passwd 
    436 field|@TR<<MTU>>|mtu|hidden 
    437 text|ppp_mtu|$FORM_ppp_mtu 
    438 end_form 
    439  
    440440start_form|@TR<<LAN Configuration>> 
    441 field|@TR<<LAN IP Address>> 
     441field|@TR<<IP Address>> 
    442442text|lan_ipaddr|$FORM_lan_ipaddr 
    443443helpitem|IP Address