Skip to content

Commit

Permalink
feat: ad menu icon for GLPI 9.5
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Apr 3, 2020
1 parent ec4dfb1 commit 6a8c361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ static function getMenuContent() {
global $CFG_GLPI;

$menu = parent::getMenuContent();
$menu['icon'] = 'fas fa-edit';
$validation_image = '<img src="' . $CFG_GLPI['root_doc'] . '/plugins/formcreator/pics/check.png"
title="' . __('Forms waiting for validation', 'formcreator') . '">';
$import_image = '<img src="' . $CFG_GLPI['root_doc'] . '/plugins/formcreator/pics/import.png"
Expand Down
1 change: 1 addition & 0 deletions inc/formlist.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static function getMenuContent() {
$menu = parent::getMenuContent();
$menu['title'] = static::getTypeName(2);
$menu['page'] = '/plugins/formcreator/front/formlist.php';
$menu['icon'] = 'fas fa-edit';
$image = '<img src="' . $CFG_GLPI['root_doc'] . '/plugins/formcreator/pics/check.png"
title="' . __('Forms waiting for validation', 'formcreator') . '"
alt="' . __('Forms waiting for validation', 'formcreator') . '">';
Expand Down

0 comments on commit 6a8c361

Please sign in to comment.