...

/*********************************************/
/* Define your LDAP servers in this section  */
/*********************************************/

%if %%phpldapadmin_name == ""
$ldapservers->SetValue($i,'server','name','Serveur LDAP');
%else
$ldapservers->SetValue($i,'server','name','%%phpldapadmin_name');
%end if

$ldapservers->SetValue($i,'server','host','ldap://%%phpldapadmin_host');

$ldapservers->SetValue($i,'server','tls',false);

...