summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/diag_backup.php13
-rwxr-xr-xusr/local/www/diag_confbak.php17
-rwxr-xr-xusr/local/www/diag_ipsec_sad.php22
-rwxr-xr-xusr/local/www/diag_ipsec_spd.php23
-rwxr-xr-xusr/local/www/diag_logs.php21
-rwxr-xr-xusr/local/www/diag_logs_auth.php19
-rwxr-xr-xusr/local/www/diag_logs_dhcp.php11
-rwxr-xr-xusr/local/www/diag_logs_filter.php24
-rwxr-xr-xusr/local/www/diag_logs_ipsec.php11
-rwxr-xr-xusr/local/www/diag_logs_settings.php13
-rwxr-xr-xusr/local/www/diag_logs_vpn.php20
-rwxr-xr-xusr/local/www/fend.inc3
-rwxr-xr-xusr/local/www/status_services.php11
-rwxr-xr-xusr/local/www/vpn_ipsec.php20
-rwxr-xr-xusr/local/www/vpn_ipsec_ca.php19
-rwxr-xr-xusr/local/www/vpn_ipsec_keys.php19
-rwxr-xr-xusr/local/www/vpn_ipsec_mobile.php19
17 files changed, 103 insertions, 182 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 491aa0e..d1ad327 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -187,7 +187,6 @@ include("head.inc");
<form action="diag_backup.php" method="post" enctype="multipart/form-data" onSubmit="window.open('progress.php?conffile=<?=$id?>','UploadMeter','width=370,height=115', true); return true; ">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
- <div id="mainarea">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>
<?php
@@ -197,7 +196,9 @@ include("head.inc");
display_top_tabs($tab_array);
?>
</ul></td></tr>
- <tr><td class="tabcont"><table align="center" width="100%" border="0" cellpadding="6" cellspacing="0">
+ <tr><td>
+ <div id="mainarea">
+ <table class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td colspan="2" class="listtopic">Backup configuration</td>
</tr>
@@ -250,17 +251,11 @@ include("head.inc");
</tr>
<?php } ?>
</table>
+ </div>
</td>
</tr>
</table>
- </div>
</form>
<?php include("fend.inc"); ?>
-
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/diag_confbak.php b/usr/local/www/diag_confbak.php
index c8acba1..3643e31 100755
--- a/usr/local/www/diag_confbak.php
+++ b/usr/local/www/diag_confbak.php
@@ -58,7 +58,6 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
<?php if($savemsg) print_info_box($savemsg); ?>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td>
<?php
$tab_array = array();
@@ -68,11 +67,12 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
if(is_array($confvers)) {
?>
- <table align="center" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="30%" class="listhdrr">Date</td>
<td width="70%" class="listhdrr">Configuration Change</td>
@@ -103,24 +103,17 @@ if(is_array($confvers)) {
</tr>
<?php
} ?>
- </table>
<?php } else {
print_info_box("No backups found.");
}
?>
-
+ </table>
+ </div>
</td>
</tr>
</table>
-</div>
</body>
</html>
<?php include("fend.inc"); ?>
-
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/diag_ipsec_sad.php b/usr/local/www/diag_ipsec_sad.php
index 993aeb6..72ef8d8 100755
--- a/usr/local/www/diag_ipsec_sad.php
+++ b/usr/local/www/diag_ipsec_sad.php
@@ -34,7 +34,7 @@
require("guiconfig.inc");
-$pgtitle = "Diagnostics: IPSEC: SA";
+$pgtitle = "Diagnostics: IPSec: SA";
include("head.inc");
?>
@@ -42,7 +42,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -53,7 +52,7 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
+ <td>
<?php
/* delete any SA? */
@@ -99,9 +98,10 @@ if ($fd) {
$sad[] = $cursa;
pclose($fd);
}
-if (count($sad)):
?>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
+<?php if (count($sad)): ?>
<tr>
<td nowrap class="listhdrr">Source</td>
<td nowrap class="listhdrr">Destination</a></td>
@@ -132,18 +132,12 @@ foreach ($sad as $sa): ?>
</tr>
<?php endforeach; ?>
-</table>
<?php else: ?>
-<p><strong>No IPsec security associations.</strong></p>
+<tr><td><p><strong>No IPsec security associations.</strong></p></td></tr>
<?php endif; ?>
-</td></tr></table>
+</table>
</div>
+</td></tr></table>
<?php include("fend.inc"); ?>
-
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/diag_ipsec_spd.php b/usr/local/www/diag_ipsec_spd.php
index ffe52b3..9c7f7e7 100755
--- a/usr/local/www/diag_ipsec_spd.php
+++ b/usr/local/www/diag_ipsec_spd.php
@@ -34,7 +34,7 @@
require("guiconfig.inc");
-$pgtitle = "Diagnostics: IPSEC: SPD";
+$pgtitle = "Diagnostics: IPSec: SPD";
include("head.inc");
?>
@@ -42,7 +42,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -53,7 +52,7 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
+ <td>
<?php
/* delete any SP? */
@@ -103,9 +102,10 @@ if ($fd) {
$spd[] = $cursp;
pclose($fd);
}
-if (count($spd)):
?>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+<div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
+<?php if (count($spd)): ?>
<tr>
<td nowrap class="listhdrr">Source</td>
<td nowrap class="listhdrr">Destination</a></td>
@@ -136,7 +136,7 @@ foreach ($spd as $sp): ?>
<?php endforeach; ?>
</table>
<br>
-<table border="0" cellspacing="0" cellpadding="0">
+<table class="tabcont" border="0" cellspacing="0" cellpadding="6">
<tr>
<td width="16"><img src="in.gif" width="11" height="11"></td>
<td>incoming (as seen by firewall)</td>
@@ -148,18 +148,13 @@ foreach ($spd as $sp): ?>
<td><img src="out.gif" width="11" height="11"></td>
<td>outgoing (as seen by firewall)</td>
</tr>
-</table>
<?php else: ?>
-<p><strong>No IPsec security policies.</strong></p>
+<tr><td><p><strong>No IPsec security policies.</strong></p></td></tr>
<?php endif; ?>
-</td></tr></table>
+</table>
</div>
+</td></tr></table>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php
index 620cb91..f1e93f5 100755
--- a/usr/local/www/diag_logs.php
+++ b/usr/local/www/diag_logs.php
@@ -52,7 +52,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -68,28 +67,22 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="listtopic">
Last <?=$nentries;?> system log entries</td>
</tr>
<?php dump_clog($system_logfile, $nentries); ?>
- </table>
- <br><form action="diag_logs.php" method="post">
-<input name="clear" type="submit" class="formbtn" value="Clear log">
+ <tr><td><br><form action="diag_logs.php" method="post">
+<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr>
</form>
+ </table>
+ </div>
</td>
</tr>
</table>
-</div>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
-
-
diff --git a/usr/local/www/diag_logs_auth.php b/usr/local/www/diag_logs_auth.php
index a6c6605..a7f71af 100755
--- a/usr/local/www/diag_logs_auth.php
+++ b/usr/local/www/diag_logs_auth.php
@@ -50,7 +50,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -66,28 +65,22 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="listtopic">
Last <?=$nentries;?> Portal Auth log entries</td>
</tr>
<?php dump_clog($portal_logfile, $nentries); ?>
+ <tr><td><br><form action="diag_logs_auth.php" method="post">
+<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr>
</table>
- <br><form action="diag_logs_auth.php" method="post">
-<input name="clear" type="submit" class="formbtn" value="Clear log">
+ </div>
</form>
</td>
</tr>
</table>
-</div>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
-
-
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php
index 4e12962..057aabf 100755
--- a/usr/local/www/diag_logs_dhcp.php
+++ b/usr/local/www/diag_logs_dhcp.php
@@ -67,16 +67,18 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="listtopic">
Last <?=$nentries;?> DHCP service log entries</td>
</tr>
<?php dump_clog($dhcpd_logfile, $nentries); ?>
+ <tr><td><br><form action="diag_logs_dhcp.php" method="post">
+<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr>
</table>
- <br><form action="diag_logs_dhcp.php" method="post">
-<input name="clear" type="submit" class="formbtn" value="Clear log">
+ </div>
</form>
</td>
</tr>
@@ -84,4 +86,3 @@ include("head.inc");
<?php include("fend.inc"); ?>
</body>
</html>
-
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index 1ef61b1..9c2a3a1 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -120,7 +120,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -136,11 +135,13 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<?php if (!isset($config['syslog']['rawfilter'])):
$filterlog = conv_clog($filter_logfile, $nentries);
?>
- <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>
+ <tr>
<td colspan="6" class="listtopic">
Last <?=$nentries;?> firewall log entries</td>
</tr>
@@ -167,30 +168,21 @@ include("head.inc");
<td class="listr" nowrap><?=htmlspecialchars($filterent['dst']);?></td>
<td class="listr" nowrap><?=htmlspecialchars($filterent['proto']);?></td>
</tr><?php endforeach; ?>
- </table>
<?php else: ?>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="listtopic">
Last <?=$nentries;?> firewall log entries</td>
</tr>
<?php dump_clog($filter_logfile, $nentries); ?>
- </table>
<?php endif; ?>
- <br><form action="diag_logs_filter.php" method="post">
-<input name="clear" type="submit" class="formbtn" value="Clear log">
+ <tr><td><br><form action="diag_logs_filter.php" method="post">
+<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr>
</form>
+ </table>
+ </div>
</td>
</tr>
</table>
-</div>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
-
-
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php
index 5e7279b..4ab0a9c 100755
--- a/usr/local/www/diag_logs_ipsec.php
+++ b/usr/local/www/diag_logs_ipsec.php
@@ -51,7 +51,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -67,16 +66,18 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="listtopic">
Last <?=$nentries;?> IPSEC log entries</td>
</tr>
<?php dump_clog($ipsec_logfile, $nentries, true, array("racoon"), array(false)); ?>
+ <tr><td><br><form action="diag_logs.php" method="post">
+<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr>
</table>
- <br><form action="diag_logs.php" method="post">
-<input name="clear" type="submit" class="formbtn" value="Clear log">
+ </div>
</form>
</td>
</tr>
diff --git a/usr/local/www/diag_logs_settings.php b/usr/local/www/diag_logs_settings.php
index 3750d69..e1ab1d4 100755
--- a/usr/local/www/diag_logs_settings.php
+++ b/usr/local/www/diag_logs_settings.php
@@ -124,7 +124,6 @@ function enable_change(enable_over) {
<form action="diag_logs_settings.php" method="post" name="iform" id="iform">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -140,8 +139,9 @@ function enable_change(enable_over) {
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="22%" valign="top" class="vtable">&nbsp;</td>
<td width="78%" class="vtable"> <input name="reverse" type="checkbox" id="reverse" value="yes" <?php if ($pconfig['reverse']) echo "checked"; ?>>
@@ -199,6 +199,7 @@ function enable_change(enable_over) {
</td>
</tr>
</table>
+ </div>
</td>
</tr>
</table>
@@ -210,11 +211,5 @@ enable_change(false);
//-->
</script>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
-
diff --git a/usr/local/www/diag_logs_vpn.php b/usr/local/www/diag_logs_vpn.php
index fa5c7ed..21d806c 100755
--- a/usr/local/www/diag_logs_vpn.php
+++ b/usr/local/www/diag_logs_vpn.php
@@ -77,7 +77,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -93,8 +92,9 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"><tr>
<td colspan="4" class="listtopic">
Last <?=$nentries;?> PPTP log entries</td>
</tr>
@@ -104,21 +104,15 @@ include("head.inc");
<td class="listhdrr">User</td>
<td class="listhdrr">IP address</td>
</tr>
- <?php dump_clog_vpn($pptp_logfile, $nentries); ?>
- </table>
+ <tr><td><?php dump_clog_vpn($pptp_logfile, $nentries); ?>
<br><form action="diag_logs_vpn.php" method="post">
<input name="clear" type="submit" class="formbtn" value="Clear log">
-</form>
+</form></td></tr>
+ </table>
+ </div>
</td>
</tr>
</table>
-</div>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
-
diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc
index bc8f56e..a5a276e 100755
--- a/usr/local/www/fend.inc
+++ b/usr/local/www/fend.inc
@@ -13,6 +13,7 @@
NiftyCheck();
Rounded("div#niftyMenuTop","top","#FFFFFF","#000000","smooth");
Rounded("div#niftyMenuBottom","bottom","#FFFFFF","#000000","smooth");
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
+Rounded("div#mainarea","bl br tr","#FFF","#eeeeee","smooth");
+Rounded("div#boxarea","bl br tl tr","#FFF","#eeeeee","smooth");
Rounded("tr#fend","bl br tl tr","#FFF","#990000","smooth");
</script>
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index ea15f2c..fb3178e 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -67,10 +67,10 @@ include("fbegin.inc");
<p>
-<div id="mainarea">
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<div id="boxarea">
+<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td class="tabcont">
+ <td>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td class="listhdrr"><b><center>Service</center></b></td>
@@ -124,11 +124,6 @@ if($config['installedpackages']['service']) {
</div>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","all","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index daf232c..28e28df 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -95,7 +95,6 @@ include("head.inc");
<?php if (file_exists($d_ipsecconfdirty_path)): ?><p>
<?php print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
<?php endif; ?>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -108,8 +107,9 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td class="vtable">
<input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo "checked";?>>
@@ -119,9 +119,8 @@ include("head.inc");
<td> <input name="submit" type="submit" class="formbtn" value="Save">
</td>
</tr>
- </table>
- &nbsp;<br>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ </table>
+ <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap class="listhdrr">Local net<br>
Remote net</td>
@@ -183,16 +182,11 @@ include("head.inc");
<td class="list"> <a href="vpn_ipsec_edit.php"><img src="plus.gif" title="add tunnel" width="17" height="17" border="0"></a></td>
</tr>
</table>
- </td>
+ </div>
+ </td>
</tr>
</table>
-</div>
</form>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/vpn_ipsec_ca.php b/usr/local/www/vpn_ipsec_ca.php
index 6fb04e1..7c7abc0 100755
--- a/usr/local/www/vpn_ipsec_ca.php
+++ b/usr/local/www/vpn_ipsec_ca.php
@@ -61,7 +61,6 @@ include("head.inc");
<?php if (file_exists($d_ipsecconfdirty_path)): ?><p>
<?php print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
<?php endif; ?>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -74,8 +73,9 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td class="listhdrr">Identifier</td>
<td class="list"></td>
@@ -94,16 +94,11 @@ include("head.inc");
<td class="list"> <a href="vpn_ipsec_ca_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
</tr>
</table>
- </td>
- </tr>
- </table>
- </div>
+ </div>
+ </td>
+ </tr>
+</table>
</form>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/vpn_ipsec_keys.php b/usr/local/www/vpn_ipsec_keys.php
index e85db8e..2c1e795 100755
--- a/usr/local/www/vpn_ipsec_keys.php
+++ b/usr/local/www/vpn_ipsec_keys.php
@@ -60,7 +60,6 @@ include("head.inc");
<?php if (file_exists($d_ipsecconfdirty_path)): ?><p>
<?php print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
<?php endif; ?>
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -73,8 +72,9 @@ include("head.inc");
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="80%" border="0" cellpadding="0" cellspacing="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="listhdrr">Identifier</td>
<td class="listhdr">Pre-shared key</td>
@@ -97,16 +97,11 @@ include("head.inc");
<td class="list"> <a href="vpn_ipsec_keys_edit.php"><img src="plus.gif" title="add key" width="17" height="17" border="0"></a></td>
</tr>
</table>
- </td>
- </tr>
- </table>
- </div>
+ </div>
+ </td>
+ </tr>
+</table>
</form>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php
index bfcacbb..b72f470 100755
--- a/usr/local/www/vpn_ipsec_mobile.php
+++ b/usr/local/www/vpn_ipsec_mobile.php
@@ -191,7 +191,6 @@ function methodsel_change() {
<?php endif; ?>
</form>
<form action="vpn_ipsec_mobile.php" method="post" name="iform" id="iform">
-<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -204,8 +203,9 @@ function methodsel_change() {
?>
</td></tr>
<tr>
- <td class="tabcont">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <td>
+ <div id="mainarea">
+ <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
@@ -376,10 +376,10 @@ function methodsel_change() {
</td>
</tr>
</table>
- </td>
- </tr>
- </table>
- </div>
+ </div>
+ </td>
+ </tr>
+</table>
</form>
<script language="JavaScript">
<!--
@@ -387,10 +387,5 @@ methodsel_change();
//-->
</script>
<?php include("fend.inc"); ?>
-<script type="text/javascript">
-NiftyCheck();
-Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
-</script>
-
</body>
</html>
OpenPOWER on IntegriCloud