mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed the placement of overlib popup images
This commit is contained in:
@@ -186,7 +186,7 @@ function overlib_link($url, $text, $contents, $class)
|
||||
|
||||
$contents = str_replace("\"", "\'", $contents);
|
||||
$output = '<a class="'.$class.'" href="'.$url.'"';
|
||||
$output .= " onmouseover=\"return overlib('".$contents."'".$config['overlib_defaults'].");\" onmouseout=\"return nd();\">";
|
||||
$output .= " onmouseover=\"return overlib('".$contents."'".$config['overlib_defaults'].", WRAP,HAUTO,VAUTO);\" onmouseout=\"return nd();\">";
|
||||
$output .= $text."</a>";
|
||||
|
||||
return $output;
|
||||
|
||||
Reference in New Issue
Block a user