Skip to content

Commit

Permalink
Add SupRemo in Remote management
Browse files Browse the repository at this point in the history
Created a pull request on GLPI-AGENT: glpi-project/glpi-agent#179

Referenced request: glpi-project/glpi-agent#35
  • Loading branch information
dxdemetriou committed Jul 13, 2022
1 parent dc8f7fb commit 64c0671
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Item_RemoteManagement.php
Expand Up @@ -42,7 +42,7 @@ class Item_RemoteManagement extends CommonDBChild
public const TEAMVIEWER = 'teamviewer';
public const LITEMANAGER = 'litemanager';
public const ANYDESK = 'anydesk';
public const MESHCENTRAL = 'meshcentral';
public const SUPREMO = 'supremo';


public static function getTypeName($nb = 0)
Expand Down Expand Up @@ -214,6 +214,9 @@ public function getRemoteLink(): string
case self::ANYDESK:
$href = "anydesk:$id";
break;
case self::SUPREMO:
$href = "supremo:$id";
break;
}

if ($href === null) {
Expand Down Expand Up @@ -352,7 +355,7 @@ public function showForm($ID, array $options = [])
self::TEAMVIEWER => 'TeamViewer',
self::LITEMANAGER => 'LiteManager',
self::ANYDESK => 'AnyDesk',
self::MESHCENTRAL => 'MeshCentral',
self::SUPREMO => 'SupRemo'
];
echo "<td>";
echo Dropdown::showFromArray(
Expand Down

0 comments on commit 64c0671

Please sign in to comment.