mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-06 03:49:56 +02:00
move render code to modules
This commit is contained in:
parent
1b3d839481
commit
f29b60a42c
1 changed files with 3 additions and 8 deletions
|
@ -676,14 +676,9 @@ class lamList {
|
|||
// print all attribute entries separated by "; "
|
||||
if (isset($entry[$attribute]) && sizeof($entry[$attribute]) > 0) {
|
||||
if (is_array($entry[$attribute])) {
|
||||
if (($attribute == 'entryexpiretimestamp') && !empty($entry[$attribute][0])) {
|
||||
return new htmlOutputText(formatLDAPTimestamp($entry[$attribute][0]));
|
||||
}
|
||||
else {
|
||||
// sort array
|
||||
sort($entry[$attribute]);
|
||||
return new htmlOutputText(implode("; ", $entry[$attribute]));
|
||||
}
|
||||
// sort array
|
||||
sort($entry[$attribute]);
|
||||
return new htmlOutputText(implode("; ", $entry[$attribute]));
|
||||
}
|
||||
else {
|
||||
return new htmlOutputText($entry[$attribute]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue