diff --git a/src/www/status_lb_vs.php b/src/www/status_lb_vs.php
index d190b8b86..5e83d5753 100644
--- a/src/www/status_lb_vs.php
+++ b/src/www/status_lb_vs.php
@@ -58,7 +58,7 @@ include("head.inc");
"));?>
- endif; ?>
+
diff --git a/src/www/status_upnp.php b/src/www/status_upnp.php
index 209083307..4d388fd03 100644
--- a/src/www/status_upnp.php
+++ b/src/www/status_upnp.php
@@ -1,4 +1,5 @@
.
@@ -67,7 +68,7 @@ include("head.inc");
- else: ?>
+
@@ -111,7 +112,7 @@ include("head.inc");
- endif; ?>
+
diff --git a/src/www/vpn_openvpn_export.php b/src/www/vpn_openvpn_export.php
index 59c9ac3a0..96c9e6bfc 100644
--- a/src/www/vpn_openvpn_export.php
+++ b/src/www/vpn_openvpn_export.php
@@ -321,10 +321,8 @@ servers[=$sindex;
servers[=$sindex;
?>][3][=$c;
?>][1] = '=str_replace("'", "\\'", $cert['certname']);?>';
- $c++;
-endforeach; ?>
-
-endforeach; ?>
+
+
function download_begin(act, i, j) {
diff --git a/src/www/vpn_openvpn_server.php b/src/www/vpn_openvpn_server.php
index f41681936..579787c72 100644
--- a/src/www/vpn_openvpn_server.php
+++ b/src/www/vpn_openvpn_server.php
@@ -1128,11 +1128,10 @@ endif; ?>
-
+
-
+
@@ -1151,8 +1150,7 @@ endif; ?>
-
+
diff --git a/src/www/widgets/widgets/ipsec.widget.php b/src/www/widgets/widgets/ipsec.widget.php
index 55d491e55..1e1a4dd0a 100644
--- a/src/www/widgets/widgets/ipsec.widget.php
+++ b/src/www/widgets/widgets/ipsec.widget.php
@@ -141,13 +141,13 @@ if (isset($config['ipsec']['phase2'])) {
=$ipsec['local-ts'];?> |
=$ipsec['remote-ts'];?> |
- if($ipsec['active']):
+
- else:
+
- endif;
+
|
diff --git a/src/www/widgets/widgets/system_information.widget.php b/src/www/widgets/widgets/system_information.widget.php
index a4286f547..7af706016 100644
--- a/src/www/widgets/widgets/system_information.widget.php
+++ b/src/www/widgets/widgets/system_information.widget.php
@@ -64,23 +64,17 @@ $filesystems = get_mounted_filesystems();
jQuery("#cpuPB").css( { width:0 } );
jQuery("#memUsagePB").css( { width: '%' } );
-
-
+
+
jQuery("#diskUsagePB").css( { width: '%' } );
-
+
-
+
jQuery("#swapUsagePB").css( { width: '%' } );
-
-
+
+
jQuery("#tempPB").css( { width: '%' } );
-
+
});
//]]>
@@ -114,17 +108,14 @@ endif; ?>
| =gettext("CPU Type");?> |
-
+
= get_cpufreq(); ?>
1) :
?>
= htmlspecialchars($cpucount) ?> CPUs: = htmlspecialchars(get_cpu_count(true)); ?>
-
+
|
=gettext("Hardware crypto");?> |
=htmlspecialchars($hwcrypto);?> |
-
+
| =gettext("Uptime");?> |
= htmlspecialchars(get_uptime()); ?> |
@@ -162,8 +152,7 @@ endif; ?>
=gettext("Last config change");?> |
= htmlspecialchars(date("D M j G:i:s T Y", intval($config['revision']['time'])));?> |
-
+
| =gettext("State table size");?> |
@@ -213,8 +202,7 @@ endif; ?>
= $temp."°C"; ?>
|
-
+
| =gettext("Load average");?> |
@@ -259,23 +247,21 @@ endif; ?>
= $swapusage.'%'; ?> used = sprintf("%.0f/%.0f", `/usr/sbin/swapinfo -m | /usr/bin/grep -v Device | /usr/bin/awk '{ print $3;}'`, `/usr/sbin/swapinfo -m | /usr/bin/grep -v Device | /usr/bin/awk '{ print $2;}'`) ?> MB
|
-
+
| =gettext("Disk usage");?> |
-
-
+
+
-
- : = $fs['percent_used'].'%'; ?> used : = $fs['percent_used'].'%'; ?> used ';
}
diff --git a/src/www/wizard.php b/src/www/wizard.php
index 03e1ff1f7..591442732 100644
--- a/src/www/wizard.php
+++ b/src/www/wizard.php
@@ -222,7 +222,7 @@ include("head.inc");
?>
- include("fbegin.inc"); ?>
+
"") { ?>
|