mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-20 08:31:26 +00:00
add extra output of date attributes
This commit is contained in:
parent
47307ccd3d
commit
e407f82d3a
|
@ -1536,6 +1536,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