From 8a08179d25776024fb1746b3ecb67d74fdef1345 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 18 Feb 2004 19:36:10 +0000 Subject: [PATCH] updated profile_options and example for meta HTML code --- lam/docs/modules-specification.htm | 62 +++++++++++++++++++----------- 1 file changed, 40 insertions(+), 22 deletions(-) diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm index 4c9cc726..dce1a986 100644 --- a/lam/docs/modules-specification.htm +++ b/lam/docs/modules-specification.htm @@ -1,8 +1,8 @@ - + Module specification @@ -27,8 +27,8 @@ allowed to call other static functions.

2.1.1. Constructor


- +

2.1.2. get_alias


- +

2.1.3. get_dependencies


- +

2.1.4. module_ready


- +
false

2.1.5. module_complete


- +

2.1.6. is_base_module


- +

2.1.7. get_ldap_filter


- +


2.1.8. get_profileOptions


- +


+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 type "fieldset" is not allowed here.


3. Meta HTML code

@@ -318,8 +322,22 @@ rowspan attribute for td elements. left/center/right/justify Like the HTML align attribute.
+Example:

-
+
array(
+  array(
+    array("kind" => "text", "text" => "This is an +example", "td" => array("colspan" => 3))
+  ),
+  array(
+    array("kind" => "text", "text" => "Input:"),
+    array("kind" => "input", "name" => "myinput", +"type" => "text"),
+    array("kind" => "help", "value" => "42")
+  )
+)
+