phpLDAPadmin icon indicating copy to clipboard operation
phpLDAPadmin copied to clipboard

rtrim function

Open jurim76 opened this issue 9 years ago • 1 comments

How to create a custom function to trim whitespaces from input data? For example:

..templates/creation/custom_user.xml

Last Name =autoFill(cn; rtrim(%givenName%) rtrim(%sn%) )

jurim76 avatar May 12 '15 09:05 jurim76

Templaterender.php does not trim entered string with space at the end (for example Name "John ") for templates.

jurim76 avatar Jun 05 '15 10:06 jurim76