diff --git a/lam/docs/devel/upgrade.htm b/lam/docs/devel/upgrade.htm index da6f711b..bc531f8a 100644 --- a/lam/docs/devel/upgrade.htm +++ b/lam/docs/devel/upgrade.htm @@ -11,6 +11,7 @@ + Upgrade notes @@ -34,6 +35,11 @@ This is a list of API changes for all LAM releases.
  • supportsAdminInterface(): Can be used mark modules that only support the self service.
  • +Meta HTML:
    +

    3.7 -> 3.8

    diff --git a/lam/docs/manual-sources/howto.xml b/lam/docs/manual-sources/howto.xml index 722ab034..9f0a20f5 100644 --- a/lam/docs/manual-sources/howto.xml +++ b/lam/docs/manual-sources/howto.xml @@ -2186,6 +2186,30 @@ Have fun! + + You can define a list of services in your LAM server profile + that is used for autocompletion. + + + + + + + + + + The autocompletion will show all values that contains the + entered text. To display the whole list you can press backspace in the + empty input field. Of course, you can also insert a service name that + is not in the list. + + + + + + + +
    @@ -3059,7 +3083,7 @@ Run slapindex to rebuild the index. LAM Pro allows you to manage automount entries. Please activate the account type "Automount objects" in your LAM Pro server - profile: + profile. @@ -3069,6 +3093,18 @@ Run slapindex to rebuild the index. + Then add the correct automount module. Usually, this is "Automount + entry (automount)". If you use Suse Linux with RFC2307bis schema please + select "Automount entry (rfc2307bisAutomount)". + + + + + + + + + This will add a new tab to LAM Pro's main screen which includes a list of all automount entries. Here you can easily create new entries. @@ -4988,7 +5024,7 @@ Run slapindex to rebuild the index. automount - autofs.schema + autofs.schema, rfc2307bis.schema Autofs LDAP diff --git a/lam/docs/manual-sources/images/automount3.png b/lam/docs/manual-sources/images/automount3.png new file mode 100644 index 00000000..590143ff Binary files /dev/null and b/lam/docs/manual-sources/images/automount3.png differ diff --git a/lam/docs/manual-sources/images/mod_authorizedServices2.png b/lam/docs/manual-sources/images/mod_authorizedServices2.png new file mode 100644 index 00000000..1b843530 Binary files /dev/null and b/lam/docs/manual-sources/images/mod_authorizedServices2.png differ diff --git a/lam/docs/manual-sources/images/mod_authorizedServices3.png b/lam/docs/manual-sources/images/mod_authorizedServices3.png new file mode 100644 index 00000000..6cd6503b Binary files /dev/null and b/lam/docs/manual-sources/images/mod_authorizedServices3.png differ diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 4df40fea..3b6b7254 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -364,6 +364,12 @@ class htmlInputField extends htmlElement { protected $required = false; /** validation rule */ private $validationRule = null; + /** enable autocomplete */ + private $autocomplete = false; + /** autocompletion suggestions */ + private $autocompleteValues = array(); + /** autocomplete start at this input length */ + private $autocompleteMinLength = 1; /** * Constructor @@ -437,6 +443,15 @@ class htmlInputField extends htmlElement { $disabled = ' disabled'; } echo ''; + // autocompletion + if ($this->autocomplete) { + echo "