http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / userapps / broadcom / cfm / html / upload.html
index eebfad0..6a8976e 100755 (executable)
@@ -1,50 +1,82 @@
-<html>
-   <head>
-      <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
-      <link rel="stylesheet" href='stylemain.css' type='text/css'>
-         <link rel="stylesheet" href='colors.css' type='text/css'>
-            <script language="javascript">
-<!-- hide
-
-var progress = 0;
-
-function isInProgress() {
-   if ( progress == 0 )  {
-      progress = 1;
-      return true;
-   }
-   alert('Upload software is in progress. Please wait for a minute.');
-   return false;
-}
-
-// done hiding -->
-</script>
-   </head>
-   <body>
-      <blockquote>
-         <form method='post' ENCTYPE='multipart/form-data' action='upload.cgi' onSubmit='return isInProgress();'>
-            <b>Tools -- Update Software</b><br>
-            <br>
-            <b>Step 1:</b> Obtain an updated software image file from your ISP.<br>
-            <br>
-            <b>Step 2:</b> Enter the path to the image file location in the box below or 
-            click the &quot;Browse&quot; button to locate the image file.<br>
-            <br>
-            <b>Step 3:</b> Click the "Update Software" button once to upload the new image 
-            file.<br>
-            <br>
-            NOTE: The update process takes about 2 minutes to complete, and your DSL Router 
-            will reboot.<br>
-            <br>
-            <table border="0" cellpadding="0" cellspacing="0">
-               <tr>
-                  <td>Software File Name:&nbsp;
-                  </td>
-                  <td><input type='file' name='filename' size='15'></td>
-               </tr>
-            </table>
-            <p align="center"><input type='submit' value='Update Software'></p>
-         </form>
-      </blockquote>
-   </body>
-</html>
+<html>\r
+   <head>\r
+      <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>\r
+      <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>\r
+      <link rel="stylesheet" href='stylemain.css' type='text/css'>\r
+         <link rel="stylesheet" href='colors.css' type='text/css'>\r
+            <script language="javascript">\r
+<!-- hide\r
+parent.helpframe.location.href="hlpupgrade.html";\r
+var progress = 0;\r
+\r
+function isInProgress() {\r
+       if ( progress == 0 )  {\r
+       progress = 1;\r
+       if(document.getElementById('filename').value == ''){\r
+               alert('Please select new firmware file.');\r
+               progress = 0;\r
+               return false;\r
+       }\r
+       return true;\r
+       }\r
+       alert('Upload software is in progress. Please wait for a minute.');\r
+       return false;\r
+}\r
+\r
+// done hiding -->\r
+</script>\r
+   </head>\r
+   <body>\r
+      \r
+         <form method='post' ENCTYPE='multipart/form-data' action='upload.cgi' onSubmit='return isInProgress();' class="formpadding">                        \r
+            <table border="0" cellpadding="0" cellspacing="0" width="98%">\r
+            <tr>\r
+              <td><b><font class="netgear">Firmware Upgrade</font></b></td>\r
+            </tr>\r
+            <tr><td>&nbsp;</td></tr>
+                       <tr>\r
+                         <td background="liteblue.gif" height="12">&nbsp;</td>\r
+                       </tr>
+                       </table>\r
+            <!--<br>\r
+            <table border='1' cellspacing="0" cellpadding="0">\r
+            <tr><td width="54" valign="top"><b>Step 1:&nbsp;</b></td><td>Obtain an updated firmware image file from your ISP.</td></tr>\r
+            <tr><td valign="top"><b>Step 2:&nbsp;</b></td><td  width="496">Enter the path to the image file location in the box below or click "Browse" to locate the image file.</td></tr>\r
+            <tr><td><b>Step 3:&nbsp;</b></td><td>Click "Update Firmware" once to upload the new image file.</td></tr> \r
+            </table>\r
+            <br>-->\r
+            <table border="0" cellpadding="0" cellspacing="0" width="98%">\r
+               <tr>\r
+                  <td height="30" colspan="2"><font color="#FF0000" style="font-size: 13px"><b>Warning: DO NOT switch off your ADSL router during firmware upgrades.</b></font></td>                  \r
+               </tr>\r
+               <tr>\r
+               <td>&nbsp;</td>\r
+               </tr>\r
+               <tr>\r
+                  <td height="30">Current Firmware Version:</td>\r
+                  <td><%ejGet(sysVersion)%></td>\r
+               </tr>               \r
+               <tr>\r
+                  <td height="40" colspan="2" nowrap>New Firmware File Name:&nbsp;</td>                  \r
+                  <!--td><input type='file' name='filename' id="filename" size='45'></td-->\r
+               </tr>\r
+               <tr>                                \r
+                  <td colspan="2"><input type='file' name='filename' id="filename" size='60'></td>\r
+               </tr>\r
+            </table>\r
+            <p></p>\r
+            <table border="0" cellpadding="0" cellspacing="0" width="98%">
+                       <tr>\r
+                         <td colspan="2" background="liteblue.gif" height="12">&nbsp;</td>\r
+                       </tr>
+                       </table>\r
+            <table border="0" cellpadding="0" cellspacing="0" width='98%'>\r
+            <tr>\r
+            <td width="160"><input type='submit' value='Firmware Upgrade'></td>\r
+            <td class="grey_comment" width="280">The upgrade process takes about 2 minutes to complete, then your ADSL router will reboot.</td>\r
+            </tr>\r
+            </table>\r
+         </form>\r
+      \r
+   </body>\r
+</html>\r