From 84edb939c70d4fce54f1f12261fccb896cba9c22 Mon Sep 17 00:00:00 2001 From: dechutes Date: Wed, 2 Apr 2003 21:42:51 +0000 Subject: [PATCH] checkboxes added --- lam/lib/listusers.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lam/lib/listusers.php b/lam/lib/listusers.php index 01692bd9..8c64e4aa 100644 --- a/lam/lib/listusers.php +++ b/lam/lib/listusers.php @@ -28,8 +28,12 @@ include_once("ldap.php"); // class representing local user entry with attributes of ldap user entry include_once("userentry.php"); -echo ""; +echo ""; +echo ""; +echo ""; +echo ""; +echo ""; // config object should be in session!!! $config = new Config(); $ldap = new Ldap($config); @@ -45,18 +49,22 @@ echo "\n"; // print attribute headers echo ""; +echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; - +$row_number = 0; foreach ($user_dn_list as $user_dn) { - echo "\n"; + +echo "\n"; +$row_number++; $userentry = new UserEntry(); $userentry = $ldap->getEntry ($user_dn, $userentry); $ldap->getEntry ($user_dn, $userentry); + echo (""); echo (""); echo (""); @@ -64,6 +72,7 @@ foreach ($user_dn_list as $user_dn) { echo "\n"; } echo "
VornameNachnameUidHome Verzeichnis
" . ""); echo ("" . current ($userentry->getGivenName()) . "" . current ($userentry->getSn()) . "" . current ($userentry->getUid()) . "
"; +echo ""; $ldap->close();