mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +00:00
show warning if document is checked out
This commit is contained in:
parent
5952d49711
commit
91f7d8dfc3
|
@ -145,6 +145,12 @@ function checkForm()
|
||||||
$msg .= "<p>".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folder->getID()."&showtree=".showtree())."</p>";
|
$msg .= "<p>".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folder->getID()."&showtree=".showtree())."</p>";
|
||||||
}
|
}
|
||||||
$this->warningMsg($msg);
|
$this->warningMsg($msg);
|
||||||
|
|
||||||
|
if ($document->isCheckedOut()) {
|
||||||
|
$msg = getMLText('document_is_checked_out');
|
||||||
|
$this->warningMsg($msg);
|
||||||
|
}
|
||||||
|
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user