diff --git a/lam/templates/profedit/profilecreate.php b/lam/templates/profedit/profilecreate.php index 9edc4bc1..37238380 100644 --- a/lam/templates/profedit/profilecreate.php +++ b/lam/templates/profedit/profilecreate.php @@ -19,14 +19,24 @@ $Id$ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Saves new/modified profiles. - */ +/** +* Saves new/modified profiles. +* +* @package Profiles +* @author Roland Gruber +*/ + +/** Used to display status messages */ include_once("../../lib/status.inc"); +/** access to account modules */ include_once("../../lib/modules.inc"); +/** helper functions for profiles */ include_once("../../lib/profiles.inc"); +/** access to LDAP server */ include_once("../../lib/ldap.inc"); +/** access to configuration options */ include_once("../../lib/config.inc"); // start session diff --git a/lam/templates/profedit/profiledelete.php b/lam/templates/profedit/profiledelete.php index 9a2c82c4..2754be2a 100644 --- a/lam/templates/profedit/profiledelete.php +++ b/lam/templates/profedit/profiledelete.php @@ -19,12 +19,20 @@ $Id$ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Manages deletion of profiles. - */ +/** +* Manages deletion of profiles. +* +* @package Profiles +* @author Roland Gruber +*/ + +/** helper functions for profiles */ include_once("../../lib/profiles.inc"); +/** access to LDAP server */ include_once("../../lib/ldap.inc"); +/** access to configuration options */ include_once("../../lib/config.inc"); // start session diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php index 861cb3a1..105bdb7e 100644 --- a/lam/templates/profedit/profilemain.php +++ b/lam/templates/profedit/profilemain.php @@ -19,12 +19,20 @@ $Id$ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - This is the main window of the profile editor. - */ +/** +* This is the main window of the profile editor. +* +* @package Profiles +* @author Roland Gruber +*/ + +/** helper functions for profiles */ include_once("../../lib/profiles.inc"); +/** access to LDAP server */ include_once("../../lib/ldap.inc"); +/** access to configuration options */ include_once("../../lib/config.inc"); // start session diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php index 4ec91054..83af6b7b 100644 --- a/lam/templates/profedit/profilepage.php +++ b/lam/templates/profedit/profilepage.php @@ -19,13 +19,22 @@ $Id$ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Manages creating/changing of profiles. - */ +/** +* Manages creating/changing of profiles. +* +* @package Profiles +* @author Roland Gruber +*/ + +/** helper functions for profiles */ include_once("../../lib/profiles.inc"); +/** access to LDAP server */ include_once("../../lib/ldap.inc"); +/** access to configuration options */ include_once("../../lib/config.inc"); +/** access to account modules */ include_once("../../lib/modules.inc"); // start session @@ -109,10 +118,13 @@ echo "\n"; echo ("\n"); -// prints out the row of a table including the option name, values and help -// $values: An array formated as module option -// $module_name: The name of the module the options belong to -// $old_options: A hash array with the values from the loaded profile +/** +* prints out the row of a section table including the option name, values and help +* +* @param array $values an array formated as module option +* @param string $module_name the name of the module the options belong to +* @param array $old_options a hash array with the values from the loaded profile +*/ function print_option($values, $modulename, $old_options) { switch ($values['kind']) { // text value