mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-16 18:19:37 +00:00
- check for workflow mode
This commit is contained in:
parent
9ae27c2537
commit
1e4d9518c5
|
@ -37,6 +37,7 @@ class LetoDMS_View_MyDocuments extends LetoDMS_Bootstrap_Style {
|
||||||
$orderby = $this->params['orderby'];
|
$orderby = $this->params['orderby'];
|
||||||
$showInProcess = $this->params['showinprocess'];
|
$showInProcess = $this->params['showinprocess'];
|
||||||
$cachedir = $this->params['cachedir'];
|
$cachedir = $this->params['cachedir'];
|
||||||
|
$workflowmode = $this->params['workflowmode'];
|
||||||
|
|
||||||
$db = $dms->getDB();
|
$db = $dms->getDB();
|
||||||
$previewer = new LetoDMS_Preview_Previewer($cachedir, 40);
|
$previewer = new LetoDMS_Preview_Previewer($cachedir, 40);
|
||||||
|
@ -55,6 +56,7 @@ class LetoDMS_View_MyDocuments extends LetoDMS_Bootstrap_Style {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($workflowmode == 'traditional') {
|
||||||
// Get document list for the current user.
|
// Get document list for the current user.
|
||||||
$reviewStatus = $user->getReviewStatus();
|
$reviewStatus = $user->getReviewStatus();
|
||||||
$approvalStatus = $user->getApprovalStatus();
|
$approvalStatus = $user->getApprovalStatus();
|
||||||
|
@ -389,7 +391,7 @@ class LetoDMS_View_MyDocuments extends LetoDMS_Bootstrap_Style {
|
||||||
else printMLText("no_docs_to_look_at");
|
else printMLText("no_docs_to_look_at");
|
||||||
|
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
}
|
||||||
|
|
||||||
// Get list of documents locked by current user
|
// Get list of documents locked by current user
|
||||||
$queryStr = "SELECT `tblDocuments`.*, `tblDocumentLocks`.`userID` as `lockUser`, ".
|
$queryStr = "SELECT `tblDocuments`.*, `tblDocumentLocks`.`userID` as `lockUser`, ".
|
||||||
|
|
Loading…
Reference in New Issue
Block a user