* Small html fixes in user_edit.php3 and password.php3
* Show number of failed logins in the last 7 days in the user admin page
* Show date in the user/server test page
+* In config.php3 include a relative admin.conf file not an absolute
+* Add an entry in the FAQ about php magic quotes
+* Escape double quotes in attribute values in the user edit page
Ver 1.55:
* Update the FAQ about missing attributes from the user/group edit pages and add a few comments
in the configuration files
the attribute mapping. If it is not then add it there also.
Everything should work ok after that.
+>
+> When an attribute contains double (") or single (') quotes something goes wrong.
+>
+
+Make sure that magic quotes in PHP are turned off
--
kkalev
#
# Main Configuration File
#
-# *** Make sure that conf/config.php3 opens the correct admin.conf file ***
-#
-#
# it can be default or whatever language. Only greek are supported
# from non latin alphabet languages
# These attribute only apply for ldap not for sql
<?php
-#
-# IMPORTANT IMPORTANT IMPORTANT
-#
-# Remember to change the included file to the location of your admin.conf
-#
-#
-$ARR=file("/usr/local/dialup_admin/conf/admin.conf");
+$ARR=file("../conf/admin.conf");
foreach($ARR as $val) {
$val=chop($val);
if (ereg('^[[:space:]]*#',$val) || ereg('^[[:space:]]*$',$val))
$i = 0;
foreach($vals as $val){
$name1 = $name . $i;
+ $val = ereg_replace('"','"',$val);
$oper_name = $name1 . '_op';
$oper = $ops[$i];
$selected[$oper] = 'selected';