diff --git a/lam/docs/devel/mod_accountPages.htm b/lam/docs/devel/mod_accountPages.htm
index 38d66d6d..5017bce2 100644
--- a/lam/docs/devel/mod_accountPages.htm
+++ b/lam/docs/devel/mod_accountPages.htm
@@ -220,7 +220,7 @@ checks
* @param array $post HTTP-POST values
*/
function proccess_attributes($post) {
+ style="color: rgb(255, 0, 0);">process_attributes($post) {
$this->triggered_messages =
array();
diff --git a/lam/docs/modules-specification.htm b/lam/docs/modules-specification.htm
index 5c77084e..7afd6cd6 100644
--- a/lam/docs/modules-specification.htm
+++ b/lam/docs/modules-specification.htm
@@ -764,7 +764,7 @@ save_attributes().
is needed t interact with the user.
-
2.2.13. proccess_attributes
+2.2.13. process_attributes
function proccess_attributes($post)
+ style="font-weight: bold;">function process_attributes($post)
|
-This function proccesses user inputs. It checks user inputs. It also
+This function processes user inputs. It checks user inputs. It also
saves changes in attributes.
$post is the $_POST
array. Some attributes ar not part of a profile, e.g. uidNumber.
@@ -802,7 +802,7 @@ array();
-2.2.14. proccess_*
+2.2.14. process_*
function proccess_*($post)
+ style="font-weight: bold;">function process_*($post)
|
-This function has the exact behavoir like proccess_attributes function.
+This function has the exact behavoir like process_attributes function.
* is the name of the subpage which
-should be proccessed.
+should be processed.
$post is the $_POST array. It
is needed t interact with the user.
diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc
index c759cf9a..3856596a 100644
--- a/lam/lib/modules.inc
+++ b/lam/lib/modules.inc
@@ -640,7 +640,7 @@ class accountContainer {
}
}
}
- else $result = call_user_func(array(&$this->module[$this->order[$this->current_page]], 'proccess_'.$this->subpage), $post);
+ else $result = call_user_func(array(&$this->module[$this->order[$this->current_page]], 'process_'.$this->subpage), $post);
}
if (is_string($result)) $this->subpage = $result;
if (is_int($result)) {
@@ -1257,7 +1257,7 @@ class accountContainer {
// TODO remove this function?
- function proccess_profile(&$post) {
+ function process_profile(&$post) {
$return = array();
$module = array_keys ($this->module);
foreach ($module as $singlemodule) {
diff --git a/lam/lib/modules/account.inc b/lam/lib/modules/account.inc
index a7850720..857b7d68 100644
--- a/lam/lib/modules/account.inc
+++ b/lam/lib/modules/account.inc
@@ -143,7 +143,7 @@ class account extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
// Load attributes
$this->attributes['description'][0] = $post['description'];
return 0;
diff --git a/lam/lib/modules/ieee802device.inc b/lam/lib/modules/ieee802device.inc
index d78c786e..e20b3fb8 100644
--- a/lam/lib/modules/ieee802device.inc
+++ b/lam/lib/modules/ieee802device.inc
@@ -163,7 +163,7 @@ class ieee802Device extends baseModule {
*
* @param array $post HTTP-POST values
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
$this->triggered_messages = array();
$this->attributes['macAddress'] = array();
// check old MACs
diff --git a/lam/lib/modules/inetLocalMailRecipient.inc b/lam/lib/modules/inetLocalMailRecipient.inc
index 0d49c739..cb3d4baf 100644
--- a/lam/lib/modules/inetLocalMailRecipient.inc
+++ b/lam/lib/modules/inetLocalMailRecipient.inc
@@ -227,7 +227,7 @@ class inetLocalMailRecipient extends baseModule {
*
* @param array $post HTTP-POST values
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
$this->triggered_messages = array();
$this->attributes['mailRoutingAddress'] = array();
$this->attributes['mailLocalAddress'] = array();
diff --git a/lam/lib/modules/inetOrgPerson.inc b/lam/lib/modules/inetOrgPerson.inc
index 8fc8a11e..108c748f 100644
--- a/lam/lib/modules/inetOrgPerson.inc
+++ b/lam/lib/modules/inetOrgPerson.inc
@@ -350,7 +350,7 @@ class inetOrgPerson extends baseModule {
return 0;
}
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
// Load attributes
$this->attributes['description'][0] = $post['description'];
$this->attributes['sn'][0] = $post['sn'];
diff --git a/lam/lib/modules/nisMailAlias.inc b/lam/lib/modules/nisMailAlias.inc
index 44436713..b512af23 100644
--- a/lam/lib/modules/nisMailAlias.inc
+++ b/lam/lib/modules/nisMailAlias.inc
@@ -192,7 +192,7 @@ class nisMailAlias extends baseModule {
*
* @param array $post HTTP-POST values
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
$this->triggered_messages = array();
$this->attributes['cn'] = array();
$this->attributes['rfc822MailMember'] = array();
diff --git a/lam/lib/modules/posixAccount.inc b/lam/lib/modules/posixAccount.inc
index 2d0bae23..584a5d40 100644
--- a/lam/lib/modules/posixAccount.inc
+++ b/lam/lib/modules/posixAccount.inc
@@ -585,7 +585,7 @@ class posixAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
$this->attributes['homeDirectory'][0] = $post['homeDirectory'];
$this->attributes['loginShell'][0] = $post['loginShell'];
if (isset($post['gecos'])) $this->attributes['gecos'][0] = $post['gecos'];
@@ -787,7 +787,7 @@ class posixAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_group(&$post) {
+ function process_group(&$post) {
do { // X-Or, only one if() can be true
if (isset($post['addgroups']) && isset($post['addgroups_button'])) { // Add groups to list
// Add new group
diff --git a/lam/lib/modules/posixGroup.inc b/lam/lib/modules/posixGroup.inc
index 393e1bfc..3d660199 100644
--- a/lam/lib/modules/posixGroup.inc
+++ b/lam/lib/modules/posixGroup.inc
@@ -441,7 +441,7 @@ class posixGroup extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
$this->attributes['description'][0] = $post['description'];
if (($post['userPassword_lock'] && $post['userPassword_invalid']) || ($post['userPassword_nopassword'] && $post['userPassword_invalid'])) {
@@ -607,7 +607,7 @@ class posixGroup extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_user(&$post) {
+ function process_user(&$post) {
do { // X-Or, only one if() can be true
if (isset($post['addusers']) && isset($post['addusers_button'])) { // Add groups to list
// Add new user
diff --git a/lam/lib/modules/quota.inc b/lam/lib/modules/quota.inc
index 608768e1..2324a97b 100644
--- a/lam/lib/modules/quota.inc
+++ b/lam/lib/modules/quota.inc
@@ -248,7 +248,7 @@ class quota extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
// Write all general values into $account_new
$i=0;
// loop for every mointpoint with quotas
diff --git a/lam/lib/modules/sambaAccount.inc b/lam/lib/modules/sambaAccount.inc
index c3b382bc..f57635b3 100644
--- a/lam/lib/modules/sambaAccount.inc
+++ b/lam/lib/modules/sambaAccount.inc
@@ -529,7 +529,7 @@ class sambaAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
$this->attributes['domain'][0] = $post['domain'];
// Start character
$flag = "[";
@@ -662,7 +662,7 @@ class sambaAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_userWorkstations(&$post) {
+ function process_userWorkstations(&$post) {
// Load attributes
if ($_SESSION[$this->base]->type=='user') {
do { // X-Or, only one if() can be true
diff --git a/lam/lib/modules/sambaGroupMapping.inc b/lam/lib/modules/sambaGroupMapping.inc
index bc46598a..cf33c1a4 100644
--- a/lam/lib/modules/sambaGroupMapping.inc
+++ b/lam/lib/modules/sambaGroupMapping.inc
@@ -392,7 +392,7 @@ class sambaGroupMapping extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
// Save attributes
$this->attributes['displayName'][0] = $post['displayName'];
$this->attributes['sambaGroupType'][0] = $this->sambaGroupTypes[$post['sambaGroupType']];
diff --git a/lam/lib/modules/sambaSamAccount.inc b/lam/lib/modules/sambaSamAccount.inc
index 0a2052a6..d59768dd 100644
--- a/lam/lib/modules/sambaSamAccount.inc
+++ b/lam/lib/modules/sambaSamAccount.inc
@@ -498,7 +498,7 @@ class sambaSamAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
// Save attributes
$this->attributes['sambaDomainName'][0] = $post['sambaDomainName'];
// Get Domain SID from name
@@ -639,7 +639,7 @@ class sambaSamAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_sambaUserWorkstations(&$post) {
+ function process_sambaUserWorkstations(&$post) {
// Load attributes
if ($_SESSION[$this->base]->type=='user') {
do { // X-Or, only one if() can be true
diff --git a/lam/lib/modules/shadowAccount.inc b/lam/lib/modules/shadowAccount.inc
index 1e020573..d1bdcb7f 100644
--- a/lam/lib/modules/shadowAccount.inc
+++ b/lam/lib/modules/shadowAccount.inc
@@ -268,7 +268,7 @@ class shadowAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
- function proccess_attributes(&$post) {
+ function process_attributes(&$post) {
// Load attributes
$this->attributes['shadowMin'][0] = $post['shadowMin'];
$this->attributes['shadowMax'][0] = $post['shadowMax'];