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 2009-01-31 22:34:59

darknova
Member
Registered: 2009-01-14
Posts: 7

Is it possible to change Forename/Surname layout?

Current when I login, it says:       Welcome Gates Bill, this is the central console

Is there a setting to change it to: Welcome Bill Gates, this is the central console

Offline

#2 2009-02-02 04:10:20

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Is it possible to change Forename/Surname layout?

To modify name format you only need to change the formatUserName function in db.function.php file.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2009-02-02 19:27:51

darknova
Member
Registered: 2009-01-14
Posts: 7

Re: Is it possible to change Forename/Surname layout?

Thanks for that... the file is located at ./glpi/inc/db.function.php

On line 736 change

function formatUserName($ID,$login,$realname,$firstname,$link=0,$cut=0){

to

function formatUserName($ID,$login,$firstname,$realname,$link=0,$cut=0){

Offline

#4 2009-02-03 11:28:45

Josef
Member
Registered: 2009-01-20
Posts: 10

Re: Is it possible to change Forename/Surname layout?

Flawless! Thanks!

Offline

Board footer

Powered by FluxBB