summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-17 11:17:29 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-17 11:17:29 -0300
commit7f7626ba444140848da559431688a5b38d3eeffd (patch)
treef336e0ea0103f1bcac53cd282cdfe2ff562da1c7 /usr/local/www/widgets
parent9c3b8c6edba4ca1d6cedb21c85f17a9637e18a74 (diff)
parent8cd558b61b9c24ee109993d8e76ddc4870ffa4fa (diff)
downloadpfsense-7f7626ba444140848da559431688a5b38d3eeffd.zip
pfsense-7f7626ba444140848da559431688a5b38d3eeffd.tar.gz
Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/installed_packages.widget.php6
-rw-r--r--usr/local/www/widgets/widgets/interfaces.widget.php2
-rw-r--r--usr/local/www/widgets/widgets/ipsec.widget.php6
-rw-r--r--usr/local/www/widgets/widgets/load_balancer_status.widget.php4
-rw-r--r--usr/local/www/widgets/widgets/log.widget.php2
-rw-r--r--usr/local/www/widgets/widgets/openvpn.widget.php4
-rw-r--r--usr/local/www/widgets/widgets/rss.widget.php8
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php8
-rw-r--r--usr/local/www/widgets/widgets/traffic_graphs.widget.php4
9 files changed, 22 insertions, 22 deletions
diff --git a/usr/local/www/widgets/widgets/installed_packages.widget.php b/usr/local/www/widgets/widgets/installed_packages.widget.php
index aba5d96..0682f92 100644
--- a/usr/local/www/widgets/widgets/installed_packages.widget.php
+++ b/usr/local/www/widgets/widgets/installed_packages.widget.php
@@ -78,18 +78,18 @@ $updateavailable = false;
$latest_package = $currentvers[$pkg['name']]['version'];
if($latest_package == false) {
// We can't determine this package's version status.
- echo "Current: Unknown.<br/>Installed: " . $pkg['version'];
+ echo "Current: Unknown.<br />Installed: " . $pkg['version'];
} elseif(strcmp($pkg['version'], $latest_package) > 0) {
/* we're running a newer version of the package */
echo "Current: {$latest_package}";
- echo "<br/>Installed: {$pkg['version']}";
+ echo "<br />Installed: {$pkg['version']}";
} elseif(strcmp($pkg['version'], $latest_package) < 0) {
/* our package is out of date */
$updateavailable = true;
?>
<div id="updatediv-<?php echo $y; ?>" style="color:red">
<b>Update Available!</b></div><div style="float:left">
- Current: <?php echo $latest_package; ?><br/>
+ Current: <?php echo $latest_package; ?><br />
Installed: <?php echo $pkg['version']; ?></div><div style="float:right">
<a href="pkg_mgr_install.php?mode=reinstallpkg&amp;pkg=<?= $pkg['name']; ?>"><img title="Update this package." src="./themes/<?= $g['theme']; ?>/images/icons/icon_reinstall_pkg.gif" width="17" height="17" border="0" alt="reinstall" /></a>
</div>
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php
index e7e1c61..22b15d9 100644
--- a/usr/local/www/widgets/widgets/interfaces.widget.php
+++ b/usr/local/www/widgets/widgets/interfaces.widget.php
@@ -95,7 +95,7 @@ require_once("/usr/local/www/widgets/include/interfaces.inc");
<tr>
<td class="vncellt" width="100%">
<div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);?> </div>
- <br/>
+ <br />
<div id="<?php echo $ifname;?>-ipv6" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddrv6']);?> </div>
</td>
</tr>
diff --git a/usr/local/www/widgets/widgets/ipsec.widget.php b/usr/local/www/widgets/widgets/ipsec.widget.php
index 6b936d6..9d35e0b 100644
--- a/usr/local/www/widgets/widgets/ipsec.widget.php
+++ b/usr/local/www/widgets/widgets/ipsec.widget.php
@@ -137,7 +137,7 @@ if (isset($config['ipsec']['phase1'])){?>
</div>
<div class="listr" style="display:table-cell;width:100px"><?php echo $spans;?>
<?php echo $ipsec['remote-subnet'];?>
- <br/>
+ <br />
(<?php echo htmlspecialchars($ipsec['dest']);?>)<?php echo $spane;?>
</div>
<div class="listr" style="display:table-cell;width:90px"><?php echo $spans;?><?php echo htmlspecialchars($ipsec['descr']);?><?php echo $spane;?></div>
@@ -171,11 +171,11 @@ if (isset($config['ipsec']['phase1'])){?>
<?php foreach ($mobile as $muser) : ?>
<div style="display:table-row;">
<div class="listlr" style="display:table-cell;width:139px">
- <?php echo htmlspecialchars($muser['username']);?><br/>
+ <?php echo htmlspecialchars($muser['username']);?><br />
<?php echo htmlspecialchars($muser['logintime']);?>
</div>
<div class="listr" style="display:table-cell;width:130px">
- <?php echo htmlspecialchars($muser['local']);?><br/>
+ <?php echo htmlspecialchars($muser['local']);?><br />
<?php echo htmlspecialchars($muser['remote']);?>
</div>
<div class="listr" style="display:table-cell;width:30px" align="center">
diff --git a/usr/local/www/widgets/widgets/load_balancer_status.widget.php b/usr/local/www/widgets/widgets/load_balancer_status.widget.php
index e520eec..910bba8 100644
--- a/usr/local/www/widgets/widgets/load_balancer_status.widget.php
+++ b/usr/local/www/widgets/widgets/load_balancer_status.widget.php
@@ -86,9 +86,9 @@ if (!$nentries)
}
?>
<td class="listlr">
- <?=$vsent['name'];?><br/>
+ <?=$vsent['name'];?><br />
<span style="background-color: <?=$bgcolor?>; display: block"><i><?=$rdr_a[$vsent['name']]['status']?></i></span>
- <?=$vsent['ipaddr'].":".$vsent['port'];?><br/>
+ <?=$vsent['ipaddr'].":".$vsent['port'];?><br />
</td>
<td class="listr" align="center" >
<table border="0" cellpadding="0" cellspacing="2" summary="status">
diff --git a/usr/local/www/widgets/widgets/log.widget.php b/usr/local/www/widgets/widgets/log.widget.php
index 585b3a8..8f2d6d0 100644
--- a/usr/local/www/widgets/widgets/log.widget.php
+++ b/usr/local/www/widgets/widgets/log.widget.php
@@ -145,7 +145,7 @@ function format_log_line(row) {
<input id="actpass" name="actpass" type="checkbox" value="Pass" <?php if (in_arrayi('Pass', $Include_Act)) echo "checked=\"checked\""; ?> /> Pass
<input id="actblock" name="actblock" type="checkbox" value="Block" <?php if (in_arrayi('Block', $Include_Act)) echo "checked=\"checked\""; ?> /> Block
<input id="actreject" name="actreject" type="checkbox" value="Reject" <?php if (in_arrayi('Reject', $Include_Act)) echo "checked=\"checked\""; ?> /> Reject
- <br/>
+ <br />
Interfaces:
<select id="filterlogentriesinterfaces" name="filterlogentriesinterfaces" class="formselect">
<option value="All">ALL</option>
diff --git a/usr/local/www/widgets/widgets/openvpn.widget.php b/usr/local/www/widgets/widgets/openvpn.widget.php
index 5c7d756..fc24948 100644
--- a/usr/local/www/widgets/widgets/openvpn.widget.php
+++ b/usr/local/www/widgets/widgets/openvpn.widget.php
@@ -60,7 +60,7 @@ $sk_servers = openvpn_get_active_servers("p2p");
$clients = openvpn_get_active_clients();
?>
-<br/>
+<br />
<script type="text/javascript">
function killClient(mport, remipp) {
var busy = function(index,icon) {
@@ -248,7 +248,7 @@ $clients = openvpn_get_active_clients();
}
if ($DisplayNote) {
- echo "<br/><b>NOTE:</b> You need to bind each OpenVPN client to enable its management daemon: use 'Local port' setting in the OpenVPN client screen";
+ echo "<br /><b>NOTE:</b> You need to bind each OpenVPN client to enable its management daemon: use 'Local port' setting in the OpenVPN client screen";
}
if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) {
diff --git a/usr/local/www/widgets/widgets/rss.widget.php b/usr/local/www/widgets/widgets/rss.widget.php
index 052cff1..a149907 100644
--- a/usr/local/www/widgets/widgets/rss.widget.php
+++ b/usr/local/www/widgets/widgets/rss.widget.php
@@ -81,7 +81,7 @@ else
<div id="rss-settings" class="widgetconfigdiv" style="display:none;">
<form action="/widgets/widgets/rss.widget.php" method="post" name="iformc">
<textarea name="rssfeed" class="formfld unknown textarea_widget" id="rssfeed" cols="40" rows="3"><?=$textarea_txt;?></textarea>
- <br/>
+ <br />
<table summary="rss widget">
<tr>
<td align="right">
@@ -161,11 +161,11 @@ else
foreach($feed->get_items() as $item) {
$feed = $item->get_feed();
$feed->strip_htmltags();
- echo "<a target='blank' href='" . $item->get_permalink() . "'>" . $item->get_title() . "</a><br/>";
+ echo "<a target='blank' href='" . $item->get_permalink() . "'>" . $item->get_title() . "</a><br />";
$content = $item->get_content();
$content = strip_tags($content);
- echo textLimit($content, $rsswidgettextlength) . "<br/>";
- echo "Source: <a target='_blank' href='" . $item->get_permalink() . "'><img src='" . $feed->get_favicon() . "' alt='" . $feed->get_title() . "' title='" . $feed->get_title() . "' border='0' width='16' height='16' /></a><br/>";
+ echo textLimit($content, $rsswidgettextlength) . "<br />";
+ echo "Source: <a target='_blank' href='" . $item->get_permalink() . "'><img src='" . $feed->get_favicon() . "' alt='" . $feed->get_title() . "' title='" . $feed->get_title() . "' border='0' width='16' height='16' /></a><br />";
$counter++;
if($counter > $max_items)
break;
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index 36629fb..5f0a011 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -70,7 +70,7 @@ if($_REQUEST['getupdatestatus']) {
else {
$needs_system_upgrade = false;
if (pfs_version_compare($current_installed_buildtime, $current_installed_version, $remote_version) == -1) {
- echo "<br/><span class=\"red\" id=\"updatealert\"><b>Update available. </b></span><a href=\"/system_firmware_check.php\">Click Here</a> to view update.";
+ echo "<br /><span class=\"red\" id=\"updatealert\"><b>Update available. </b></span><a href=\"/system_firmware_check.php\">Click Here</a> to view update.";
echo "<script type=\"text/javascript\">";
echo "jQuery('#updatealert').effect('pulsate',{times: 30},10000);";
@@ -121,7 +121,7 @@ $curcfg = $config['system']['firmware'];
<div id="uname"><a href="#" onclick='swapuname(); return false;'><?php echo php_uname("s") . " " . php_uname("r"); ?></a></div>
<?php endif; ?>
<?php if(!isset($config['system']['firmware']['disablecheck'])): ?>
- <div id='updatestatus'><br/><?php echo gettext("Obtaining update status"); ?> ...</div>
+ <div id='updatestatus'><br /><?php echo gettext("Obtaining update status"); ?> ...</div>
<?php endif; ?>
</td>
</tr>
@@ -149,7 +149,7 @@ $curcfg = $config['system']['firmware'];
<td width="75%" class="listr">
<?=htmlspecialchars(nanobsd_friendly_slice_name($BOOT_DEVICE));?> / <?=htmlspecialchars($BOOTFLASH);?> <?php echo $rw; ?>
<?php if ($BOOTFLASH != $ACTIVE_SLICE): ?>
- <br/><br/>Next Boot:<br/>
+ <br /><br />Next Boot:<br />
<?=htmlspecialchars(nanobsd_friendly_slice_name($GLABEL_SLICE));?> / <?=htmlspecialchars($ACTIVE_SLICE);?>
<?php endif; ?>
</td>
@@ -194,7 +194,7 @@ $curcfg = $config['system']['firmware'];
<?php
$dns_servers = get_dns_servers();
foreach($dns_servers as $dns) {
- echo "{$dns}<br/>";
+ echo "{$dns}<br />";
}
?>
</td>
diff --git a/usr/local/www/widgets/widgets/traffic_graphs.widget.php b/usr/local/www/widgets/widgets/traffic_graphs.widget.php
index 5b6a994..527bc0c 100644
--- a/usr/local/www/widgets/widgets/traffic_graphs.widget.php
+++ b/usr/local/www/widgets/widgets/traffic_graphs.widget.php
@@ -124,13 +124,13 @@ if (isset($a_config["scale_type"])) {
}
?>
<input name="scale_type" class="radio" type="radio" id="scale_type" value="up" <?php echo $scale_type_up; ?> onchange="updateGraphDisplays();" /> <span>up</span>
- <input name="scale_type" class="radio" type="radio" id="scale_type" value="follow" <?php echo $scale_type_follow; ?> onchange="updateGraphDisplays();" /> <span>follow</span><br><br>
+ <input name="scale_type" class="radio" type="radio" id="scale_type" value="follow" <?php echo $scale_type_follow; ?> onchange="updateGraphDisplays();" /> <span>follow</span><br /><br />
Refresh Interval:
<select name="refreshinterval" class="formfld" id="refreshinterval" onchange="updateGraphDisplays();">
<?php for ($i = 1; $i <= 10; $i += 1) { ?>
<option value="<?= $i ?>" <?php if ($refreshinterval == $i) echo "selected='selected'";?>><?= $i ?></option>
<?php } ?>
- </select>&nbsp; Seconds<br>&nbsp; &nbsp; &nbsp; <b>Note:</b> changing this setting will increase CPU utilization<br><br>
+ </select>&nbsp; Seconds<br />&nbsp; &nbsp; &nbsp; <b>Note:</b> changing this setting will increase CPU utilization<br /><br />
<input id="submit" name="submit" type="submit" onclick="return updatePref();" class="formbtn" value="Save Settings" />
</form>
</div>
OpenPOWER on IntegriCloud