| 1 | <% do_pagehead("share.change"); %> |
|---|
| 2 | <script type="text/javascript">// |
|---|
| 3 | //<![CDATA[ |
|---|
| 4 | |
|---|
| 5 | document.title = "<% nvram_get("router_name"); %> - User Password Change"; |
|---|
| 6 | |
|---|
| 7 | function valid_password(F) { |
|---|
| 8 | if (F.http_passwd.value != F.http_passwdConfirm.value) { |
|---|
| 9 | alert(errmsg.err10); |
|---|
| 10 | F.http_passwdConfirm.focus(); |
|---|
| 11 | F.http_passwdConfirm.select(); |
|---|
| 12 | return false; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | return true; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | function to_submit(F) { |
|---|
| 20 | if (valid_password(F)) |
|---|
| 21 | { |
|---|
| 22 | F.change_action.value = "gozila_cgi"; |
|---|
| 23 | F.next_page.value = "Info.htm"; |
|---|
| 24 | F.submit_button.value = "index"; |
|---|
| 25 | F.submit_type.value = "changepass"; |
|---|
| 26 | F.changepassword.value = "Changing Password"; |
|---|
| 27 | F.action.value = "Apply"; |
|---|
| 28 | apply(F); |
|---|
| 29 | } |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | //]]> |
|---|
| 34 | </script> |
|---|
| 35 | </head> |
|---|
| 36 | |
|---|
| 37 | <body class="gui"> |
|---|
| 38 | <% showad(); %> |
|---|
| 39 | <div id="wrapper"> |
|---|
| 40 | <div id="content" class="infopage"> |
|---|
| 41 | <div id="header"> |
|---|
| 42 | <div id="logo"><h1><% show_control(); %></h1></div> |
|---|
| 43 | <div id="menu"> |
|---|
| 44 | <div id="menuMain"> |
|---|
| 45 | <ul id="menuMainList"> |
|---|
| 46 | <li><span><strong><% tran("bmenu.setup"); %></strong></span></li> |
|---|
| 47 | <% ifndef("HASWIFI", "<!--"); %> |
|---|
| 48 | <li><span><strong><% tran("bmenu.wireless"); %></strong></span></li> |
|---|
| 49 | <% ifndef("HASWIFI", "-->"); %> |
|---|
| 50 | <% nvram_invmatch("sipgate","1","<!--"); %> |
|---|
| 51 | <li><span><strong><% tran("bmenu.sipath"); %></strong></span></li> |
|---|
| 52 | <% nvram_invmatch("sipgate","1","-->"); %> |
|---|
| 53 | <li><span><strong><% tran("bmenu.services"); %></strong></span></li> |
|---|
| 54 | <li><span><strong><% tran("bmenu.security"); %></strong></span></li> |
|---|
| 55 | <li><span><strong><% tran("bmenu.accrestriction"); %></strong></span></li> |
|---|
| 56 | <li><span><strong><% tran("bmenu.applications"); %></strong></span></li> |
|---|
| 57 | <li><span><strong><% tran("bmenu.admin"); %></strong></span></li> |
|---|
| 58 | <li><span><strong><% tran("bmenu.statu"); %></strong></span></li> |
|---|
| 59 | </ul> |
|---|
| 60 | </div> |
|---|
| 61 | </div> |
|---|
| 62 | </div> |
|---|
| 63 | <div id="main"> |
|---|
| 64 | <form name="changepassword" action="apply.cgi" method="post"> |
|---|
| 65 | <input type="hidden" name="submit_button" value="index" /> |
|---|
| 66 | <input type="hidden" name="submit_type" /> |
|---|
| 67 | <input type="hidden" name="next_page" value="SetupAssistan.asp" /> |
|---|
| 68 | <input type="hidden" name="change_action" /> |
|---|
| 69 | <input type="hidden" name="action" value="Apply" /> |
|---|
| 70 | |
|---|
| 71 | <div id="contentsInfo"> |
|---|
| 72 | |
|---|
| 73 | <h2><% tran("management.h2"); %></h2> |
|---|
| 74 | <div class="warning"> |
|---|
| 75 | <div id="warning_text"><p><b><% tran("management.changepassword"); %></script></b></p></div> |
|---|
| 76 | </div> |
|---|
| 77 | <br /> |
|---|
| 78 | |
|---|
| 79 | <fieldset> |
|---|
| 80 | <legend><% tran("management.psswd_legend"); %></legend> |
|---|
| 81 | <div class="setting"> |
|---|
| 82 | <div class="label"><% tran("management.psswd_user"); %></div> |
|---|
| 83 | <input type="password" maxlength="63" size="20" value="d6nw5v1x2pc7st9m" name="http_username" onblur="valid_name(this,management.psswd_user,SPACE_NO)" /> |
|---|
| 84 | </div> |
|---|
| 85 | <div class="setting"> |
|---|
| 86 | <div class="label"><% tran("management.psswd_pass"); %></div> |
|---|
| 87 | <input type="password" maxlength="63" size="20" value="d6nw5v1x2pc7st9m" name="http_passwd" onblur="valid_name(this,management.psswd_pass,SPACE_NO)" /> |
|---|
| 88 | </div> |
|---|
| 89 | <div class="setting"> |
|---|
| 90 | <div class="label"><% tran("management.pass_conf"); %></div> |
|---|
| 91 | <input type="password" maxlength="63" size="20" value="d6nw5v1x2pc7st9m" name="http_passwdConfirm" onblur="valid_name(this,management.pass_conf,SPACE_NO)" /> |
|---|
| 92 | </div> |
|---|
| 93 | </fieldset><br /> |
|---|
| 94 | <div class="submitFooter"> |
|---|
| 95 | <script type="text/javascript"> |
|---|
| 96 | //<![CDATA[ |
|---|
| 97 | document.write("<input type=\"button\" name=\"changepassword\" value=\"Change Password\" onclick=\"to_submit(this.form)\" />"); |
|---|
| 98 | //]]> |
|---|
| 99 | </script> |
|---|
| 100 | </div> |
|---|
| 101 | </div> |
|---|
| 102 | </form> |
|---|
| 103 | </div> |
|---|
| 104 | <div id="floatKiller"></div> |
|---|
| 105 | <div id="statusInfo"> |
|---|
| 106 | <div class="info"><% tran("share.firmware"); %>: |
|---|
| 107 | <script type="text/javascript"> |
|---|
| 108 | //<![CDATA[ |
|---|
| 109 | document.write("<a title=\"" + share.about + "\" href=\"javascript:openAboutWindow()\"><% get_firmware_version(); %></a>"); |
|---|
| 110 | //]]> |
|---|
| 111 | </script> |
|---|
| 112 | </div> |
|---|
| 113 | <div class="info"><% tran("share.time"); %>: <span id="uptime"><% get_uptime(); %></span></div> |
|---|
| 114 | <div class="info">WAN<span id="ipinfo"><% show_wanipinfo(); %></span></div> |
|---|
| 115 | </div> |
|---|
| 116 | </div> |
|---|
| 117 | </div> |
|---|
| 118 | </body> |
|---|
| 119 | </html> |
|---|