* Escape double quotes in attribute values in the user edit page
* Fix a bug in lib/sql/change_passwd.php3 when not using operators.
Bug report from Sheldon Fougere <sfougere@solutioninc.com>
+* Add the caller id in the connection status attributes in the show user 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
$lastlog_client_ip = $row['FramedIPAddress'];
$lastlog_server_name = gethostbyaddr($lastlog_server_ip);
$lastlog_client_name = gethostbyaddr($lastlog_client_ip);
+ $lastlog_callerid = $row['CallingStationId'];
+ if ($lastlog_callerid == '')
+ $lastlog_callerid = 'not available';
$lastlog_input = $row['AcctInputOctets'];
if ($lastlog_input)
$lastlog_input = bytes2str($lastlog_input);
$lastlog_client_ip = $row['FramedIPAddress'];
$lastlog_server_name = ($lastlog_server_ip != '') ? gethostbyaddr($lastlog_server_ip) : '-';
$lastlog_client_name = ($lastlog_client_ip != '') ? gethostbyaddr($lastlog_client_ip) : '-';
+ $lastlog_callerid = $row['CallingStationId'];
+ if ($lastlog_callerid == '')
+ $lastlog_callerid = 'not available';
$lastlog_input = $row['AcctInputOctets'];
$lastlog_input = bytes2str($lastlog_input);
$lastlog_output = $row['AcctOutputOctets'];
$lastlog_server_port
</td></tr>
<tr><td align=center bgcolor="#d0ddb0">
+ Caller Id
+ </td><td>
+ $lastlog_callerid
+ </td></tr>
+ <tr><td align=center bgcolor="#d0ddb0">
Upload
</td><td>
$lastlog_input
$lastlog_server_port
</td></tr>
<tr><td align=center bgcolor="#d0ddb0">
+ Caller Id
+ </td><td>
+ $lastlog_callerid
+ </td></tr>
+ <tr><td align=center bgcolor="#d0ddb0">
Upload
</td><td>
$lastlog_input