mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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 :)
|
||||
|
||||
@@ -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']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user