76498ee74df5c2c468f23d123402929a31c17eca
[bcm963xx.git] / userapps / broadcom / cfm / html / updatesettings.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--
3         (c) 2005 U.S. Robotics Corporation
4 -->
5 <!--
6         EasyConfigurator depends on this filename: updatesettings.html.
7         It also depends on /backupsettings.cfg and /upload.cgi.
8 -->
9 <html>
10 <head>
11         <title>Device &raquo; Restore Settings</title>
12
13         <link href="usr_main.css" rel="stylesheet" type="text/css">
14         <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
15         <script src="usr_common.js" type="text/javascript"></script>
16
17    <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
18
19    <script type="text/javascript" src="util.js"></script>
20    <script type="text/javascript">
21 <!-- hide
22 setPageTitle("<%ejGetWlJS(wlInterface)%>");
23
24 var progress = 0;
25
26 function isInProgress() {
27    if ( progress == 0 )  {
28       progress = 1;
29       return true;
30    }
31    alert('Updating configuration settings is in progress and the router will restart. Please wait a minute or so.');
32    return false;
33 }
34
35 // done hiding -->
36 </script>
37 </head>
38 <body onload="initMenu();">
39
40 <script type="text/javascript">
41         writeHeader("Device", "<%ejGetJS(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWlJS(wlInterface)%>", <%ejGetJS(enblQos)%>);
42 </script>
43
44
45 <h3>Restore Settings</h3>
46
47 <ol>
48         <li>Obtain a configuration file from your ISP.</li>
49         <li>Enter the path to the configuration file location in the box below or
50         press the <b>Browse</b> button to locate the file.</li>
51         <li>Press the <b>Restore</b> button once to upload the new configuration settings.</li>
52 </ol>
53
54 <p><b>Note:</b> The update process takes about one minute to complete, and your router will reboot.</p>
55
56 <form method='post' ENCTYPE='multipart/form-data' action='upload.cgi' onSubmit='return isInProgress();'>
57         <p><label for="filename">Configuration file:</label> <input type='file' name='filename' id='filename' size='15'></p>
58
59         <p><input type="submit" value="Restore"></p>
60 </form>
61
62
63 <script type="text/javascript">
64         writeFooter();
65 </script>
66
67 </body>
68 </html>