summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-15 03:11:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-15 03:11:31 +0000
commit0831bc8616b85859751d9c30f35030dd35cb3a22 (patch)
treeaf153642965fe43cc7b659427482906eb24912c4 /usr/local
parent27128470c5615f743510c55bf2c6a50ea32a91b5 (diff)
downloadpfsense-0831bc8616b85859751d9c30f35030dd35cb3a22.zip
pfsense-0831bc8616b85859751d9c30f35030dd35cb3a22.tar.gz
Fix bugs found by eclipse
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/edit.php2
-rwxr-xr-xusr/local/www/fbegin.inc6
-rwxr-xr-xusr/local/www/interfaces_wlan.inc2
-rwxr-xr-xusr/local/www/progress.php1
-rwxr-xr-xusr/local/www/system_advanced.php2
-rwxr-xr-xusr/local/www/system_routes.php2
6 files changed, 7 insertions, 8 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index e6c0265..8ba9e2c 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -136,7 +136,7 @@ function sf() { document.forms[0].savetopath.focus(); }
<?php if($_POST['highlight'] == "no"): ?>
Rows: <input size="3" name="rows" value="<? echo $rows; ?>">
Cols: <input size="3" name="cols" value="<? echo $cols; ?>">
- <?php endif ?>
+ <?php endif; ?>
|
Highlighting: <input name="highlight" type="radio" value="yes"
<?php if($highlight == "yes") echo " checked"; ?>>Enabled
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index 084234d..5c2827f 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -101,7 +101,7 @@ require_once("notices.inc");
<li><a href="/system.php" class="navlnk">General Setup</a></li>
<?php if($g['platform'] == "pfSense"): ?>
<li><a href="/pkg_mgr.php" class="navlnk">Packages</a></li>
- <?php endif ?>
+ <?php endif; ?>
<li><a href="/wizard.php?xml=setup_wizard.xml" class="navlnk">Setup wizard</a></li>
<li><a href="/system_routes.php" class="navlnk">Static routes</a></li>
</ul>
@@ -169,7 +169,7 @@ require_once("notices.inc");
<li><a href="/diag_ipsec_sad.php" class="navlnk">IPsec</a></li>
<?php if($g['platform'] == "pfSense"): ?>
<li><a href="/diag_pkglogs.php" class="navlnk">Package logs</a></li>
- <?php endif ?>
+ <?php endif; ?>
<li><a href="/status_queues.php" class="navlnk">Queues</a></li>
<li><a href="/status_services.php" class="navlnk">Services</a></li>
<li><a href="/index.php" class="navlnk">System</a></li>
@@ -211,7 +211,7 @@ require_once("notices.inc");
<?php if(isset($config['system']['developer'])): ?>
<li><hr width="80%"/></li>
<li><a href="/restart_httpd.php" class="navlnk">Restart HTTPD</a></li>
- <?php endif ?>
+ <?php endif; ?>
</ul>
</li>
</ul>
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc
index 45a90dd..56ca5cf 100755
--- a/usr/local/www/interfaces_wlan.inc
+++ b/usr/local/www/interfaces_wlan.inc
@@ -281,7 +281,7 @@ function wireless_config_print() {
</tr>
<tr>
<td valign="top" class="vncellreq">SSID</td>
- <td class="vtable"><?=$mandfldhtml;?><input name="ssid" type="text" class="formfld" id="ssid" size="20" value="<?=htmlspecialchars($pconfig['ssid']);?>">
+ <td class="vtable"><input name="ssid" type="text" class="formfld" id="ssid" size="20" value="<?=htmlspecialchars($pconfig['ssid']);?>">
</td>
</tr>
<tr>
diff --git a/usr/local/www/progress.php b/usr/local/www/progress.php
index b677874..2325c03 100755
--- a/usr/local/www/progress.php
+++ b/usr/local/www/progress.php
@@ -107,6 +107,5 @@ if (!$X) {
</BODY>
</HTML>
-<? } } ?>
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 92bb650..30b37fd 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -315,7 +315,7 @@ include("head.inc");
<tr>
<td colspan="2" class="list" height="12"></td>
</tr>
- <?php endif ?>
+ <?php endif; ?>
<tr>
<td colspan="2" valign="top" class="listtopic">Secure Shell</td>
</tr>
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php
index 86e24a9..2edde7a 100755
--- a/usr/local/www/system_routes.php
+++ b/usr/local/www/system_routes.php
@@ -109,7 +109,7 @@ include("head.inc");
<tr><td colspan=2><hr><input type="submit" value="Save"></td></tr>
</table><br>
- <?php endif ?>
+ <?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
OpenPOWER on IntegriCloud