syntaxer run, removes dos newlines from 2 files

git-svn-id: http://www.observium.org/svn/observer/trunk@2597 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-09-27 13:22:38 +00:00
parent ae558c7dbd
commit 9ff0fdb443
4 changed files with 293 additions and 294 deletions
+4 -4
View File
@@ -74,7 +74,7 @@ if ($_GET['opta'] == "add")
?>
<table cellpadding=7 cellspacing=0 class=devicetable width=100%>
<table cellpadding=7 cellspacing=0 class=devicetable width=100%>
<form method='post' action=''>
<tr>
<td width='40' align=center valign=middle><div style='font-weight: bold; font-size: 16px;'>Bills</div></td>
@@ -101,11 +101,11 @@ if ($_GET['opta'] == "add")
<option value=''>All Customers</option>
</select>
</td>
<td>
<td>
<input type=submit class=submit value=Search>
</td>
<td width='80' style='font-weight:bold; font-size: 12px;'>
<a href='bills/add/'><img src="images/16/add.png" align=absmiddle alt="Add"> Add Bill</a>
<a href='bills/add/'><img src="images/16/add.png" align=absmiddle alt="Add"> Add Bill</a>
</td>
</tr>
</form>
@@ -154,7 +154,7 @@ if ($_GET['opta'] == "add")
<td width='7'></td>
<td width='250'><a href='bill/".$bill['bill_id']."/'><span style='font-weight: bold;' class=interface>".$bill['bill_name']."</span></a></td>
<td>$notes</td>
<td>$type</td>
<td>$type</td>
<td>$allowed</td>
<td>$used</td>
<td width=370>".print_percentage_bar (350, 20, $perc, NULL, "ffffff", $background['left'], $percent . "%", "ffffff", $background['right'])."</td>
+1 -2
View File
@@ -95,8 +95,7 @@ if ($vars['view'] == 'minigraphs')
echo("<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");
$i = "1";
global $port_cache;
global $port_index_cache;
global $port_cache, $port_index_cache;
$ports = dbFetchRows("SELECT * FROM `ports` WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `ifIndex` ASC", array($device['device_id']));
### As we've dragged the whole database, lets pre-populate our caches :)
+1 -1
View File
@@ -199,7 +199,7 @@ foreach ($ports as $port)
$this_port['ifTrunk'] = $this_port['vlanTrunkPortEncapsulationOperType'];
}
$this_port['ifVlan'] = $this_port['vmVlan'];
if(isset($this_port['vlanTrunkPortNativeVlan'])) { $this_port['ifVlan'] = $this_port['vlanTrunkPortNativeVlan']; }
if (isset($this_port['vlanTrunkPortNativeVlan'])) { $this_port['ifVlan'] = $this_port['vlanTrunkPortNativeVlan']; }
if (isset($this_port['dot1qPvid']))
{