Revision d732f186
Added by Bill Marquette almost 20 years ago
usr/local/www/carp_status.php | ||
---|---|---|
68 | 68 |
<form action="carp_status.php" method="post"> |
69 | 69 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
70 | 70 |
|
71 |
<div id="mainarea"> |
|
72 | 71 |
|
73 | 72 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
74 | 73 |
<tr><td> |
... | ... | |
80 | 79 |
display_top_tabs($tab_array); |
81 | 80 |
?> |
82 | 81 |
</td></tr> |
83 |
<tr><td class="tabcont"> |
|
84 |
|
|
82 |
<tr><td> |
|
83 |
<div id="mainarea"> |
|
84 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
85 |
<tr><td> |
|
85 | 86 |
<?php |
86 | 87 |
if($status == false) { |
87 | 88 |
$carp_enabled = false; |
... | ... | |
90 | 91 |
$carp_enabled = true; |
91 | 92 |
echo "<input type=\"submit\" name=\"disablecarp\" id=\"disablecarp\" value=\"Disable Carp\">"; |
92 | 93 |
} |
94 |
echo "</td></tr></table>"; |
|
93 | 95 |
|
94 | 96 |
if(!is_array($config['installedpackages']['carp']['config'])) { |
95 |
echo "</td></tr></table><center><br>Could not locate any defined CARP interfaces."; |
|
97 |
echo "</div></td></tr></table><center><br>Could not locate any defined CARP interfaces.";
|
|
96 | 98 |
echo "</center>"; |
97 | 99 |
|
98 | 100 |
include("fend.inc"); |
... | ... | |
103 | 105 |
|
104 | 106 |
<p> |
105 | 107 |
|
106 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
108 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
|
|
107 | 109 |
</tr> |
108 | 110 |
<tr> |
109 | 111 |
<td class="listhdrr"><b><center>Carp Interface</center></b></td> |
... | ... | |
161 | 163 |
</center> |
162 | 164 |
</td></tr> |
163 | 165 |
</table> |
166 |
</div> |
|
164 | 167 |
</td></tr> |
165 | 168 |
</table> |
166 |
</div> |
|
167 | 169 |
|
168 | 170 |
<?php include("fend.inc"); ?> |
169 |
<script type="text/javascript"> |
|
170 |
NiftyCheck(); |
|
171 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
172 |
</script> |
|
173 |
|
|
174 | 171 |
</body> |
175 | 172 |
</html> |
176 |
|
usr/local/www/firewall_nat.php | ||
---|---|---|
139 | 139 |
<?php if (file_exists($d_natconfdirty_path)): ?><p> |
140 | 140 |
<?php print_info_box_np("The NAT configuration has been changed.<br>You must apply the changes in order for them to take effect.");?> |
141 | 141 |
<?php endif; ?> |
142 |
<div id="mainarea"> |
|
143 | 142 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
144 | 143 |
<tr><td> |
145 | 144 |
<?php |
... | ... | |
153 | 152 |
?> |
154 | 153 |
</td></tr> |
155 | 154 |
<tr> |
156 |
<td class="tabcont"> |
|
157 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
155 |
<td> |
|
156 |
<div id="mainarea"> |
|
157 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
158 | 158 |
<tr id="frheader"> |
159 | 159 |
<td width="3%" class="list"> </td> |
160 | 160 |
<td width="3%" class="list"> </td> |
... | ... | |
235 | 235 |
<td><?php if ($nnats == 0): ?><img src="x_d.gif" width="17" height="17" title="delete selected rules" border="0"><?php else: ?><input name="del" type="image" src="x.gif" width="17" height="17" title="delete selected mappings" onclick="return confirm('Do you really want to delete the selected mappings?')"><?php endif; ?></td> |
236 | 236 |
</tr> |
237 | 237 |
</table></td> |
238 |
</tr> </table>
|
|
239 |
<p><span class="vexpl"><span class="red"><strong>Note:<br>
|
|
238 |
</tr> |
|
239 |
<tr><td colspan="8"><p><span class="vexpl"><span class="red"><strong>Note:<br>
|
|
240 | 240 |
</strong></span>It is not possible to access NATed services |
241 | 241 |
using the WAN IP address from within the LAN (or an optional |
242 | 242 |
network).</span></p></td> |
243 |
</tr> |
|
244 |
</table> |
|
245 |
</div> |
|
246 |
</td> |
|
243 | 247 |
</tr> |
244 | 248 |
</table> |
245 |
</div> |
|
246 | 249 |
|
247 | 250 |
<?php |
248 | 251 |
if ($pkg['tabs'] <> "") { |
... | ... | |
252 | 255 |
|
253 | 256 |
</form> |
254 | 257 |
<?php include("fend.inc"); ?> |
255 |
|
|
256 |
<script type="text/javascript"> |
|
257 |
NiftyCheck(); |
|
258 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
259 |
</script> |
|
260 |
|
|
261 | 258 |
</body> |
262 | 259 |
</html> |
usr/local/www/firewall_nat_1to1.php | ||
---|---|---|
82 | 82 |
<?php if (file_exists($d_natconfdirty_path)): ?><p> |
83 | 83 |
<?php print_info_box_np("The NAT configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
84 | 84 |
<?php endif; ?> |
85 |
<div id="mainarea"> |
|
86 | 85 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> |
87 | 86 |
<?php |
88 | 87 |
$tab_array = array(); |
... | ... | |
95 | 94 |
?> |
96 | 95 |
</td></tr> |
97 | 96 |
<tr> |
98 |
<td class="tabcont"> |
|
99 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
97 |
<td> |
|
98 |
<div id="mainarea"> |
|
99 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
100 | 100 |
<tr> |
101 | 101 |
<td width="10%" class="listhdrr">Interface</td> |
102 | 102 |
<td width="20%" class="listhdrr">External IP</td> |
... | ... | |
145 | 145 |
</table> |
146 | 146 |
</td> |
147 | 147 |
</tr> |
148 |
</table> |
|
149 |
<p><span class="vexpl"><span class="red"><strong>Note:<br> |
|
148 |
<tr> |
|
149 |
<td colspan="4"> |
|
150 |
<p><span class="vexpl"><span class="red"><strong>Note:<br> |
|
150 | 151 |
</strong></span>Depending on the way your WAN connection is setup, you may also need <a href="services_proxyarp.php">proxy ARP</a>.</span></p> |
151 |
</td> |
|
152 |
</td> |
|
153 |
<tr> |
|
154 |
</table> |
|
155 |
</div> |
|
156 |
</td> |
|
152 | 157 |
</tr> |
153 | 158 |
</table> |
154 |
</div> |
|
155 | 159 |
</form> |
156 | 160 |
<?php include("fend.inc"); ?> |
157 |
<script type="text/javascript"> |
|
158 |
NiftyCheck(); |
|
159 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
160 |
</script> |
|
161 | 161 |
</body> |
162 | 162 |
</html> |
usr/local/www/firewall_nat_out.php | ||
---|---|---|
186 | 186 |
<?php if (file_exists($d_natconfdirty_path)): ?><p> |
187 | 187 |
<?php print_info_box_np("The NAT configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
188 | 188 |
<?php endif; ?> |
189 |
<div id="mainarea"> |
|
190 | 189 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> |
191 | 190 |
<?php |
192 | 191 |
$tab_array = array(); |
... | ... | |
199 | 198 |
?> |
200 | 199 |
</td></tr> |
201 | 200 |
<tr> |
202 |
<td class="tabcont"> |
|
203 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
201 |
<td> |
|
202 |
<div id="mainarea"> |
|
203 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
204 | 204 |
<tr> |
205 | 205 |
<td class="vtable"><p> |
206 | 206 |
<input name="ipsecpassthru" type="checkbox" id="ipsecpassthru" value="yes" onClick="document.iform.advancedoutbound.checked=false" <?php if (isset($config['nat']['ipsecpassthru']['enable'])) echo "checked";?>> |
... | ... | |
228 | 228 |
</td> |
229 | 229 |
</tr> |
230 | 230 |
</table> |
231 |
<br> |
|
232 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
231 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
233 | 232 |
<tr id="frheader"> |
234 | 233 |
<td width="3%" class="list"> </td> |
235 | 234 |
<td width="3%" class="list"> </td> |
... | ... | |
321 | 320 |
</table></td> |
322 | 321 |
</tr> |
323 | 322 |
</table> |
323 |
</div> |
|
324 | 324 |
</td> |
325 | 325 |
</tr> |
326 | 326 |
</table> |
327 |
</div> |
|
328 | 327 |
</form> |
329 | 328 |
<?php include("fend.inc"); ?> |
330 |
<script type="text/javascript"> |
|
331 |
NiftyCheck(); |
|
332 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
333 |
</script> |
|
334 | 329 |
</body> |
335 | 330 |
</html> |
usr/local/www/firewall_nat_server.php | ||
---|---|---|
95 | 95 |
<?php if (file_exists($d_natconfdirty_path)): ?><p> |
96 | 96 |
<?php print_info_box_np("The NAT configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
97 | 97 |
<?php endif; ?> |
98 |
<div id="mainarea"> |
|
99 | 98 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> |
100 | 99 |
<?php |
101 | 100 |
$tab_array = array(); |
... | ... | |
108 | 107 |
?> |
109 | 108 |
</td></tr> |
110 | 109 |
<tr> |
111 |
<td class="tabcont"> |
|
112 |
<table width="80%" border="0" cellpadding="0" cellspacing="0"> |
|
110 |
<td> |
|
111 |
<div id="mainarea"> |
|
112 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
113 | 113 |
<tr> |
114 | 114 |
<td width="40%" class="listhdrr">External IP address</td> |
115 | 115 |
<td width="50%" class="listhdr">Description</td> |
... | ... | |
143 | 143 |
</table> |
144 | 144 |
</td> |
145 | 145 |
</tr> |
146 |
</table> |
|
147 |
<p><span class="vexpl"><span class="red"><strong>Note:<br> |
|
146 |
<tr> |
|
147 |
<td colspan="2"> |
|
148 |
<p><span class="vexpl"><span class="red"><strong>Note:<br> |
|
148 | 149 |
</strong></span>The external IP addresses defined on this page may be used in <a href="firewall_nat.php">inbound NAT</a> mappings. Depending on the way your WAN connection is setup, you may also need <a href="services_proxyarp.php">proxy ARP</a>.</span></p> |
149 |
</td> |
|
150 |
</tr> |
|
151 |
</table> |
|
152 |
</div> |
|
150 |
</td> |
|
151 |
</tr> |
|
152 |
</table> |
|
153 |
</div> |
|
154 |
</table> |
|
153 | 155 |
</form> |
154 | 156 |
<?php include("fend.inc"); ?> |
155 |
<script type="text/javascript"> |
|
156 |
NiftyCheck(); |
|
157 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
158 |
</script> |
|
159 | 157 |
</body> |
160 | 158 |
</html> |
usr/local/www/firewall_rules.php | ||
---|---|---|
158 | 158 |
<?php if (file_exists($d_filterconfdirty_path)): ?><p> |
159 | 159 |
<?php print_info_box_np("The firewall rule configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
160 | 160 |
<?php endif; ?> |
161 |
<div id="mainarea"> |
|
162 | 161 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
163 | 162 |
<tr><td class="tabnavtbl"> |
164 | 163 |
<?php |
... | ... | |
175 | 174 |
?> |
176 | 175 |
</td></tr> |
177 | 176 |
<tr> |
178 |
<td class="tabcont"> |
|
179 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
177 |
<td> |
|
178 |
<div id="mainarea"> |
|
179 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
180 | 180 |
<tr id="frheader"> |
181 | 181 |
<td width="3%" class="list"> </td> |
182 | 182 |
<td width="5%" class="list"> </td> |
... | ... | |
288 | 288 |
</td> |
289 | 289 |
</tr> |
290 | 290 |
</table> |
291 |
<table border="0" cellspacing="0" cellpadding="0">
|
|
291 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
292 | 292 |
<tr> |
293 | 293 |
<td width="16"><img src="pass.gif" width="11" height="11"></td> |
294 | 294 |
<td>pass</td> |
... | ... | |
302 | 302 |
<td width="16"><img src="log.gif" width="11" height="11"></td> |
303 | 303 |
<td>log</td> |
304 | 304 |
</tr> |
305 |
<tr> |
|
306 |
<td colspan="5" height="4"></td> |
|
307 |
</tr> |
|
308 | 305 |
<tr> |
309 | 306 |
<td><img src="pass_d.gif" width="11" height="11"></td> |
310 |
<td>pass (disabled)</td> |
|
311 |
<td></td> |
|
307 |
<td nowrap>pass (disabled)</td>
|
|
308 |
<td> </td>
|
|
312 | 309 |
<td><img src="block_d.gif" width="11" height="11"></td> |
313 |
<td>block (disabled)</td> |
|
314 |
<td></td> |
|
310 |
<td nowrap>block (disabled)</td>
|
|
311 |
<td> </td>
|
|
315 | 312 |
<td><img src="reject_d.gif" width="11" height="11"></td> |
316 |
<td>reject (disabled)</td> |
|
317 |
<td></td> |
|
313 |
<td nowrap>reject (disabled)</td>
|
|
314 |
<td> </td>
|
|
318 | 315 |
<td width="16"><img src="log_d.gif" width="11" height="11"></td> |
319 |
<td>log (disabled)</td> |
|
316 |
<td nowrap>log (disabled)</td>
|
|
320 | 317 |
</tr> |
321 |
</table> |
|
322 |
</td> |
|
323 |
</tr> |
|
324 |
</table> |
|
325 |
</div> |
|
318 |
<tr> |
|
319 |
<td colspan="9"> |
|
326 | 320 |
<p> |
327 | 321 |
<strong><span class="red">Hint:<br> |
328 | 322 |
</span></strong>Rules are evaluated on a first-match basis (i.e. |
... | ... | |
330 | 324 |
This means that if you use block rules, you'll have to pay attention |
331 | 325 |
to the rule order. Everything that isn't explicitly passed is blocked |
332 | 326 |
by default.</p> |
327 |
</td> |
|
328 |
</tr> |
|
329 |
</table> |
|
330 |
</div> |
|
331 |
</td> |
|
332 |
</tr> |
|
333 |
</table> |
|
333 | 334 |
<input type="hidden" name="if" value="<?=$if;?>"> |
334 | 335 |
</form> |
335 | 336 |
<?php include("fend.inc"); ?> |
336 |
|
|
337 |
|
|
338 |
<script type="text/javascript"> |
|
339 |
NiftyCheck(); |
|
340 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
341 |
</script> |
|
342 |
|
|
343 | 337 |
</body> |
344 | 338 |
</html> |
usr/local/www/firewall_shaper.php | ||
---|---|---|
194 | 194 |
<?php if (file_exists($d_shaperconfdirty_path)): ?><p> |
195 | 195 |
<?php print_info_box_np("The traffic shaper configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
196 | 196 |
<?php endif; ?> |
197 |
<div id="mainarea"> |
|
198 | 197 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
199 | 198 |
<tr><td> |
200 | 199 |
<?php |
... | ... | |
206 | 205 |
?> |
207 | 206 |
</td></tr> |
208 | 207 |
<tr> |
209 |
<td class="tabcont"> |
|
210 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
208 |
<td> |
|
209 |
<div id="mainarea"> |
|
210 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
211 | 211 |
<tr> |
212 | 212 |
<td class="vtable"><p> |
213 | 213 |
<input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable'] == "yes") echo "checked";?>> |
... | ... | |
222 | 222 |
|
223 | 223 |
</tr> |
224 | 224 |
</table> |
225 |
<br> |
|
226 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
225 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
227 | 226 |
<tr id="frheader"> |
228 | 227 |
<td width="3%" class="list"> </td> |
229 | 228 |
<td width="3%" class="list"> </td> |
... | ... | |
312 | 311 |
<td class="list" colspan="8"></td> |
313 | 312 |
<td class="list"> <a href="firewall_shaper_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td> |
314 | 313 |
</tr> |
315 |
</table> |
|
316 |
|
|
317 |
<p><span class="red"><strong>Note:</strong></span><strong><br> |
|
314 |
<tr> |
|
315 |
<td colspan="8"><p><span class="red"><strong>Note:</strong></span><strong><br> |
|
318 | 316 |
</strong>the first rule that matches a packet will be executed.<br> |
319 | 317 |
The following match patterns are not shown in the list above: |
320 | 318 |
IP packet length, TCP flags.</td> |
319 |
</tr> |
|
320 |
</table> |
|
321 |
</div> |
|
322 |
</td> |
|
321 | 323 |
</tr> |
322 | 324 |
</table> |
323 |
</div> |
|
324 | 325 |
</form> |
325 | 326 |
<?php include("fend.inc"); ?> |
326 |
<script type="text/javascript"> |
|
327 |
NiftyCheck(); |
|
328 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
329 |
</script> |
|
330 | 327 |
</body> |
331 | 328 |
</html> |
usr/local/www/firewall_shaper_queues.php | ||
---|---|---|
115 | 115 |
<?php if (file_exists($d_shaperconfdirty_path)): ?><p> |
116 | 116 |
<?php print_info_box_np("The traffic shaper configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
117 | 117 |
<?php endif; ?> |
118 |
<div id="mainarea"> |
|
119 | 118 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
120 | 119 |
<tr><td> |
121 | 120 |
<?php |
... | ... | |
127 | 126 |
?> |
128 | 127 |
</td></tr> |
129 | 128 |
<tr> |
130 |
<td class="tabcont"> |
|
131 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
129 |
<td> |
|
130 |
<div id="mainarea"> |
|
131 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
132 | 132 |
<tr> |
133 | 133 |
<td width="5%" class="listhdrr">No.</td> |
134 | 134 |
<td width="5%" class="listhdrr">Flags</td> |
... | ... | |
193 | 193 |
</table> |
194 | 194 |
</td> |
195 | 195 |
</tr> |
196 |
</table>
|
|
196 |
<tr><td colspan="6">
|
|
197 | 197 |
<p> |
198 | 198 |
<strong><span class="red">Note:</span></strong><strong><br></strong> |
199 |
A queue can only be deleted if it is not referenced by any rules.<br> |
|
200 |
</td> |
|
199 |
A queue can only be deleted if it is not referenced by any rules. |
|
201 | 200 |
</p> |
201 |
</td></tr> |
|
202 |
</table> |
|
203 |
</div> |
|
204 |
</td> |
|
202 | 205 |
</tr> |
203 | 206 |
</table> |
204 | 207 |
</div> |
205 | 208 |
</form> |
206 | 209 |
<?php include("fend.inc"); ?> |
207 |
<script type="text/javascript"> |
|
208 |
NiftyCheck(); |
|
209 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
210 |
</script> |
|
211 | 210 |
</body> |
212 | 211 |
</html> |
213 |
|
usr/local/www/interfaces_assign.php | ||
---|---|---|
188 | 188 |
<?php if ($input_errors) print_input_errors($input_errors); ?> |
189 | 189 |
<?php if (file_exists($d_sysrebootreqd_path)) print_info_box(get_std_save_message(0)); ?> |
190 | 190 |
<form action="interfaces_assign.php" method="post" name="iform" id="iform"> |
191 |
<div id="mainarea"> |
|
192 | 191 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
193 | 192 |
<tr><td class="tabnavtbl"> |
194 | 193 |
<?php |
... | ... | |
199 | 198 |
?> |
200 | 199 |
</td></tr> |
201 | 200 |
<tr> |
202 |
<td class="tabcont"> |
|
203 |
<table border="0" cellpadding="0" cellspacing="0"> |
|
204 |
<tr> |
|
201 |
<td> |
|
202 |
<div id="mainarea"> |
|
203 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
204 |
<tr> |
|
205 | 205 |
<td class="listhdrr">Interface</td> |
206 | 206 |
<td class="listhdr">Network port</td> |
207 | 207 |
<td class="list"> </td> |
... | ... | |
250 | 250 |
</tr> |
251 | 251 |
<?php endif; ?> |
252 | 252 |
</table> |
253 |
</div> |
|
253 | 254 |
<input name="Submit" type="submit" class="formbtn" value="Save"><br><br> |
254 | 255 |
<p><span class="vexpl"><strong><span class="red">Warning:</span><br> |
255 | 256 |
</strong>After you click "Save", you must reboot the firewall to make the changes take effect. You may also have to do one or more of the following steps before you can access your firewall again: </span></p> |
... | ... | |
260 | 261 |
</ul></td> |
261 | 262 |
</tr> |
262 | 263 |
</table> |
263 |
</div> |
|
264 | 264 |
</form> |
265 | 265 |
<?php include("fend.inc"); ?> |
266 |
|
|
267 |
<script type="text/javascript"> |
|
268 |
NiftyCheck(); |
|
269 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
270 |
</script> |
|
271 |
|
|
272 | 266 |
</body> |
273 | 267 |
</html> |
usr/local/www/interfaces_vlan.php | ||
---|---|---|
95 | 95 |
<p class="pgtitle"><?=$pgtitle?></p> |
96 | 96 |
<?php if ($input_errors) print_input_errors($input_errors); ?> |
97 | 97 |
<?php if (file_exists($d_sysrebootreqd_path)) print_info_box(get_std_save_message(0)); ?> |
98 |
<div id="mainarea"> |
|
99 | 98 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
100 | 99 |
<tr><td> |
101 | 100 |
<?php |
... | ... | |
106 | 105 |
?> |
107 | 106 |
</td></tr> |
108 | 107 |
<tr> |
109 |
<td class="tabcont"> |
|
110 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
108 |
<td> |
|
109 |
<div id="mainarea"> |
|
110 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
111 | 111 |
<tr> |
112 | 112 |
<td width="20%" class="listhdrr">Interface</td> |
113 | 113 |
<td width="20%" class="listhdrr">VLAN tag</td> |
... | ... | |
142 | 142 |
<td class="list"> </td> |
143 | 143 |
</tr> |
144 | 144 |
</table> |
145 |
</td> |
|
145 |
</div> |
|
146 |
</td> |
|
146 | 147 |
</tr> |
147 | 148 |
</table> |
148 |
</div> |
|
149 | 149 |
<?php include("fend.inc"); ?> |
150 |
|
|
151 |
<script type="text/javascript"> |
|
152 |
NiftyCheck(); |
|
153 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
154 |
</script> |
|
155 |
|
|
156 | 150 |
</body> |
157 | 151 |
</html> |
usr/local/www/pkg_mgr.php | ||
---|---|---|
71 | 71 |
|
72 | 72 |
?> |
73 | 73 |
|
74 |
<div id="mainarea"> |
|
75 | 74 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> |
76 | 75 |
<?php |
77 | 76 |
$tab_array = array(); |
... | ... | |
81 | 80 |
?> |
82 | 81 |
</td></tr> |
83 | 82 |
<tr> |
84 |
<td class="tabcont"> |
|
85 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
83 |
<td> |
|
84 |
<div id="mainarea"> |
|
85 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
86 | 86 |
<tr> |
87 | 87 |
<td width="10%" class="listhdrr">Package Name</td> |
88 | 88 |
<td width="25%" class="listhdrr">Category</td> |
... | ... | |
141 | 141 |
} |
142 | 142 |
?> |
143 | 143 |
</table> |
144 |
</div> |
|
144 | 145 |
</td> |
145 | 146 |
</tr> |
146 | 147 |
</table> |
147 |
</div> |
|
148 | 148 |
<?php include("fend.inc"); ?> |
149 |
|
|
150 |
<script type="text/javascript"> |
|
151 |
NiftyCheck(); |
|
152 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
153 |
</script> |
|
154 |
|
|
155 | 149 |
</body> |
156 | 150 |
</html> |
usr/local/www/pkg_mgr_installed.php | ||
---|---|---|
47 | 47 |
<?php include("fbegin.inc"); ?> |
48 | 48 |
<p class="pgtitle"><?=$pgtitle?></p> |
49 | 49 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
50 |
<div id="mainarea"> |
|
51 | 50 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> |
52 | 51 |
<?php |
53 | 52 |
$tab_array = array(); |
... | ... | |
57 | 56 |
?> |
58 | 57 |
</td></tr> |
59 | 58 |
<tr> |
60 |
<td class="tabcont"> |
|
61 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
59 |
<td> |
|
60 |
<div id="mainarea"> |
|
61 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
62 | 62 |
<tr> |
63 | 63 |
<td width="15%" class="listhdrr">Package Name</td> |
64 | 64 |
<td width="20%" class="listhdrr">Category</td> |
... | ... | |
150 | 150 |
} |
151 | 151 |
?> |
152 | 152 |
</table> |
153 |
</div> |
|
153 | 154 |
</td> |
154 | 155 |
</tr> |
155 | 156 |
</table> |
156 |
</div> |
|
157 | 157 |
<?php include("fend.inc"); ?> |
158 |
|
|
159 |
<script type="text/javascript"> |
|
160 |
NiftyCheck(); |
|
161 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
162 |
</script> |
|
163 |
|
|
164 | 158 |
</body> |
165 | 159 |
</html> |
166 |
|
|
167 |
<?php |
|
168 |
conf_mount_ro(); |
|
169 |
?> |
|
160 |
<?php conf_mount_ro(); ?> |
usr/local/www/services_captiveportal.php | ||
---|---|---|
280 | 280 |
<?php if ($input_errors) print_input_errors($input_errors); ?> |
281 | 281 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
282 | 282 |
<form action="services_captiveportal.php" method="post" enctype="multipart/form-data" name="iform" id="iform"> |
283 |
<div id="mainarea"> |
|
284 | 283 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
285 | 284 |
<tr><td class="tabnavtbl"> |
286 | 285 |
<?php |
... | ... | |
293 | 292 |
?> |
294 | 293 |
</td></tr> |
295 | 294 |
<tr> |
296 |
<td class="tabcont"> |
|
297 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
295 |
<td> |
|
296 |
<div id="mainarea"> |
|
297 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
298 | 298 |
<tr> |
299 | 299 |
<td width="22%" valign="top" class="vtable"> </td> |
300 | 300 |
<td width="78%" class="vtable"> |
... | ... | |
452 | 452 |
</strong></span>Changing any settings on this page will disconnect all clients! Don't forget to enable the DHCP server on your captive portal interface! Make sure that the default/maximum DHCP lease time is higher than the timeout entered on this page. Also, the DNS forwarder needs to be enabled for DNS lookups by unauthenticated clients to work. </span></td> |
453 | 453 |
</tr> |
454 | 454 |
</table> |
455 |
</div> |
|
455 | 456 |
</td> |
456 | 457 |
</tr> |
457 | 458 |
</table> |
458 |
</div> |
|
459 | 459 |
</form> |
460 | 460 |
<script language="JavaScript"> |
461 | 461 |
<!-- |
... | ... | |
463 | 463 |
//--> |
464 | 464 |
</script> |
465 | 465 |
<?php include("fend.inc"); ?> |
466 |
<script type="text/javascript"> |
|
467 |
NiftyCheck(); |
|
468 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
469 |
</script> |
|
470 | 466 |
</body> |
471 | 467 |
</html> |
usr/local/www/services_captiveportal_ip.php | ||
---|---|---|
81 | 81 |
<?php if (file_exists($d_allowedipsdirty_path)): ?><p> |
82 | 82 |
<?php print_info_box_np("The captive portal IP address configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
83 | 83 |
<?php endif; ?> |
84 |
<div id="mainarea"> |
|
85 | 84 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
86 | 85 |
<tr><td class="tabnavtbl"> |
87 | 86 |
<?php |
... | ... | |
94 | 93 |
?> |
95 | 94 |
</td></tr> |
96 | 95 |
<tr> |
97 |
<td class="tabcont"> |
|
98 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
96 |
<td> |
|
97 |
<div id="mainarea"> |
|
98 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
99 | 99 |
<tr> |
100 | 100 |
<td width="30%" class="listhdrr">IP address</td> |
101 | 101 |
<td width="60%" class="listhdr">Description</td> |
... | ... | |
156 | 156 |
<td class="list"> </td> |
157 | 157 |
</tr> |
158 | 158 |
</table> |
159 |
</div> |
|
159 | 160 |
</td> |
160 | 161 |
</tr> |
161 | 162 |
</table> |
162 |
</div> |
|
163 | 163 |
</form> |
164 | 164 |
<?php include("fend.inc"); ?> |
165 |
<script type="text/javascript"> |
|
166 |
NiftyCheck(); |
|
167 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
168 |
</script> |
|
169 | 165 |
</body> |
170 | 166 |
</html> |
usr/local/www/services_captiveportal_mac.php | ||
---|---|---|
81 | 81 |
<?php if (file_exists($d_passthrumacsdirty_path)): ?><p> |
82 | 82 |
<?php print_info_box_np("The captive portal MAC address configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
83 | 83 |
<?php endif; ?> |
84 |
<div id="mainarea"> |
|
85 | 84 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
86 | 85 |
<tr><td class="tabnavtbl"> |
87 | 86 |
<?php |
... | ... | |
94 | 93 |
?> |
95 | 94 |
</td></tr> |
96 | 95 |
<tr> |
97 |
<td class="tabcont"> |
|
98 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
96 |
<td> |
|
97 |
<div id="mainarea"> |
|
98 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
99 | 99 |
<tr> |
100 | 100 |
<td width="30%" class="listhdrr">MAC address</td> |
101 | 101 |
<td width="60%" class="listhdr">Description</td> |
... | ... | |
137 | 137 |
<td class="list"> </td> |
138 | 138 |
</tr> |
139 | 139 |
</table> |
140 |
</div> |
|
140 | 141 |
</td> |
141 | 142 |
</tr> |
142 | 143 |
</table> |
143 |
</div> |
|
144 | 144 |
</form> |
145 | 145 |
<?php include("fend.inc"); ?> |
146 |
<script type="text/javascript"> |
|
147 |
NiftyCheck(); |
|
148 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
149 |
</script> |
|
150 | 146 |
</body> |
151 | 147 |
</html> |
usr/local/www/services_captiveportal_users.php | ||
---|---|---|
151 | 151 |
</script> |
152 | 152 |
<?php if ($input_errors) print_input_errors($input_errors); ?> |
153 | 153 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
154 |
<div id="mainarea"> |
|
155 | 154 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
156 | 155 |
<tr><td> |
157 | 156 |
<?php |
... | ... | |
164 | 163 |
?> |
165 | 164 |
</td></tr> |
166 | 165 |
<tr> |
167 |
<td class="tabcont">
|
|
166 |
<td> |
|
168 | 167 |
<?php |
169 | 168 |
if($_GET['act']=="new" || $_GET['act']=="edit"){ |
170 | 169 |
if($_GET['act']=="edit" && isset($_GET['username'])){ |
... | ... | |
172 | 171 |
} |
173 | 172 |
?> |
174 | 173 |
<form action="services_captiveportal_users.php" method="post" name="iform" id="iform"> |
175 |
|
|
176 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
174 |
<div id="mainarea"> |
|
175 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
|
|
177 | 176 |
<tr> |
178 | 177 |
<td width="22%" valign="top" class="vncellreq">Username</td> |
179 | 178 |
<td width="78%" class="vtable"> |
... | ... | |
217 | 216 |
</td> |
218 | 217 |
</tr> |
219 | 218 |
</table> |
219 |
</div> |
|
220 | 220 |
</form> |
221 | 221 |
<?php |
222 | 222 |
} else { |
223 | 223 |
echo <<<END |
224 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
224 |
<div id="mainarea"> |
|
225 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
225 | 226 |
<tr> |
226 | 227 |
<td width="35%" class="listhdrr">Username</td> |
227 | 228 |
<td width="20%" class="listhdrr">Full Name</td> |
... | ... | |
266 | 267 |
</td> |
267 | 268 |
</tr> |
268 | 269 |
</table> |
270 |
</div> |
|
269 | 271 |
END; |
270 | 272 |
} |
271 | 273 |
?> |
... | ... | |
273 | 275 |
</td> |
274 | 276 |
</tr> |
275 | 277 |
</table> |
276 |
</div> |
|
277 | 278 |
<?php include("fend.inc"); ?> |
278 | 279 |
|
279 |
<script type="text/javascript"> |
|
280 |
NiftyCheck(); |
|
281 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
282 |
</script> |
|
283 |
|
|
284 | 280 |
</body> |
285 | 281 |
</html> |
usr/local/www/services_dhcp.php | ||
---|---|---|
200 | 200 |
<?php if (file_exists($d_staticmapsdirty_path)): ?><p> |
201 | 201 |
<?php print_info_box_np("The static mapping configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> |
202 | 202 |
<?php endif; ?> |
203 |
<div id="mainarea"> |
|
204 | 203 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
205 | 204 |
<tr><td> |
206 | 205 |
<?php |
... | ... | |
219 | 218 |
?> |
220 | 219 |
</td></tr> |
221 | 220 |
<tr> |
222 |
<td class="tabcont"> |
|
223 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
221 |
<td> |
|
222 |
<div id="mainarea"> |
|
223 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
224 | 224 |
<tr> |
225 | 225 |
<td width="22%" valign="top" class="vtable"> </td> |
226 | 226 |
<td width="78%" class="vtable"> |
... | ... | |
327 | 327 |
</tr> |
328 | 328 |
</table> |
329 | 329 |
|
330 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
330 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
331 | 331 |
<tr> |
332 | 332 |
<td width="35%" class="listhdrr">MAC address </td> |
333 | 333 |
<td width="20%" class="listhdrr">IP address</td> |
... | ... | |
366 | 366 |
</td> |
367 | 367 |
</tr> |
368 | 368 |
</table> |
369 |
</div> |
|
369 | 370 |
</td> |
370 | 371 |
</tr> |
371 | 372 |
</table> |
372 |
</div> |
|
373 | 373 |
</form> |
374 | 374 |
<script language="JavaScript"> |
375 | 375 |
<!-- |
... | ... | |
377 | 377 |
//--> |
378 | 378 |
</script> |
379 | 379 |
<?php include("fend.inc"); ?> |
380 |
|
|
381 |
<script type="text/javascript"> |
|
382 |
NiftyCheck(); |
|
383 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
384 |
</script> |
|
385 |
|
|
386 | 380 |
</body> |
387 | 381 |
</html> |
usr/local/www/services_dhcp_relay.php | ||
---|---|---|
167 | 167 |
<form action="services_dhcp_relay.php" method="post" name="iform" id="iform"> |
168 | 168 |
<?php if ($input_errors) print_input_errors($input_errors); ?> |
169 | 169 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
170 |
<div id="master"> |
|
171 | 170 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
172 | 171 |
<tr><td> |
173 | 172 |
<?php |
... | ... | |
186 | 185 |
?> |
187 | 186 |
</td></tr> |
188 | 187 |
<tr> |
189 |
<td class="tabcont"> |
|
190 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
188 |
<td> |
|
189 |
<div id="mainarea"> |
|
190 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
191 | 191 |
<tr> |
192 | 192 |
<td width="22%" valign="top" class="vtable"> </td> |
193 | 193 |
<td width="78%" class="vtable"> |
... | ... | |
220 | 220 |
</td> |
221 | 221 |
</tr> |
222 | 222 |
</table> |
223 |
</div> |
|
223 | 224 |
</td> |
224 | 225 |
</tr> |
225 | 226 |
</table> |
226 |
</div> |
|
227 | 227 |
</form> |
228 | 228 |
<script language="JavaScript"> |
229 | 229 |
<!-- |
... | ... | |
231 | 231 |
//--> |
232 | 232 |
</script> |
233 | 233 |
<?php include("fend.inc"); ?> |
234 |
|
|
235 |
<script type="text/javascript"> |
|
236 |
NiftyCheck(); |
|
237 |
Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth"); |
|
238 |
</script> |
|
239 |
|
|
240 | 234 |
</body> |
241 | 235 |
</html> |
Also available in: Unified diff
Fix bottom rounds