mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
020dfb00d2
|
@ -1717,6 +1717,14 @@ $(document).ready(function() {
|
|||
}
|
||||
return implode('<br />', $tmp);
|
||||
break;
|
||||
case SeedDMS_Core_AttributeDefinition::type_date:
|
||||
$attrs = $attribute->getValueAsArray();
|
||||
$tmp = array();
|
||||
foreach($attrs as $attr) {
|
||||
$tmp[] = getReadableDate($attr);
|
||||
}
|
||||
return implode(', ', $tmp);
|
||||
break;
|
||||
default:
|
||||
return htmlspecialchars(implode(', ', $attribute->getValueAsArray()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user