From 5f8879a8e5b36a2307c840ff27875261c2d7b4c2 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 8 Oct 2020 21:58:20 +0200 Subject: [PATCH] new conf variable for workflows in extensions --- views/bootstrap/class.Settings.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index c1e9cd71a..2abc030b7 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -598,6 +598,23 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk)) printMLText('no_attribute_definitions'); } break; + case "workflows": + $recs = $dms->getAllWorkflows(); + if($recs) { + echo ""; + } else { + printMLText('no_workflows'); + } + break; case "folders": $this->formField(null, $this->getFolderChooserHtml("form".$extname.$confkey, M_READ, -1, $selections ? $dms->getFolder($selections[0]) : 0, 'extensions['.$extname."][".$confkey."]")); break;