mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-28 12:38:00 +00:00
call new hook checkOutInfo
This commit is contained in:
parent
3e9d2dc695
commit
9672f19bc4
|
@ -205,7 +205,10 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
$checkoutdir = $this->params['checkOutDir'];
|
$checkoutdir = $this->params['checkOutDir'];
|
||||||
|
|
||||||
$this->contentHeading(getMLText("document_infos"));
|
$this->contentHeading(getMLText("document_infos"));
|
||||||
if($info = $document->getCheckOutInfo()) {
|
$txt = $this->callHook('checkOutInfo', $document);
|
||||||
|
if(is_string($txt)) {
|
||||||
|
echo $txt;
|
||||||
|
} elseif($info = $document->getCheckOutInfo()) {
|
||||||
echo "<div class=\"alert alert-info\">";
|
echo "<div class=\"alert alert-info\">";
|
||||||
$session = $this->params['session'];
|
$session = $this->params['session'];
|
||||||
if($session->getSu()) {
|
if($session->getSu()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user