mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	have to swap data-original and src for overlib to load correctly
This commit is contained in:
		@@ -191,7 +191,7 @@ function overlib_link($url, $text, $contents, $class)
 | 
			
		||||
  if ($config['web_mouseover'] === FALSE) {
 | 
			
		||||
      $output .= ">";
 | 
			
		||||
  } else {
 | 
			
		||||
      $output .= " onmouseover=\"return overlib('".$contents."'".$config['overlib_defaults'].",WRAP,HAUTO,VAUTO); \" onmouseout=\"return nd();\">";
 | 
			
		||||
      $output .= " onmouseover=\"return overlib('".str_replace('data-original', 'src', $contents)."'".$config['overlib_defaults'].",WRAP,HAUTO,VAUTO); \" onmouseout=\"return nd();\">";
 | 
			
		||||
  }
 | 
			
		||||
  $output .= $text."</a>";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user