diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-02-10 09:14:57 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-02-10 09:14:57 +0000 |
commit | a153c6d1c85149e5ced19bea7c7d1eccfd9ae24a (patch) | |
tree | 7544def7ffe087ec9426476e1f9322db4bfacb01 /src/usr/local/www/widgets | |
parent | 287df967fb3bde7e0514ab78a9e4e53e6fbe4415 (diff) | |
download | pfsense-a153c6d1c85149e5ced19bea7c7d1eccfd9ae24a.zip pfsense-a153c6d1c85149e5ced19bea7c7d1eccfd9ae24a.tar.gz |
Cleanup
Remove closing tag followed by opening tag. Change short_open_tag to full tag and put small instructions on same line.
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/captive_portal_status.widget.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php b/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php index c91d1c0..ec18c47 100644 --- a/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php +++ b/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php @@ -65,10 +65,6 @@ require_once("pfsense-utils.inc"); require_once("functions.inc"); require_once("captiveportal.inc"); -?> - -<?php - if (!is_array($config['captiveportal'])) { $config['captiveportal'] = array(); } diff --git a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php index c8de7df..00ae96a 100644 --- a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php +++ b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php @@ -174,13 +174,10 @@ if ($_REQUEST['getdyndnsstatus']) { } if ($dyndns['type'] == '_rfc2136_') : ?> RFC 2136 - <? endif; - ?> + <?php endif; ?> </td> <td> - <?php - print(htmlspecialchars($hostname)); - ?> + <?php print(htmlspecialchars($hostname)); ?> </td> <td> <div id="dyndnsstatus<?= $dyndnsid;?>"><?= gettext("Checking ...");?></div> |