diff --git a/lam/lib/ldap.inc b/lam/lib/ldap.inc index 7d81defd..8c9e83e3 100644 --- a/lam/lib/ldap.inc +++ b/lam/lib/ldap.inc @@ -54,7 +54,7 @@ class Ldap{ /** Server handle */ private $server; - + /** LDAP connection established */ private $is_connected = false; @@ -65,7 +65,7 @@ class Ldap{ /** * Creates a new LDAP object. - * + * * @param object $config an object of class Config */ function __construct($config) { diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 1dd17557..f032b0e0 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -516,7 +516,7 @@ function buildUploadAccounts($scope, $data, $ids, $selectedModules) { /** * Runs any actions that need to be done before an LDAP entry is created. - * + * * @param String $scope account type * @param array $selectedModules list of selected account modules * @param array $attributes LDAP attributes of this entry (attributes are provided as reference, handle modifications of $attributes with care) @@ -603,7 +603,7 @@ 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. * @@ -677,7 +677,7 @@ function printHelpLink($entry, $number, $module='', $scope='') { * @package modules */ class accountContainer { - + /** * Constructor * @@ -726,7 +726,7 @@ class accountContainer { /** RDN attribute of this account */ public $rdn; - + /** DN of saved account */ public $finalDN; @@ -747,13 +747,13 @@ class accountContainer { /** True if this is a newly created account */ public $isNewAccount; - + /** name of last loaded account profile */ private $lastLoadedProfile = ''; - + /** cache for existing OUs */ private $cachedOUs = null; - + /** main title in title bar */ private $titleBarTitle = null; /** subtitle in title bar */ @@ -762,7 +762,7 @@ class accountContainer { private $sendPasswordViaMail = null; /** send password via mail to this alternate address */ private $sendPasswordViaMailAlternateAddress = null; - + /** random ID number to avoid parallel editing of accounts in multiple browser tabs */ private $randomID = null; @@ -780,7 +780,7 @@ class accountContainer { return null; } } - + /** * Returns the included account modules. * @@ -789,7 +789,7 @@ class accountContainer { function getAccountModules() { return $this->module; } - + /** * Returns the accout type of this object (e.g. user, group, host). * @@ -959,10 +959,10 @@ class accountContainer { } $this->printPageFooter(); } - + /** * Prints the content part provided by the current module. - * + * * @param array $result list of messages * @param boolean $stopProcessing true if page should end after displaying the messages */ @@ -1116,10 +1116,10 @@ class accountContainer { } echo "\n"; } - + /** * Sets the new password in all selected account modules. - * + * * @param array $input input parameters */ public function setNewPassword($input) { @@ -1195,12 +1195,12 @@ class accountContainer { if ($return['errorsOccured'] == 'false') { $return['messages'] .= StatusMessage('INFO', _('The new password will be stored in the directory after you save this account.'), '', array(), true); } - return $return; + return $return; } - + /** * Returns if any module manages the mail attribute. - * + * * @return boolean mail is managed */ private function anyModuleManagesMail() { @@ -1211,10 +1211,10 @@ class accountContainer { } return false; } - + /** * Prints common controls like the save button and the ou selection. - * + * * @param int $tabindex tabindex for GUI elements */ private function printCommonControls(&$tabindex) { @@ -1243,7 +1243,7 @@ class accountContainer { $leftButtonGroup->addElement($passwordButton); } $table->addElement($leftButtonGroup); - + $rightGroup = new htmlGroup(); $rightGroup->alignment = htmlElement::ALIGN_RIGHT; // profile selection @@ -1261,7 +1261,7 @@ class accountContainer { $rightGroup->addElement(new htmlHelpLink('401')); } $table->addElement($rightGroup); - + parseHtml(null, $table, array(), false, $tabindex, $this->type); ?> '; echo "
\n"; include '../main_footer.php'; } - + /** * Prints the HTML code to notify the user about the successful saving. * @@ -1335,7 +1335,7 @@ class accountContainer { $text = _("Account was modified successfully."); } echo "