From 065023d6eac9c80f541a3165fdd11e76c508079c Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Mon, 6 Apr 2009 16:56:39 +0200 Subject: [PATCH] Complete the simple person object. --- koward/config/labels.php | 1 + koward/config/objects.php | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/koward/config/labels.php b/koward/config/labels.php index d119491c4..8cba862ba 100644 --- a/koward/config/labels.php +++ b/koward/config/labels.php @@ -8,3 +8,4 @@ $labels['sn'] = _("Last name"); $labels['snsuffix'] = _("Name suffix"); $labels['personalTitle'] = _("Title"); $labels['userPassword'] = _("Password"); +$labels['telephoneNumber'] = _("Phone"); diff --git a/koward/config/objects.php b/koward/config/objects.php index 27b00d404..9715a03bd 100644 --- a/koward/config/objects.php +++ b/koward/config/objects.php @@ -31,6 +31,7 @@ $objects['person'] = array( 'cn' => array( 'title' => _("Common name"), 'width' => 40, + 'link_view'=> true, ), 'sn' => array( 'title' => _("Last name"), @@ -41,15 +42,22 @@ $objects['person'] = array( 'hide' => array( 'objectClass', 'id', + 'cn', + 'seeAlso', + 'description', ), 'order' => array( 'sn' => 5, 'snsuffix' => 6, + 'userPassword' => 7, ), 'fields' => array( 'cn' => array( 'required' => false, ), + 'userPassword' => array( + 'required' => true, + ), ), ), ); -- 2.11.0