diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm
index 3ae271e4..c94d5b3f 100644
--- a/lam/docs/modules-specification.htm
+++ b/lam/docs/modules-specification.htm
@@ -271,7 +271,7 @@ It must return the help entry as array for the submitted help
identifier. The format of the array to be returned is described in
section 4. "Help entry syntax".
-
2.2.5. get_profileOptions
+2.2.5. get_profileOptions*
@@ -279,7 +279,7 @@ section 4. "Help entry syntax".
function get_profileOptions($scope)
+ style="font-weight: bold;">function get_profileOptions()
|
@@ -288,10 +288,8 @@ section 4. "Help entry syntax".
This function defines what attributes will be used in the account
profiles and their appearance in the profile editor.
-$scope is the account type
-("user", "group", "host" at this time).
-The return value is an array that contains meta HTML code.
+The return value is an array
+that contains meta HTML code.
The type "fieldset" is not allowed here.
The name attributes are used
@@ -299,7 +297,7 @@ as keywords to load and save profiles. We recommend to use the module
name as prefix for them (e.g. posixAccount_homeDirectory) to avoid
naming confilcts.
-2.2.6. check_profileOptions
+2.2.6. check_profileOptions*
@@ -307,8 +305,7 @@ naming confilcts.
function check_profileOptions($scope,
-$options)
+ style="font-weight: bold;">function check_profileOptions($options)
|
@@ -576,8 +573,74 @@ array("user", "host")
style="font-weight: bold; font-style: italic;">"depends"
=> array("posixAccount", array("qmail", "sendmail")), "conflicts"
=> array("exim"))
+ style="font-style: italic; font-weight: bold;">)
+
+6.5 get_profileOptions()
+
+ "profile_options" => array
+
+ Syntax for array is the same as for the
+return value of get_profileOptions().
+
+
+6.6 check_profileOptions()
+
+ "profile_checks" => array
+
+ The keys of the array are
+the names of the option identifiers.
+ Each array element is an array containing these values:
+
+
+ - type:
+determines how to check input
+
+ - regex: check with regular expression from regex variable, case sensitive
+ - regex_i: check with regular expression from regex variable, case insensitive
+
+ - error_message: message that is displayed if input value
+was syntactically incorrect
+
+ - array
+to build StatusMessages (0 => message type, 1 => message
+head, 2 => message text, 3 => additional variables)
+
+ - regex: regular expression string (only if type is regex/regex_i)
+
+ - required: true or false, if this input field must be
+filled set to true (optional)
+
+ - required_message: message that is displayed if no input value was
+given (only if required == true)
+
+ - array to build StatusMessages (0 => message type, 1
+=> message
+head, 2 => message text, 3 => additional variables)
+
+
+
+