diff options
author | ayvis <ayvis.infra@gmail.com> | 2014-03-14 21:24:03 +0100 |
---|---|---|
committer | ayvis <ayvis.infra@gmail.com> | 2014-03-14 21:24:03 +0100 |
commit | 8cd558b61b9c24ee109993d8e76ddc4870ffa4fa (patch) | |
tree | 528f7b2f8ea80e0779907147273d99008e31b5d6 /usr/local/www/widgets | |
parent | e1d68dde59717fc5f125796f07070a654e28ec43 (diff) | |
download | pfsense-8cd558b61b9c24ee109993d8e76ddc4870ffa4fa.zip pfsense-8cd558b61b9c24ee109993d8e76ddc4870ffa4fa.tar.gz |
xhtml Compliance
replaced <br>, <br/> and </br> with <br />
Diffstat (limited to 'usr/local/www/widgets')
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 800bb58..3b15a2b 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&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 3473783..28c0d43 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 b46445f..15d1612 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 47da743..c5a3d2e 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 b099789..0362e62 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 5f06422..45b2d41 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 c2cf67a..a2499e3 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 931c2a5..effe045 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> Seconds<br> <b>Note:</b> changing this setting will increase CPU utilization<br><br> + </select> Seconds<br /> <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> |