You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2013-08-02 14:12:36

atomeq77
Member
Registered: 2013-06-26
Posts: 17

Removing 'CUSTOM FIELDS' string from column description

Hello everyone,

I use Custom Fields plugin and I would like to remove the string 'CUSTOM FIELDS' from my column name

It looks very ugly...

Can anyone help me?

Tnx in advance.

Last edited by atomeq77 (2013-08-02 14:14:17)

Offline

#2 2013-08-14 17:36:47

tmendo1
Member
Registered: 2010-01-19
Posts: 7

Re: Removing 'CUSTOM FIELDS' string from column description

I was able to remove the decription by making the following changes in hook.php. After making a backup copy of hook.php the following  2 lines were changed:

Change #1

$sopt[$i]['name']          = $LANG['plugin_customfields']['title']." - ".$search['label'];

$sopt[$i]['name']          = $LANG['plugin_customfields']['']."".$search['label'];

Change #2

$sopt[$i+2000]['name']      = $LANG['plugin_customfields']['title']." - ".

$sopt[$i+2000]['name']      = $LANG['plugin_customfields']['']."".

Offline

#3 2013-08-16 11:21:01

atomeq77
Member
Registered: 2013-06-26
Posts: 17

Re: Removing 'CUSTOM FIELDS' string from column description

tmendo1 wrote:

I was able to remove the decription by making the following changes in hook.php. After making a backup copy of hook.php the following  2 lines were changed:

Change #1

$sopt[$i]['name']          = $LANG['plugin_customfields']['title']." - ".$search['label'];

$sopt[$i]['name']          = $LANG['plugin_customfields']['']."".$search['label'];

Change #2

$sopt[$i+2000]['name']      = $LANG['plugin_customfields']['title']." - ".

$sopt[$i+2000]['name']      = $LANG['plugin_customfields']['']."".


Thanks a lot man!

Offline

Board footer

Powered by FluxBB