diff --git a/MEMORY.md b/MEMORY.md index 820f80b..0fed6c0 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -311,16 +311,9 @@ Il test del pulsante "Test API" continua a restituire 403 Forbidden quando acces - `prepareInputForAdd()` ora setta default 55414 per `port`, 'http' per `protocol`, 1 per `is_active`, ecc. - `prepareInputForUpdate()` normalizza anche valori vuoti -**Icona plugin cambiata in ti ti-harddrives**: -- `src/Server.php:157`: Menu icon (`getMenuContent()`) -- `src/Profile.php:17`: Profile icon (`getIcon()`) -- `src/AssetTab.php:66`: Asset tab icon (`getTabNameForItem()`) -- `src/Config.php`: Aggiunto `getIcon()` per icona pagina config - **File modificati**: -- `src/Server.php`: `showFormFields()`, `showMissingClientsTab()`, `getCachedName()` fix, `getAssetGroupName()`, `getAssetIp()`, `getCachedLocationName()`, `prepareInputForAdd/Update` default fix, icon +- `src/Server.php`: `showFormFields()`, `showMissingClientsTab()`, `getCachedName()` fix, `getAssetGroupName()`, `getAssetIp()`, `getCachedLocationName()`, `prepareInputForAdd/Update` default fix, icona menu `ti-hard-drives` - `front/server.form.php`: Tab laterali, tab hash JS, breadcrumb admin, navigazione server - `front/server.php`: Breadcrumb admin, rimosso pulsante "Add" manuale (GLPI lo genera) -- `src/Profile.php`: Icon -- `src/AssetTab.php`: Icon -- `src/Config.php`: Aggiunto `getIcon()` +- `src/Profile.php`: Icona profilo `ti-hard-drives` +- `src/AssetTab.php`: Icona tab asset `ti-hard-drives` diff --git a/src/AssetTab.php b/src/AssetTab.php index 858c0af..f19e658 100644 --- a/src/AssetTab.php +++ b/src/AssetTab.php @@ -63,7 +63,7 @@ class AssetTab extends CommonDBTM return ''; } - return self::createTabEntry(__('UrBackup', 'urbackup'), 0, null, 'ti ti-harddrives'); + return self::createTabEntry(__('UrBackup', 'urbackup'), 0, null, 'ti ti-hard-drives'); } /** diff --git a/src/Config.php b/src/Config.php index 8ceeec0..679b0da 100644 --- a/src/Config.php +++ b/src/Config.php @@ -22,11 +22,6 @@ class Config extends CommonDBTM { public static $rightname = 'config'; - public static function getIcon() - { - return 'ti ti-harddrives'; - } - /** * Get type name. * diff --git a/src/Profile.php b/src/Profile.php index 627420a..6f51f3d 100644 --- a/src/Profile.php +++ b/src/Profile.php @@ -14,7 +14,7 @@ class Profile extends \Profile public static function getIcon() { - return 'ti ti-harddrives'; + return 'ti ti-hard-drives'; } public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) diff --git a/src/Server.php b/src/Server.php index 1027640..0459773 100644 --- a/src/Server.php +++ b/src/Server.php @@ -154,7 +154,7 @@ class Server extends CommonDBTM if (self::canView()) { $menu['title'] = self::getMenuName(); $menu['page'] = self::getSearchURL(false); - $menu['icon'] = 'ti ti-harddrives'; + $menu['icon'] = 'ti ti-hard-drives'; $menu['links']['search'] = self::getSearchURL(false);