diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-02-15 15:16:31 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-02-15 15:16:31 +0000 |
commit | f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b (patch) | |
tree | 342dc6a643802153d70f43978598a62f04d8107f /src/usr/local/www/pkg_mgr.php | |
parent | 703342b0354edeeb3179540715114a380c2f335c (diff) | |
download | pfsense-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/pkg_mgr.php')
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php index 1863214..22b5cad 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -207,11 +207,11 @@ display_top_tabs($tab_array); <div class="panel-heading"><h2 class="panel-title"><?=gettext('Packages')?></h2></div> <div id="pkgtbl" class="panel-body table-responsive"> <div id="waitmsg"> - <?=print_info_box(gettext("Please wait while the list of packages is retrieved and formatted.") . ' <i class="fa fa-cog fa-spin"></i>')?> + <?php print_info_box(gettext("Please wait while the list of packages is retrieved and formatted.") . ' <i class="fa fa-cog fa-spin"></i>'); ?> </div> <div id="errmsg" style="display: none;"> - <?=print_info_box("<ul><li>" . gettext("Unable to retrieve package information.") . "</li></ul>", 'danger')?> + <?php print_info_box("<ul><li>" . gettext("Unable to retrieve package information.") . "</li></ul>", 'danger'); ?> </div> </div> </div> |