LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   phpldapadmin: template (https://www.linuxquestions.org/questions/linux-newbie-8/phpldapadmin-template-856277/)

shyba 01-14-2011 06:18 AM

phpldapadmin: template
 
Hi, I need help with creating template (phpldapadmin 1.2.0.5).

I create new template where im creating User Account (possixAccount) but i need to create Generic: Ldap Alias that will be created in other ou than account and i need both in one template. Could someone help me with it?

shyba 01-17-2011 08:27 AM

another problem: how/where etc may i create function like strtr that will change chars like "ąćźń" to "aczn" ?? i know how it should be in php but dont know in phpldapadmin template
i've got First Name, Last Name and im creating user login by autoFill with first letter from first name and part of last name.
But if in Last Name there are some special chars (ążźćńół) i want that in user login(uid) should be normal chars (azxcnol)

<attribute id="sn">
<display>Last name</display>
<onchange>=autoFill(uid;%givenName|0-1/l%%sn|0-7/l%)</onchange>
<order>2</order>
<page>1</page>
</attribute>


All times are GMT -5. The time now is 06:27 AM.