From 89df814e7733665b3eb45e6e77b9076154b9be65 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 6 Oct 2018 19:47:33 +0200 Subject: [PATCH] DN chooser --- lam/HISTORY | 5 ++++ lam/lib/html.inc | 20 +++++++++++++ lam/templates/lib/500_lam.js | 45 ++++++++++++++++++++++++++++ lam/templates/tools/importexport.php | 4 ++- 4 files changed, 73 insertions(+), 1 deletion(-) diff --git a/lam/HISTORY b/lam/HISTORY index 028c4fbe..47ebe3aa 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -1,3 +1,7 @@ +December 2018 6.6 + - New import/export in tools menu + + 25.09.2018 6.5 - Password change possible via LDAP EXOP operation (set LDAP_EXOP as password hash, requires PHP 7.2) - Support Imagick and GD @@ -25,6 +29,7 @@ - Fixed bugs: -> Error on password reset page when custom fields is used (194) + 19.03.2018 6.3 - Server profile: added option if referential integrity overlay is active to skip cleanup actions - Unix: several options are now specific to subaccount types (reconfiguration required!) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 317ce4d5..34d5d65f 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -472,6 +472,8 @@ class htmlInputField extends htmlElement { protected $autocompleteMinLength = 1; /** show calendar */ protected $showCalendar = false; + /** show DN selection */ + protected $showDnSelection = false; /** calendar format */ protected $calendarFormat = ''; /** title attribute */ @@ -589,8 +591,19 @@ class htmlInputField extends htmlElement { if (!empty($this->title)) { $title = ' title="' . $this->title . '"'; } + if ($this->showDnSelection) { + echo ''; + } echo ''; + if ($this->showDnSelection) { + echo ''; + echo ''; + } // autocompletion if ($this->autocomplete) { echo "