mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	also show overridden vs configured sysContact on the device overview page
git-svn-id: http://www.observium.org/svn/observer/trunk@2003 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		@@ -37,7 +37,16 @@ echo('<tr>
 | 
			
		||||
if ($device['sysContact'])
 | 
			
		||||
{
 | 
			
		||||
  echo('<tr>
 | 
			
		||||
        <td class="list-bold">Contact</td>
 | 
			
		||||
        <td class="list-bold">Contact</td>');
 | 
			
		||||
  if (get_dev_attrib($device,'override_sysContact_bool'))
 | 
			
		||||
  {
 | 
			
		||||
    echo('
 | 
			
		||||
        <td>' . htmlspecialchars(get_dev_attrib($device,'override_sysContact_string')) . '</td>
 | 
			
		||||
      </tr>
 | 
			
		||||
      <tr>
 | 
			
		||||
        <td class="list-bold">SNMP Contact</td>');
 | 
			
		||||
  }
 | 
			
		||||
  echo('
 | 
			
		||||
        <td>' . htmlspecialchars($device['sysContact']). '</td>
 | 
			
		||||
      </tr>');
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user