mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-23 10:01:44 +00:00
add hook showVersionComment
This commit is contained in:
parent
6fb4b9b545
commit
86e7b0a13f
|
@ -614,7 +614,12 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "<li>".getLongReadableDate($latestContent->getDate())."</li>";
|
||||
|
||||
print "</ul>\n";
|
||||
print "<p style=\"font-style: italic;\">".htmlspecialchars($latestContent->getComment())."</p>";
|
||||
$txt = $this->callHook('showVersionComment', $latestContent);
|
||||
if($txt) {
|
||||
echo $txt;
|
||||
} else {
|
||||
print "<p style=\"font-style: italic;\">".htmlspecialchars($latestContent->getComment())."</p>";
|
||||
}
|
||||
print "<ul class=\"actions unstyled\">\n";
|
||||
$attributes = $latestContent->getAttributes();
|
||||
if($attributes) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user