'User', 'icon' => 'images/user.png', 'handler' => 'new_user_template.php' ); $templates[] = array( 'desc' => 'inetOrgPerson', 'icon' => 'images/user.png', 'handler' => 'new_address_template.php' ); $templates[] = array( 'desc' => 'Organizational Unit', 'icon' => 'images/ou.png', 'handler' => 'new_ou_template.php' ); $templates[] = array( 'desc' => 'Samba NT Machine', 'icon' => 'images/terminal.png', 'handler' => 'new_nt_machine.php' ); $templates[] = array( 'desc' => 'DNS Entry', 'icon' => 'images/dc.png', 'handler' => 'new_dns_entry.php' ); /** **/ /** User-friendly attribute translation **/ /** **/ $friendly_attrs = array(); // Use this array to map attribute names to user friendly names. For example, if you // don't want to see "facsimileTelephoneNumber" but rather "Fax". $friendly_attrs[ 'facsimileTelephoneNumber' ] = 'Fax'; $friendly_attrs[ 'telephoneNumber' ] = 'Phone'; /** **/ /** Some phpLDAPAdmin code to be executed. No touchy. **/ /** **/ // Turn off notices about referencing arrays and such, but leave everything else on. error_reporting( E_ALL ^ E_NOTICE ); // Always including the 'custom' template (the most generic and flexible) $templates['custom'] = array( 'desc' => 'Custom', 'icon' => 'images/object.png', 'handler' => 'custom.php' ); ?>