From 7c85495de060026fdce96e5d9cc47afd89213a41 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 16 Feb 2009 19:04:20 +0000 Subject: [PATCH] moved department field --- lam/lib/modules/inetOrgPerson.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lam/lib/modules/inetOrgPerson.inc b/lam/lib/modules/inetOrgPerson.inc index ad6ef555..4e7117b2 100644 --- a/lam/lib/modules/inetOrgPerson.inc +++ b/lam/lib/modules/inetOrgPerson.inc @@ -852,13 +852,6 @@ class inetOrgPerson extends baseModule { array('kind' => 'input', 'name' => 'roomNumber', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $roomNumber), array('kind' => 'help', 'value' => 'roomNumber')); - $departmentNumber = ''; - if (isset($this->attributes['departmentNumber'][0])) $departmentNumber = implode(';', $this->attributes['departmentNumber']); - $return[] = array( - array('kind' => 'text', 'text' => _('Department(s)')), - array('kind' => 'input', 'name' => 'departmentNumber', 'type' => 'text', 'size' => '30', - 'maxlength' => '255', 'value' => $departmentNumber), - array('kind' => 'help', 'value' => 'departmentNumber')); $return[] = array(array('kind' => 'text', 'td' => array('colspan' => 3))); @@ -928,6 +921,13 @@ class inetOrgPerson extends baseModule { array('kind' => 'input', 'name' => 'businessCategory', 'type' => 'text', 'size' => '30', 'maxlength' => '255', 'value' => $businessCategory), array('kind' => 'help', 'value' => 'businessCategory')); + $departmentNumber = ''; + if (isset($this->attributes['departmentNumber'][0])) $departmentNumber = implode(';', $this->attributes['departmentNumber']); + $return[] = array( + array('kind' => 'text', 'text' => _('Department(s)')), + array('kind' => 'input', 'name' => 'departmentNumber', 'type' => 'text', 'size' => '30', + 'maxlength' => '255', 'value' => $departmentNumber), + array('kind' => 'help', 'value' => 'departmentNumber')); if ($this->supportUnixHosts()) { $hostvalue = ""; if (isset($this->attributes['host']) && is_array($this->attributes['host'])) {