diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-01-29 11:07:17 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-01-29 11:07:17 +0000 |
commit | 2af731f8bfd483d5b6a27eab00aa603dec757011 (patch) | |
tree | 423b3e046a7f13f736f1538edf694f35b46a6ebf /src/usr | |
parent | 1fde544ff653016c505580017f6f9541cf842198 (diff) | |
download | pfsense-2af731f8bfd483d5b6a27eab00aa603dec757011.zip pfsense-2af731f8bfd483d5b6a27eab00aa603dec757011.tar.gz |
Minor cleanup
1) Undo typos in sasl.inc. 2) Remove unused code from CSS. 3) Correct typos in some comments. 4) Convert short_open_tag to full tags. 5) Make 'else' block look like the others.
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/bootstrap/css/pfSense.css | 4 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 12 |
3 files changed, 7 insertions, 11 deletions
diff --git a/src/usr/local/www/bootstrap/css/pfSense.css b/src/usr/local/www/bootstrap/css/pfSense.css index 00865ee..8fe1981 100644 --- a/src/usr/local/www/bootstrap/css/pfSense.css +++ b/src/usr/local/www/bootstrap/css/pfSense.css @@ -96,10 +96,6 @@ tr.disabled th { margin-bottom: 10px; } -ul.context-links li a { - -} - /* navigation */ .navbar { margin-bottom: 10px; diff --git a/src/usr/local/www/firewall_nat.php b/src/usr/local/www/firewall_nat.php index 8b481d1..ee0315c 100644 --- a/src/usr/local/www/firewall_nat.php +++ b/src/usr/local/www/firewall_nat.php @@ -475,7 +475,7 @@ endforeach; <script type="text/javascript"> //<![CDATA[ -//Need to create some variables here so that jquert/pfSenseHelpers.php can read them +//Need to create some variables here so that jquery/pfSenseHelpers.js can read them iface = "<?=strtolower($if)?>"; cncltxt = '<?=gettext("Cancel")?>'; svtxt = '<?=gettext("Save")?>'; diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 0c2ab29..87a711f 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -407,7 +407,7 @@ $columns_in_table = 13; <tr id="antilockout"> <td></td> <td title="<?=gettext("traffic is passed")?>"><i class="fa fa-check text-success"></i></td> - <td><? print_states(intval(ANTILOCKOUT_TRACKER)); ?></td> + <td><?php print_states(intval(ANTILOCKOUT_TRACKER)); ?></td> <td>*</td> <td>*</td> <td>*</td> @@ -426,7 +426,7 @@ $columns_in_table = 13; <tr id="frrfc1918"> <td></td> <td title="<?=gettext("traffic is blocked")?>"><i class="fa fa-times text-danger"></i></td> - <td><? print_states(intval(RFC1918_TRACKER)); ?></td> + <td><?php print_states(intval(RFC1918_TRACKER)); ?></td> <td>*</td> <td><?=gettext("RFC 1918 networks");?></td> <td>*</td> @@ -445,7 +445,7 @@ $columns_in_table = 13; <tr id="frrfc1918"> <td></td> <td title="<?=gettext("traffic is blocked")?>"><i class="fa fa-times text-danger"></i></td> - <td><? print_states(intval(BOGONS_TRACKER)); ?></td> + <td><?php print_states(intval(BOGONS_TRACKER)); ?></td> <td>*</td> <td><?=sprintf(gettext("Reserved%sNot assigned by IANA"), "<br />");?></td> <td>*</td> @@ -668,7 +668,7 @@ for ($i = 0; isset($a_filter[$i]); $i++): } } ?> - <td><? print_states(intval($filterent['tracker'])); ?></td> + <td><?php print_states(intval($filterent['tracker'])); ?></td> <td> <?php if (isset($filterent['ipprotocol'])) { @@ -724,7 +724,7 @@ for ($i = 0; isset($a_filter[$i]); $i++): <a href="/firewall_aliases_edit.php?id=<?=$alias['dst']?>" data-toggle="popover" data-trigger="hover focus" title="<?=gettext('Alias details')?>" data-content="<?=alias_info_popup($alias['dst'])?>" data-html="true"> <?=htmlspecialchars(pprint_address($filterent['destination']))?> </a> - <?php else :?> + <?php else: ?> <?=htmlspecialchars(pprint_address($filterent['destination']))?> <?php endif; ?> </td> @@ -877,7 +877,7 @@ for ($i = 0; isset($a_filter[$i]); $i++): <script type="text/javascript"> //<![CDATA[ -//Need to create some variables here so that jquer/pfSenseHelpers.php can read them +//Need to create some variables here so that jquery/pfSenseHelpers.js can read them iface = "<?=strtolower($if)?>"; cncltxt = '<?=gettext("Cancel")?>'; svtxt = '<?=gettext("Save")?>'; |