Rev 1395 | Rev 1398 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1395 | Rev 1396 | ||
---|---|---|---|
Line 624... | Line 624... | ||
624 | $arcs = explode_with_escaping('/', ltrim($this->identifier,'/')); |
624 | $arcs = explode_with_escaping('/', ltrim($this->identifier,'/')); |
625 | foreach ($arcs as $arc) { |
625 | foreach ($arcs as $arc) { |
626 | $ary = explode_with_escaping('=', $arc, 2); |
626 | $ary = explode_with_escaping('=', $arc, 2); |
627 | 627 | ||
628 | $found_oid = ''; |
628 | $found_oid = ''; |
629 | $found_hf_name = '???'; |
629 | $found_hf_name = _L('Unknown attribute'); |
630 | 630 | ||
631 | foreach ($known_attr_names as $oid => list($source, $englishName, $ldapNames, $oidName)) { |
631 | foreach ($known_attr_names as $oid => list($source, $englishName, $ldapNames, $oidName)) { |
632 | foreach ($ldapNames as $abbr) { |
632 | foreach ($ldapNames as $abbr) { |
633 | if (strtolower($abbr) == strtolower($ary[0])) { |
633 | if ((strtolower($abbr) == strtolower($ary[0])) || ($abbr == $oid)) { |
634 | $found_oid = $oid; |
634 | $found_oid = $oid; |
635 | $found_hf_name = $englishName; |
635 | $found_hf_name = $englishName; |
636 | break; |
636 | break; |
637 | } |
637 | } |
638 | } |
638 | } |