This commit is contained in:
2022-11-01 19:13:08 +01:00
parent b84ca3e4e4
commit 9436fe7c60

View File

@@ -37,9 +37,8 @@ class PluginRemotesupportRemotesupport extends CommonDBTM
echo '<tr class="tab_bg_1">'; echo '<tr class="tab_bg_1">';
echo '<td>'; echo '<td>';
$url = "<a target=\"_blank\" href=\"" . $href . "\"><li class=\"document\" ". $style = $statusids[$item->getID()] == "Offline" ? "style=\"background-color: red\"" : "";
$statusids[$item->getID()] == 'Offline' ? "style=\"background-color: red\"" : "". $url = "<a target=\"_blank\" href=\"" . $href . "\"><li class=\"document\" ". $style ."><i class=\"fa fa-laptop-medical\"></i>" . $name . "</li></a>";
"><i class=\"fa fa-laptop-medical\"></i>" . $name . "</li></a>";
if ($url != "") { if ($url != "") {
echo "<div><ul class=\"timeline_choices\"><h2>VNC connect : </h2>"; echo "<div><ul class=\"timeline_choices\"><h2>VNC connect : </h2>";