summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/carp_status.php12
-rwxr-xr-xusr/local/www/firewall_nat.php5
-rwxr-xr-xusr/local/www/firewall_nat_1to1.php6
-rwxr-xr-xusr/local/www/firewall_nat_out.php6
-rwxr-xr-xusr/local/www/firewall_nat_server.php6
-rwxr-xr-xusr/local/www/firewall_rules.php11
-rwxr-xr-xusr/local/www/firewall_shaper.php6
-rwxr-xr-xusr/local/www/firewall_shaper_queues.php7
-rwxr-xr-xusr/local/www/pkg_mgr.php1
-rwxr-xr-xusr/local/www/services_captiveportal.php8
-rwxr-xr-xusr/local/www/services_captiveportal_ip.php8
-rwxr-xr-xusr/local/www/services_captiveportal_mac.php8
-rwxr-xr-xusr/local/www/services_captiveportal_users.php9
-rwxr-xr-xusr/local/www/system.php3
-rwxr-xr-xusr/local/www/system_firmware_check.php6
15 files changed, 93 insertions, 9 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index 5b85d93..f4bf9c8 100755
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -70,11 +70,13 @@ include("fbegin.inc");
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
- <ul id="tabnav">
- <li class="tabinact"><a href="/pkg.php?xml=carp.xml">CARP Virtual IPs</a></li>
- <li class="tabact">CARP Status</li>
- <li class="tabinact"><a href="/pkg_edit.php?xml=carp_settings.xml&id=0">CARP Settings</a></li>
- </ul>
+<?php
+ $tab_array = array();
+ $tab_array[0] = array("CARP Virtual IPs<", false, "/pkg.php?xml=carp.xml");
+ $tab_array[1] = array("CARP Status", true, "carp_status.php");
+ $tab_array[2] = array("CARP Settings", false, "/pkg_edit.php?xml=carp_settings.xml&id=0");
+ display_top_tabs($tab_array);
+?>
</td></tr>
<tr><td class="tabcont">
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 19bdb93..5499724 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -254,7 +254,10 @@ if ($pkg['tabs'] <> "") {
</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/firewall_nat_1to1.php b/usr/local/www/firewall_nat_1to1.php
index cdd68ce..3e0039c 100755
--- a/usr/local/www/firewall_nat_1to1.php
+++ b/usr/local/www/firewall_nat_1to1.php
@@ -83,6 +83,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td>
<?php
$tab_array = array();
@@ -151,7 +152,12 @@ include("head.inc");
</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/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 39ac051..06a5673 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -187,6 +187,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td>
<?php
$tab_array = array();
@@ -324,7 +325,12 @@ include("head.inc");
</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/firewall_nat_server.php b/usr/local/www/firewall_nat_server.php
index 1c5db09..d62676c 100755
--- a/usr/local/www/firewall_nat_server.php
+++ b/usr/local/www/firewall_nat_server.php
@@ -96,6 +96,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td>
<?php
$tab_array = array();
@@ -149,7 +150,12 @@ include("head.inc");
</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/firewall_rules.php b/usr/local/www/firewall_rules.php
index ba2cb93..7576b64 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -159,6 +159,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -322,6 +323,7 @@ include("head.inc");
</td>
</tr>
</table>
+</div>
<p>
<strong><span class="red">Hint:<br>
</span></strong>Rules are evaluated on a first-match basis (i.e.
@@ -332,3 +334,12 @@ include("head.inc");
<input type="hidden" name="if" value="<?=$if;?>">
</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/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 2273fc1..a7b9343 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -195,6 +195,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -320,7 +321,12 @@ include("head.inc");
IP packet length, TCP flags.</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/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php
index 2c4622c..5e5b616 100755
--- a/usr/local/www/firewall_shaper_queues.php
+++ b/usr/local/www/firewall_shaper_queues.php
@@ -116,6 +116,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
@@ -201,7 +202,13 @@ include("head.inc");
</p>
</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/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index 6ef0dc2..f9d531a 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -63,7 +63,6 @@ include("head.inc");
include("fbegin.inc");
?>
<p class="pgtitle">System: Package Manager</p>
-<br>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index ef62f1f..893cc25 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -280,6 +280,7 @@ function enable_change(enable_change) {
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="services_captiveportal.php" method="post" enctype="multipart/form-data" name="iform" id="iform">
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -454,6 +455,7 @@ The contents of the HTML file that you upload here are displayed when an authent
</td>
</tr>
</table>
+ </div>
</form>
<script language="JavaScript">
<!--
@@ -461,3 +463,9 @@ enable_change(false);
//-->
</script>
<?php include("fend.inc"); ?>
+<script type="text/javascript">
+NiftyCheck();
+Rounded("div#mainarea","bl br","#FFF","#eeeeee","smooth");
+</script>
+</body>
+</html> \ No newline at end of file
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php
index e79a474..8a9151a 100755
--- a/usr/local/www/services_captiveportal_ip.php
+++ b/usr/local/www/services_captiveportal_ip.php
@@ -82,6 +82,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -159,5 +160,12 @@ include("head.inc");
</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/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php
index 7275c0f..ffa9687 100755
--- a/usr/local/www/services_captiveportal_mac.php
+++ b/usr/local/www/services_captiveportal_mac.php
@@ -83,6 +83,7 @@ include("head.inc");
<?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>
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
+<div id="mainarea">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
@@ -141,5 +142,12 @@ include("head.inc");
</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> \ No newline at end of file
diff --git a/usr/local/www/services_captiveportal_users.php b/usr/local/www/services_captiveportal_users.php
index b6e86ec..7ceb1cf 100755
--- a/usr/local/www/services_captiveportal_users.php
+++ b/usr/local/www/services_captiveportal_users.php
@@ -171,6 +171,7 @@ if($_GET['act']=="new" || $_GET['act']=="edit"){
}
?>
<form action="services_captiveportal_users.php" method="post" name="iform" id="iform">
+ <div id="mainarea">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="22%" valign="top" class="vncellreq">Username</td>
@@ -271,4 +272,12 @@ END;
</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/system.php b/usr/local/www/system.php
index 9ef2af8..8ea58ad 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -182,12 +182,11 @@ include("head.inc");
?>
-System: General setup
-
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
+<p class="pgtitle">System: General setup</p>
<form action="system.php" method="post">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php
index 1317283..c27bc00 100755
--- a/usr/local/www/system_firmware_check.php
+++ b/usr/local/www/system_firmware_check.php
@@ -61,6 +61,7 @@ include("fbegin.inc");
$versions = check_firmware_version();
?>
<p class="pgtitle">System: Auto Update</p>
+ <div id="bottomonly">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
@@ -214,6 +215,7 @@ if(is_array($versions)) {
</td>
</tr>
</table>
+ </div>
<?php
include("fend.inc");
$versions['cachetime'] = time();
@@ -221,5 +223,9 @@ $fout = fopen("/tmp/versioncheck.cache", "w");
fwrite($fout, serialize($versions));
fclose($fout);
?>
+<script type="text/javascript">
+NiftyCheck();
+Rounded("div#bottomonly","bl br","#FFF","#eeeeee","smooth");
+</script>
</body>
</html>
OpenPOWER on IntegriCloud