Subversion Repositories ALCASAR

Rev

Rev 1805 | Rev 2347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1805 Rev 1847
Line 332... Line 332...
332
$daily_limit = (is_numeric($daily_limit)) ? time2str($daily_limit) : $daily_limit;
332
$daily_limit = (is_numeric($daily_limit)) ? time2str($daily_limit) : $daily_limit;
333
$session_limit = (is_numeric($session_limit)) ? time2str($session_limit) : $session_limit;
333
$session_limit = (is_numeric($session_limit)) ? time2str($session_limit) : $session_limit;
334
$total_limit = (is_numeric($total_limit)) ? time2str($total_limit) : $total_limit;
334
$total_limit = (is_numeric($total_limit)) ? time2str($total_limit) : $total_limit;
335
$remaining = (is_numeric($remaining)) ? time2str($remaining) : $remaining;
335
$remaining = (is_numeric($remaining)) ? time2str($remaining) : $remaining;
336
 
336
 
337
if ($item_vals['Dialup-Access'][0] == 'FALSE' || (!isset($item_vals['Dialup-Access'][0]) && $attrmap['Dialup-Access'] != '' && $attrmap['Dialup-Access'] != 'none'))
337
if (isset($item_vals['Dialup-Access'][0]) && $item_vals['Dialup-Access'][0] == 'FALSE' || (!isset($item_vals['Dialup-Access'][0]) && $attrmap['Dialup-Access'] != '' && $attrmap['Dialup-Access'] != 'none'))
338
	$msg =<<<EON
338
	$msg =<<<EON
339
<font color=red><b> $l_locked_user </b></font>
339
<font color=red><b> $l_locked_user </b></font>
340
EON;
340
EON;
341
else
341
else
342
	$msg =<<<EON
342
	$msg =<<<EON
Line 349... Line 349...
349
EON;
349
EON;
350
else
350
else
351
	$descr = '-';
351
	$descr = '-';
352
 
352
 
353
$expiration = isset($default_vals['Expiration'][0]) ? $default_vals['Expiration'][0] : '';
353
$expiration = isset($default_vals['Expiration'][0]) ? $default_vals['Expiration'][0] : '';
354
if ($item_vals['Expiration'][0] != '')
354
if (isset($item_vals['Expiration'][0]))
355
	$expiration = $item_vals['Expiration'][0];
355
	$expiration = $item_vals['Expiration'][0];
-
 
356
 
356
if ($expiration != ''){
357
if ($expiration != ''){
357
	$expiration = strtotime($expiration);
358
	$expiration = strtotime($expiration);
358
	if ($expiration != -1 && $expiration < time())
359
	if ($expiration != -1 && $expiration < time())
359
		$descr = <<<EOM
360
		$descr = <<<EOM
360
<font color=red><b>$l_user_expired</b></font>
361
<font color=red><b>$l_user_expired</b></font>