summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_confbak.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-02-15 15:16:31 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-02-15 15:16:31 +0000
commitf6aebbcc55b4e83d4a05f503b5491ce5e6fb043b (patch)
tree342dc6a643802153d70f43978598a62f04d8107f /src/usr/local/www/diag_confbak.php
parent703342b0354edeeb3179540715114a380c2f335c (diff)
downloadpfsense-f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b.zip
pfsense-f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b.tar.gz
Bring all calls of print_info_box to same standard
The call itself to print_info_box already echoes the content. There is no need of additionally using the short-open-echo tag on those calls to echo return value. The previous implementation shouldn't yell any visible issues as return is 'NULL' (undefined) which casts to an empty string when printing. But, just for the sake of conformity, this changes are advisable in my opinion.
Diffstat (limited to 'src/usr/local/www/diag_confbak.php')
-rw-r--r--src/usr/local/www/diag_confbak.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php
index cd67957..a6674df 100644
--- a/src/usr/local/www/diag_confbak.php
+++ b/src/usr/local/www/diag_confbak.php
@@ -213,12 +213,12 @@ if (is_array($confvers)) {
?>
<div>
<div class="infoblock blockopen">
- <?=print_info_box(
+ <?php print_info_box(
gettext(
'To view the differences between an older configuration and a newer configuration, ' .
'select the older configuration using the left column of radio options and select the newer configuration in the right column, ' .
'then press the "Diff" button.'),
- 'info', false)?>
+ 'info', false); ?>
</div>
</div>
<?php
OpenPOWER on IntegriCloud