first commit
This commit is contained in:
85
phpldapadmin/templates/modification/inetOrgPerson.xml
Executable file
85
phpldapadmin/templates/modification/inetOrgPerson.xml
Executable file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<description>Address Book Entry</description>
|
||||
<icon>address-book.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<noleaf>1</noleaf>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: Address Book Entry</title>
|
||||
<visible>0</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="inetOrgPerson"></objectClass>
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
<attribute id="givenName">
|
||||
<display>First name</display>
|
||||
<icon>ldap-uid.png</icon>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>1</order>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>2</order>
|
||||
</attribute>
|
||||
<attribute id="cn">
|
||||
<display>Common Name</display>
|
||||
<order>3</order>
|
||||
<readonly>1</readonly>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="jpegPhoto">
|
||||
<display>Photo</display>
|
||||
<order>3</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="o">
|
||||
<display>Organisation</display>
|
||||
<order>4</order>
|
||||
</attribute>
|
||||
<attribute id="street">
|
||||
<cols>50</cols>
|
||||
<display>Street</display>
|
||||
<icon>mail.png</icon>
|
||||
<order>5</order>
|
||||
<rows>4</rows>
|
||||
<type>textarea</type>
|
||||
</attribute>
|
||||
<attribute id="l">
|
||||
<display>City</display>
|
||||
<order>6</order>
|
||||
</attribute>
|
||||
<attribute id="st">
|
||||
<display>State</display>
|
||||
<order>7</order>
|
||||
</attribute>
|
||||
<attribute id="postalCode">
|
||||
<display>Postal code</display>
|
||||
<order>8</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="telephoneNumber">
|
||||
<display>Work phone</display>
|
||||
<icon>phone.png</icon>
|
||||
<order>9</order>
|
||||
</attribute>
|
||||
<attribute id="facsimileTelephoneNumber">
|
||||
<display>Fax</display>
|
||||
<order>10</order>
|
||||
</attribute>
|
||||
<attribute id="mobile">
|
||||
<display>Mobile</display>
|
||||
<order>11</order>
|
||||
</attribute>
|
||||
<attribute id="mail">
|
||||
<display>Email</display>
|
||||
<order>12</order>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
43
phpldapadmin/templates/modification/posixGroup.xml
Executable file
43
phpldapadmin/templates/modification/posixGroup.xml
Executable file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Posix Group</description>
|
||||
<icon>ldap-ou.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<noleaf>1</noleaf>
|
||||
<rdn>cn</rdn>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<title>Generic: Posix Group</title>
|
||||
<visible>0</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="posixGroup"></objectClass>
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
<attribute id="cn">
|
||||
<display>Group</display>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<!-- <option><![CDATA[=php.GetNextNumber(/;gidNumber;false;(&(objectClass=posixGroup));*2,+1000)]]></option> -->
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<readonly>1</readonly>
|
||||
<spacer>1</spacer>
|
||||
<value>=php.GetNextNumber(/;gidNumber)</value>
|
||||
</attribute>
|
||||
<attribute id="memberUid">
|
||||
<display>Users</display>
|
||||
<hidden>0</hidden>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<value><![CDATA[=php.MultiList(/;(objectClass=posixAccount);uid;%cn% (%uid|-4%))]]></value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
Reference in New Issue
Block a user