Multiple fixes, changes and enhancements

* mass edit selection,
* child search during edit,
* attr login with bind_id,
* performance fix broke ldapservers that dont have havesubordinate attrs),
* enable "login,class",
* enable "login,base".
This commit is contained in:
Deon George
2009-08-21 15:02:12 +10:00
parent 95aedef718
commit 6e6a7a6e4e
9 changed files with 127 additions and 244 deletions

View File

@@ -208,19 +208,16 @@ function app_version() {
$CACHE = 'UNKNOWN';
else {
$f = fopen($version_file,'r');
$version = trim(fread($f, filesize($version_file)));
fclose($f);
$version = rtrim(file_get_contents($version_file));
$CACHE = preg_replace('/^RELEASE-([0-9\.]+(-.*)*)$/','$1',$version);
# Check if we are a CVS copy.
if (preg_match('/^$/',$CACHE))
$CACHE = 'CVS';
if (preg_match('/^(DEVEL)?$/',$CACHE))
$CACHE = 'DEVEL';
# Check if we are special CVS branch
elseif (preg_match('/^([a-zA-Z]+)?$/',$CACHE,$match))
$CACHE = $match[1];
# Check if we are special DEVEL version
elseif (preg_match('/^DEVEL-([0-9\.]+)+$/',$CACHE)) {}
# If return is still the same as version, then the tag is not one we expect.
elseif ($CACHE == $version)