diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-01-14 15:59:59 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-01-14 15:59:59 +0000 |
commit | 5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32 (patch) | |
tree | ae4ea269f6b99756f25f3649238b523a42123322 /src/usr/local/www/firewall_aliases_edit.php | |
parent | ebfbb1b30c52dd9b9385dc3717c8dbb1cdafc9f2 (diff) | |
download | pfsense-5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32.zip pfsense-5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32.tar.gz |
All simple php echo to short
Short version is far more used than long php echo. This brings all code to same standard where possible.
Diffstat (limited to 'src/usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-x | src/usr/local/www/firewall_aliases_edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_aliases_edit.php b/src/usr/local/www/firewall_aliases_edit.php index a9f0c5ab..89ee9dc 100755 --- a/src/usr/local/www/firewall_aliases_edit.php +++ b/src/usr/local/www/firewall_aliases_edit.php @@ -743,18 +743,18 @@ events.push(function() { $("[id^='address_subnet']").prop("disabled", disable_subnets); // Set the help text to match the tab - var helparray = <?php echo json_encode($help); ?>; + var helparray = <?=json_encode($help);?>; $('.helptext').html(helparray[tab]); // Set the section heading by tab type - var sectionstr = <?php echo json_encode($section_str); ?>; + var sectionstr = <?=json_encode($section_str);?>; $('.panel-title:last').text(sectionstr[tab]); - var buttonstr = <?php echo json_encode($btn_str); ?>; + var buttonstr = <?=json_encode($btn_str);?>; $('.btn-success').prop('value', buttonstr[tab]); // Set the input field label by tab - var labelstr = <?php echo json_encode($label_str); ?>; + var labelstr = <?=json_encode($label_str);?>; $('.repeatable:first').find('label').text(labelstr[tab]); // Hide and disable rows other than the first |