From 1db82e571dd29835ee669472de1a646314e12aa9 Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Fri, 17 Sep 2004 16:02:24 +0000 Subject: log viewer for the Service Provider and the Identity Provider added logger for in many files updated idp1 metadata, added .php extension added session viewer for the sp (you will be able to view online users) --- php/Attic/examples/sample-idp/admin_user.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'php/Attic/examples/sample-idp/admin_user.php') diff --git a/php/Attic/examples/sample-idp/admin_user.php b/php/Attic/examples/sample-idp/admin_user.php index ca5f14ba..0f0c31c3 100644 --- a/php/Attic/examples/sample-idp/admin_user.php +++ b/php/Attic/examples/sample-idp/admin_user.php @@ -81,7 +81,8 @@ $res =& $db->query($query); if (DB::isError($res)) die($res->getMessage()); - + + $logger->log("Delete User '".$_GET['del']."'", PEAR_LOG_NOTICE); } lasso_init(); @@ -164,21 +165,21 @@ if ((($count - $startUser) > $number_of_users) && !isset($_GET['show_all'])) echo "Next"; else - echo "Next" - ?> - Paginate"; + else + { for ($i = 0; $i < $count; $i += $number_of_users) if ($i == $startUser) echo "| " . ( $i / $number_of_users); else echo "| " . ( $i / $number_of_users) . ""; + if ($count > $number_of_users) + echo "| Show All"; + } ?> - | - - ">Paginate - - ">Show All - | Toggle All add user @@ -237,7 +238,7 @@ - +