1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML
4.0//EN'
>
4 Copyright (C) 2006-2010 Jonathan Zarate
5 http://www.polarcloud.com/tomato/
7 For use with Tomato Firmware only.
8 No part of this file may be used without permission.
12 <meta http-equiv='content-type' content='text/html;charset=utf-
8'
>
13 <meta name='robots' content='noindex,nofollow'
>
14 <title>[<%
ident(); %>] Advanced: Miscellaneous
</title>
15 <link rel='stylesheet' type='text/css' href='tomato.css'
>
16 <link rel='stylesheet' type='text/css' href='color.css'
>
17 <script type='text/javascript' src='tomato.js'
></script>
21 <script type='text/javascript' src='debug.js'
></script>
23 <script type='text/javascript'
>
25 // <% nvram("wait_time,wan_speed"); %>
28 function verifyFields(focused
, quiet
)
36 if (fom
.wan_speed
.value
!= nvram
.wan_speed
) {
37 fom
._reboot
.value
= '1';
48 <form id='_fom' method='post' action='tomato.cgi'
>
49 <table id='container' cellspacing=
0>
50 <tr><td colspan=
2 id='header'
>
51 <div class='title'
>Tomato
</div>
52 <div class='version'
>Version <%
version(); %></div>
54 <tr id='body'
><td id='navi'
><script type='text/javascript'
>navi()</script></td>
56 <div id='ident'
><%
ident(); %></div>
60 <input type='hidden' name='_nextpage' value='advanced-misc.asp'
>
61 <input type='hidden' name='_reboot' value='
0'
>
63 <div class='section-title'
>Miscellaneous
</div>
65 <script type='text/javascript'
>
67 for (i
= 3; i
<= 20; ++i
) a
.push([i
, i
+ ' seconds']);
68 createFieldTable('', [
69 { title
: 'Boot Wait Time *', name
: 'wait_time', type
: 'select', options
: a
, value
: fixInt(nvram
.wait_time
, 3, 20, 3) },
70 { title
: 'WAN Port Speed *', name
: 'wan_speed', type
: 'select', options
: [[0,'10Mb Full'],[1,'10Mb Half'],[2,'100Mb Full'],[3,'100Mb Half'],[4,'Auto']], value
: nvram
.wan_speed
}
74 <small>* Not all models support these options.
</small>
82 <tr><td id='footer' colspan=
2>
83 <span id='footer-msg'
></span>
84 <input type='button' value='Save' id='save-button' onclick='save()'
>
85 <input type='button' value='Cancel' id='cancel-button' onclick='reloadPage();'
>
89 <script type='text/javascript'
>verifyFields(null, 1);</script>