summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-01-07 15:30:27 +0000
committerStephen Beaver <sbeaver@netgate.com>2016-01-07 15:50:30 -0500
commitfa172bc5e8142ccfecdcb8cac021a59cef5c2d7e (patch)
tree9b9c4072ccdab045601977d9158065fb5d160b6e /src/usr/local/www/system_gateways.php
parent02ba2c972a6518b6cbe2eaeb791b2e99964c93a9 (diff)
downloadpfsense-fa172bc5e8142ccfecdcb8cac021a59cef5c2d7e.zip
pfsense-fa172bc5e8142ccfecdcb8cac021a59cef5c2d7e.tar.gz
Convert short open tags to full tags
Short open tag is discouraged since it is only available if enabled See https://secure.php.net/manual/en/language.basic-syntax.phptags.php
Diffstat (limited to 'src/usr/local/www/system_gateways.php')
-rw-r--r--src/usr/local/www/system_gateways.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/system_gateways.php b/src/usr/local/www/system_gateways.php
index 0a6905f..e73d00b 100644
--- a/src/usr/local/www/system_gateways.php
+++ b/src/usr/local/www/system_gateways.php
@@ -319,7 +319,7 @@ foreach ($a_gateways as $i => $gateway):
<a href="system_gateways_edit.php?id=<?=$i?>" class="fa fa-pencil" title="<?=gettext('Edit');?>"></a>
<a href="system_gateways_edit.php?dup=<?=$i?>" class="fa fa-clone" title="<?=gettext('Copy')?>"></a>
-<? if (is_numeric($gateway['attribute'])): ?>
+<?php if (is_numeric($gateway['attribute'])): ?>
<?php if (isset($gateway['disabled'])) {
?>
<a href="?act=toggle&amp;id=<?=$i?>" class="fa fa-check-square-o" title="<?=gettext('Enable')?>"></a>
@@ -330,10 +330,10 @@ foreach ($a_gateways as $i => $gateway):
?>
<a href="system_gateways.php?act=del&amp;id=<?=$i?>" class="fa fa-trash" title="<?=gettext('Delete')?>"></a>
-<? endif?>
+<?php endif; ?>
</td>
</tr>
-<? endforeach?>
+<?php endforeach; ?>
</tbody>
</table>
OpenPOWER on IntegriCloud