diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-02-18 09:30:10 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-02-18 09:30:10 +0000 |
commit | 607e7686fd59de9cfe677802333a8c062e8404bf (patch) | |
tree | b9296663c6a1892175eb2cb9f0f854f7a1a1a0db /src/usr/local/www/widgets | |
parent | 00f298029285114925a733af2ab29222351b12fd (diff) | |
download | pfsense-607e7686fd59de9cfe677802333a8c062e8404bf.zip pfsense-607e7686fd59de9cfe677802333a8c062e8404bf.tar.gz |
Minor tweaks to simplify code
Calling print(sprintf(...)) can be simplified to printf(...). <?php print can be simplified to <?=.
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 00ae96a..4f5fec5 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 @@ -177,7 +177,7 @@ if ($_REQUEST['getdyndnsstatus']) { <?php endif; ?> </td> <td> - <?php print(htmlspecialchars($hostname)); ?> + <?=htmlspecialchars($hostname);?> </td> <td> <div id="dyndnsstatus<?= $dyndnsid;?>"><?= gettext("Checking ...");?></div> |