add printAttribute()

This commit is contained in:
Uwe Steinmann 2021-04-07 07:48:18 +02:00
parent 98993e89df
commit 3accef2dd6

View File

@ -227,6 +227,16 @@ $('body').on('click', '.order-btn', function(ev) {
$this->printDeleteDocumentButtonJs();
} /* }}} */
protected function printAttribute($attribute) { /* {{{ */
$attrdef = $attribute->getAttributeDefinition();
?>
<tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php echo $this->getAttributeValue($attribute); ?></td>
</tr>
<?php
} /* }}} */
function folderInfos() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];