mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
- do not show menu items for workflow operations if in traditional
workflow mode
This commit is contained in:
parent
a83e88d83d
commit
c20bcbfb6a
|
@ -366,9 +366,11 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common {
|
|||
echo " <li><a href=\"../out/out.DefaultKeywords.php\">".getMLText("global_default_keywords")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.Categories.php\">".getMLText("global_document_categories")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.AttributeMgr.php\">".getMLText("global_attributedefinitions")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.WorkflowMgr.php\">".getMLText("global_workflows")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.WorkflowStatesMgr.php\">".getMLText("global_workflow_states")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.WorkflowActionsMgr.php\">".getMLText("global_workflow_actions")."</a></li>\n";
|
||||
if($this->params['workflowmode'] != 'traditional') {
|
||||
echo " <li><a href=\"../out/out.WorkflowMgr.php\">".getMLText("global_workflows")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.WorkflowStatesMgr.php\">".getMLText("global_workflow_states")."</a></li>\n";
|
||||
echo " <li><a href=\"../out/out.WorkflowActionsMgr.php\">".getMLText("global_workflow_actions")."</a></li>\n";
|
||||
}
|
||||
echo " </ul>\n";
|
||||
echo " </li>\n";
|
||||
echo " </ul>\n";
|
||||
|
@ -762,7 +764,7 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common {
|
|||
<?php
|
||||
} /* }}} */
|
||||
|
||||
function printKeywordChooser($formName, $keywords, $fieldname='keywords') { /* {{{ */
|
||||
function printKeywordChooser($formName, $keywords='', $fieldname='keywords') { /* {{{ */
|
||||
?>
|
||||
<div class="input-append">
|
||||
<input type="text" name="<?php echo $fieldname; ?>" value="<?php print htmlspecialchars($keywords);?>" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user