Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Fix image from Accounts #13

Open
jcervantes-sipecom opened this issue Dec 27, 2020 · 0 comments
Open

Fix image from Accounts #13

jcervantes-sipecom opened this issue Dec 27, 2020 · 0 comments

Comments

@jcervantes-sipecom
Copy link

Hi, this is more a improvement on the visualization of the plugin, in the accounts section:

You can edit these lines:

Line 85

 $image                                   ="<img src='" . $CFG_GLPI["root_doc"] . "/plugins/accounts/pics/cadenas.png' title='" .
                                                          _n('Encryption key', 'Encryption keys', 2, 'accounts') . "' alt='" .
                                                          _n('Encryption key', 'Encryption keys', 2, 'accounts') . "'>";

With:

$image = "<i class='fas fa-lock fa-2x' title='" . _n('Encryption key', 'Encryption keys', 2, 'accounts') . "'></i>";

And get something like more Accounts:
image

Instead of this:
image

Get this:
image

  • Version of the plugin :
    2.4.1

  • Version of your GLPI :
    9.53

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant