diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php
index f6829d5a5..d6143c545 100644
--- a/views/bootstrap/class.ViewDocument.php
+++ b/views/bootstrap/class.ViewDocument.php
@@ -76,44 +76,6 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
}
} /* }}} */
- /**
- * Output a single attribute in the document info section
- *
- * @param object $attribute attribute
- */
- protected function printAttribute($attribute) { /* {{{ */
- $attrdef = $attribute->getAttributeDefinition();
-?>
-
- | getName()); ?>: |
-
-getType()) {
- case SeedDMS_Core_AttributeDefinition::type_url:
- $attrs = $attribute->getValueAsArray();
- $tmp = array();
- foreach($attrs as $attr) {
- $tmp[] = ''.htmlspecialchars($attr).'';
- }
- echo implode(' ', $tmp);
- break;
- case SeedDMS_Core_AttributeDefinition::type_email:
- $attrs = $attribute->getValueAsArray();
- $tmp = array();
- foreach($attrs as $attr) {
- $tmp[] = ''.htmlspecialchars($attr).'';
- }
- echo implode(' ', $tmp);
- break;
- default:
- echo htmlspecialchars(implode(', ', $attribute->getValueAsArray()));
- }
-?>
- |
-
-params['dms'];
$user = $this->params['user'];
@@ -545,15 +507,39 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
print "\n";
print "".htmlspecialchars($latestContent->getComment())."
";
print "