Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1805 → Rev 2745

/web/acc/manager/lib/xlat.php
4,7 → 4,7
$string = $filter;
if ($filter != ''){
$string = preg_replace('/%u/',$login,$string);
$string = preg_replace('/%U/',$_SERVER["PHP_AUTH_USER"],$string);
$string = preg_replace('/%U/',$_SERVER["REMOTE_USER"],$string);
$string = preg_replace('/%ma/',$mappings[$http_user]['accounting'],$string);
$string = preg_replace('/%mu/',$mappings[$http_user]['userdb'],$string);
$string = preg_replace('/%mn/',$mappings[$http_user]['nasdb'],$string);