[phpldapadmin] [ phpldapadmin-Patches-2591920 ] Patch for multipart surnames

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Patches item #2591920, was opened at 2009-02-12 17:25
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498548&aid=2591920&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group:  CVS
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for multipart surnames

Initial Comment:
In Latinamerica, Spain and other countries the people wear two surnames. This is a problem when you want to create an uid or homeDirectory from their complete names using autoFill. You can't separate the two surnames and get variables wich include spaces.

I propose the following patch as a solution. It
introduces the flag "K" which uses a space as a separator for split(), e.g.

<onchange>autoFill:uid,%givenName|0-1/l%%sn|0-1lK%</onchange>

So "Carlos Jose Garcia Arreola" results in the uid "cgarcia" and not in "cgarcia arreola".

Thomas Bliesener <[email protected]>

----------------------------------------------------------------------

>Comment By: Deon George (wurley)
Date: 2009-06-18 22:42

Message:
Thank you Thomas -  added to CVS. Will be available in a 1.2 release of
PLA.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498548&aid=2591920&group_id=61828

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.