From 98dc596a15f69e89296ea5b38e273cb5a6f2567c Mon Sep 17 00:00:00 2001 From: kkalev Date: Thu, 6 Feb 2003 00:46:02 +0000 Subject: [PATCH] Only show the personal attributes in the New User page if we have ldap or we are using the userinfo table in sql --- Changelog | 1 + htdocs/user_new.php3 | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 98053eb..0f79fcd 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,7 @@ Ver 1.63: * Fix a typo in lib/sql/attrmap.php3 * Add an entry in the FAQ about the Dialup-Access attribute * Add an entry in the FAQ about duplicate personal attributes in the user_admin page +* Only show the personal attributes in the New User page if we have ldap or we are using the userinfo table in sql Ver 1.62: * Remove one sql query from user_admin which was not needed. * Instead of a query like "LIKE 'YYYY-MM-DD%'" use "AcctStopTime >= 'YYYY-MM-DD 00:00:00 AND AcctStopTime diff --git a/htdocs/user_new.php3 b/htdocs/user_new.php3 index 8308fbd..ef70d45 100644 --- a/htdocs/user_new.php3 +++ b/htdocs/user_new.php3 @@ -109,7 +109,9 @@ EOM; EOM; } - echo << Name (First Name Surname) @@ -153,6 +155,7 @@ EOM; EOM; + } foreach($show_attrs as $key => $desc){ $name = $attrmap["$key"]; if ($name == 'none') -- 2.39.5