diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/row_helper.js | 2 | ||||
-rwxr-xr-x | usr/local/www/row_helper_dynamic.js | 4 | ||||
-rwxr-xr-x | usr/local/www/services_igmpproxy_edit.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/row_helper.js b/usr/local/www/row_helper.js index 92e408b..15d23f1 100755 --- a/usr/local/www/row_helper.js +++ b/usr/local/www/row_helper.js @@ -25,7 +25,7 @@ var addRowTo = (function() { for (i = 0; i < field_counter_js; i++) { td = d.createElement("td"); if(rowtype[i] == 'textbox') { - td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input size='" + rowsize[i] + "' name='" + rowname[i] + totalrows + "'></input> "; + td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input size='" + rowsize[i] + "' class='formfld unknown' name='" + rowname[i] + totalrows + "'></input> "; } else if(rowtype[i] == 'select') { td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><select size='1' name='" + rowname[i] + totalrows + "'><option value=\"32\" selected>32</option><option value=\"31\" >31</option><option value=\"30\" >30</option><option value=\"29\" >29</option><option value=\"28\" >28</option><option value=\"27\" >27</option><option value=\"26\" >26</option><option value=\"25\" >25</option><option value=\"24\" >24</option><option value=\"23\" >23</option><option value=\"22\" >22</option><option value=\"21\" >21</option><option value=\"20\" >20</option><option value=\"19\" >19</option><option value=\"18\" >18</option><option value=\"17\" >17</option><option value=\"16\" >16</option><option value=\"15\" >15</option><option value=\"14\" >14</option><option value=\"13\" >13</option><option value=\"12\" >12</option><option value=\"11\" >11</option><option value=\"10\" >10</option><option value=\"9\" >9</option><option value=\"8\" >8</option><option value=\"7\" >7</option><option value=\"6\" >6</option><option value=\"5\" >5</option><option value=\"4\" >4</option><option value=\"3\" >3</option><option value=\"2\" >2</option><option value=\"1\" >1</option></select> "; } else { diff --git a/usr/local/www/row_helper_dynamic.js b/usr/local/www/row_helper_dynamic.js index 2a300aa..47c5140 100755 --- a/usr/local/www/row_helper_dynamic.js +++ b/usr/local/www/row_helper_dynamic.js @@ -32,9 +32,9 @@ var addRowTo = (function() { } else if(rowtype[i] == 'checkbox') { td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input type='checkbox'name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; } else if(rowtype[i] == 'input') { - td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input size='" + rowsize[i] + "' name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; + td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input class='formfld unknown' size='" + rowsize[i] + "' name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; } else if(rowtype[i] == 'password') { - td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input type='password' name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; + td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input class='formfld pwd' type='password' name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; } tr.appendChild(td); } diff --git a/usr/local/www/services_igmpproxy_edit.php b/usr/local/www/services_igmpproxy_edit.php index a84a1c2..be776ce 100755 --- a/usr/local/www/services_igmpproxy_edit.php +++ b/usr/local/www/services_igmpproxy_edit.php @@ -125,7 +125,7 @@ include("head.inc"); <script type="text/javascript" src="row_helper.js"> </script> -<input type='hidden' name='address_type' value='textbox' /> +<input type='hidden' name='address_type' value='textbox' class="formfld unknown" /> <input type='hidden' name='address_subnet_type' value='select' /> <script type="text/javascript"> @@ -199,7 +199,7 @@ include("head.inc"); <tr> <td valign="top" class="vncell">Threshold</td> <td class="vtable"> - <input name="threshold" class="formselect" id="threshold" value="<?php echo $pconfig['threshold'];?>"> + <input name="threshold" class="formfld unknown" id="threshold" value="<?php echo $pconfig['threshold'];?>"> <br /> <span class="vexpl"> Defines the TTL threshold for the network interface. Packets |