summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-01-29 11:07:17 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-01-29 11:07:17 +0000
commit2af731f8bfd483d5b6a27eab00aa603dec757011 (patch)
tree423b3e046a7f13f736f1538edf694f35b46a6ebf
parent1fde544ff653016c505580017f6f9541cf842198 (diff)
downloadpfsense-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.
-rw-r--r--src/etc/inc/sasl.inc4
-rw-r--r--src/usr/local/www/bootstrap/css/pfSense.css4
-rw-r--r--src/usr/local/www/firewall_nat.php2
-rw-r--r--src/usr/local/www/firewall_rules.php12
4 files changed, 9 insertions, 13 deletions
diff --git a/src/etc/inc/sasl.inc b/src/etc/inc/sasl.inc
index f6a8d0b..a9582da 100644
--- a/src/etc/inc/sasl.inc
+++ b/src/etc/inc/sasl.inc
@@ -178,7 +178,7 @@ class sasl_client_class
<purpose>Retrieve the values of one or more credentials to be used by
the authentication mechanism classes.</purpose>
<usage>This is meant to be used by authentication mechanism driver
- classes to retrieve the credentials that may be neede.</usage>
+ classes to retrieve the credentials that may be needed.</usage>
<returnvalue>The function may return <tt>SASL_CONTINUE</tt> if it
succeeded, or <tt>SASL_NOMECH</tt> if it was not possible to
retrieve one of the requested credentials.</returnvalue>
@@ -359,7 +359,7 @@ class sasl_client_class
<type>INTEGER</type>
<documentation>
<purpose>Process the authentication steps after the initial step,
- until the authetication iteration dialog is complete.</purpose>
+ until the authentication iteration dialog is complete.</purpose>
<usage>Call this function iteratively after a successful initial
step calling the <functionlink>Start</functionlink> function.</usage>
<returnvalue>The function returns <tt>SASL_CONTINUE</tt> if step was
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")?>';
OpenPOWER on IntegriCloud