show warning if document is checked out

This commit is contained in:
Uwe Steinmann 2015-04-23 16:45:19 +02:00
parent 5952d49711
commit 91f7d8dfc3

View File

@ -145,6 +145,12 @@ function checkForm()
$msg .= "<p>".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folder->getID()."&showtree=".showtree())."</p>";
}
$this->warningMsg($msg);
if ($document->isCheckedOut()) {
$msg = getMLText('document_is_checked_out');
$this->warningMsg($msg);
}
$this->contentContainerStart();
?>