diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 19fc651d..95667d55 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -527,6 +527,140 @@ function getRequiredExtensions() { /** * Takes a list of meta-HTML elements and prints the equivalent HTML output. +* +* The modules are not allowed to display HTML code directly but return +* meta HTML code. This allows to have a common design for all module pages.
+*
+* Meta HTML code is always returned as a three dimensional array[a][b][c] +* where a is the row number, b is the column number and c is +* is a data element.
+*
+* Format of data elements:
+*
+* A data element is an array which contains the data to display.
+* All data elements must contail a value "kind" which +* defines what kind of element should be displayed.
+*
+* These are the possibilies for kind and what other options have to be added to the array:
+*
+* +*
+* Beneath those values a "td" value may be added. This has to be an array with one or more +* of these options:
+*
+* +*
+* Input buttons which should load a different subpage of a module must have a special name attribute:
+*
+* name => 'form_subpage_' . . '_' . . '_' .