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

Fix image from Accounts #13

@jcervantes-sipecom

Description

@jcervantes-sipecom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions