mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-20 16:19:16 +00:00
get attr def from attr def grp
This commit is contained in:
parent
72a6ee9407
commit
fc34acd37e
|
|
@ -894,7 +894,8 @@ $(document).ready(function() {
|
|||
foreach($attrdefgrps as $attrdefgrp) {
|
||||
if($attrdefs = $attrdefgrp->getAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_folder), SeedDMS_Core_AttributeDefinitionGroup::show_search)) {
|
||||
echo "<tr><td colspan=\"2\"><b>".htmlspecialchars($attrdefgrp->getName())."</b></td></tr>";
|
||||
foreach($attrdefs as $attrdef) {
|
||||
foreach($attrdefs as $attrdefl) {
|
||||
$attrdef = $attrdefl['attrdef'];
|
||||
if($attrdef->getObjType() == SeedDMS_Core_AttributeDefinition::objtype_folder) {
|
||||
if($attrdef->getType() == SeedDMS_Core_AttributeDefinition::type_date) {
|
||||
$this->formField(htmlspecialchars($attrdef->getName().' ('.getMLText('from').')'), $this->getAttributeEditField($attrdef, !empty($attributes[$attrdef->getID()]['from']) ? getReadableDate(makeTsFromDate($attributes[$attrdef->getID()]['from'])) : '', 'attributes', true, 'from'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user