From c20bcbfb6ac3c3462d9208380b608a352dbfdc26 Mon Sep 17 00:00:00 2001 From: steinm Date: Wed, 6 Feb 2013 13:57:14 +0000 Subject: [PATCH] - do not show menu items for workflow operations if in traditional workflow mode --- views/bootstrap/class.Bootstrap.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 39878706d..8ba627f77 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -366,9 +366,11 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common { echo "
  • ".getMLText("global_default_keywords")."
  • \n"; echo "
  • ".getMLText("global_document_categories")."
  • \n"; echo "
  • ".getMLText("global_attributedefinitions")."
  • \n"; - echo "
  • ".getMLText("global_workflows")."
  • \n"; - echo "
  • ".getMLText("global_workflow_states")."
  • \n"; - echo "
  • ".getMLText("global_workflow_actions")."
  • \n"; + if($this->params['workflowmode'] != 'traditional') { + echo "
  • ".getMLText("global_workflows")."
  • \n"; + echo "
  • ".getMLText("global_workflow_states")."
  • \n"; + echo "
  • ".getMLText("global_workflow_actions")."
  • \n"; + } echo " \n"; echo " \n"; echo " \n"; @@ -762,7 +764,7 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common {