we are using the userinfo table in sql
* 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
</tr>
EOM;
}
- echo <<<EOM
+ if ($config[general_lib_type] == 'ldap' ||
+ ($config[general_lib_type] == 'sql' && $config[sql_use_user_info_table] == 'true')){
+ echo <<<EOM
<tr>
<td align=right colspan=$colspan bgcolor="#d0ddb0">
Name (First Name Surname)
</td>
</tr>
EOM;
+ }
foreach($show_attrs as $key => $desc){
$name = $attrmap["$key"];
if ($name == 'none')