From 5a39eb2b6895431ed36983802e751c81a1d0f063 Mon Sep 17 00:00:00 2001 From: bcyrill Date: Sat, 2 Feb 2013 13:56:20 +0100 Subject: Whitespaces --- usr/local/www/services_dyndns.php | 161 ++++++++++++++++++++------------------ 1 file changed, 83 insertions(+), 78 deletions(-) (limited to 'usr/local/www/services_dyndns.php') diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php index b4fdc32..aa8e762 100755 --- a/usr/local/www/services_dyndns.php +++ b/usr/local/www/services_dyndns.php @@ -45,21 +45,21 @@ if (!is_array($config['dyndnses']['dyndns'])) $a_dyndns = &$config['dyndnses']['dyndns']; if ($_GET['act'] == "del") { - unset($a_dyndns[$_GET['id']]); + unset($a_dyndns[$_GET['id']]); - for($i = 0; $i < count($a_dyndns); $i++) { - $a_dyndns[$i]['id'] = $i; - } + for($i = 0; $i < count($a_dyndns); $i++) { + $a_dyndns[$i]['id'] = $i; + } - //FIXME: Instead of rechecking all interfaces and removing the cache files, gracefully move all cache files to the appropriate ID number. - mwexec("/bin/rm {$g['conf_path']}/dyndns_*.cache"); + //FIXME: Instead of rechecking all interfaces and removing the cache files, gracefully move all cache files to the appropriate ID number. + mwexec("/bin/rm {$g['conf_path']}/dyndns_*.cache"); - write_config(); + write_config(); - services_dyndns_configure(); + services_dyndns_configure(); - header("Location: services_dyndns.php"); - exit; + header("Location: services_dyndns.php"); + exit; } function dyndnsCheckIP($int) { @@ -92,31 +92,33 @@ include("head.inc");
- + + + - - +
+
-
-
- - + + + + + + + + + + + + +
+
+ + - - - - + + + + - - + + - - - + + - - - - - - - - - - - - -
- $ifdesc) { + $ifdesc) { if ($dyndns['interface'] == $if) { echo "{$ifdesc}"; $iface = $if; @@ -131,64 +133,67 @@ include("head.inc"); break; } } - ?> + ?> - - - - - $cached_ip) - echo ""; - else - echo ""; - echo htmlspecialchars($cached_ip); - echo ""; - } else { - echo "N/A"; + + + ?> + + + + $cached_ip) + echo ""; + else + echo ""; + echo htmlspecialchars($cached_ip); + echo ""; + } else { + echo "N/A"; + } + ?> -   - -  ')">

-
-
-
- -

 
-
+
+   + + +   + ')"> +

+
+
+
+ +

 
+
-- cgit v1.1