Go to the source code of this file.
|
const | SKIPCOLOR '[1;31;40m' |
|
const | UPDTCOLOR '[1;32;40m' |
|
const | STOPCOLOR '[0m' |
|
| $clean = (GetHttpVars("clean", "no") == "yes") |
|
| $appl = new Application() |
|
if($action->GetParam("LDAP_ENABLED","no")!="yes") | $dbaccess = $appl->GetParam("FREEDOM_DB") |
|
if($dbaccess=="") | $ldaphost = $action->GetParam("LDAP_SERVEUR", "localhost") |
|
| $ldappw = $action->GetParam("LDAP_ROOTPW") |
|
| $ldapdn = $action->GetParam("LDAP_ROOTDN") |
|
| $ldapr = $action->GetParam("LDAP_ROOT") |
|
if($clean) | $ldoc1 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "USER") |
|
| $ldoc2 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "IGROUP") |
|
| $ldoc = array_merge($ldoc1, $ldoc2) |
|
| $reste = countDocs($ldoc) |
|
| $total = $reste |
|
if ($action->GetParam("LDAP_ENABLED","no")!="yes") $dbaccess = $appl->GetParam("FREEDOM_DB") |
$ldapdn = $action->GetParam("LDAP_ROOTDN") |
if ($dbaccess=="") $ldaphost = $action->GetParam("LDAP_SERVEUR", "localhost") |
$ldappw = $action->GetParam("LDAP_ROOTPW") |
$ldapr = $action->GetParam("LDAP_ROOT") |
$ldoc = array_merge($ldoc1, $ldoc2) |
if ($clean) $ldoc1 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "USER") |
$ldoc2 = getChildDoc($dbaccess, 0, 0, "ALL", array() , $action->user->id, "ITEM", "IGROUP") |
const SKIPCOLOR '[1;31;40m' |
const UPDTCOLOR '[1;32;40m' |