Commit 79d1aae019624f25d8f34b6f69a903a90a9303ff

Authored by kevin_fourie
1 parent 6c0cfbe8

KTS-1654

"Activate Graphviz version of workflow"
Commented this out completely as it will be replaced completely in future.

Committed By: Kevin
Reviewed By: Conrad

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6676 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/admin/workflowsv2.php
@@ -130,12 +130,12 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { @@ -130,12 +130,12 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher {
130 } 130 }
131 131
132 $this->HAVE_GRAPHVIZ = false; 132 $this->HAVE_GRAPHVIZ = false;
133 - $dotCommand = KTUtil::findCommand("ui/dot", 'dot'); 133 +/* $dotCommand = KTUtil::findCommand("ui/dot", 'dot');
134 if (!empty($dotCommand)) { 134 if (!empty($dotCommand)) {
135 $this->HAVE_GRAPHVIZ = true; 135 $this->HAVE_GRAPHVIZ = true;
136 $this->dotCommand = $dotCommand; 136 $this->dotCommand = $dotCommand;
137 } 137 }
138 - 138 +*/
139 } 139 }
140 140
141 function do_main() { 141 function do_main() {
templates/ktcore/workflow/admin/view.smarty
@@ -13,5 +13,5 @@ about states, transitions, security and notifications as they apply to this work @@ -13,5 +13,5 @@ about states, transitions, security and notifications as they apply to this work
13 <iframe src="{addQS context=$context}action=graphrepresentation{/addQS}" style="width: 100%; height: 400px; border: 1px solid black;" /> 13 <iframe src="{addQS context=$context}action=graphrepresentation{/addQS}" style="width: 100%; height: 400px; border: 1px solid black;" />
14 {* <img src="{addQS context=$context}action=graphrepresentation{/addQS}" /> *} 14 {* <img src="{addQS context=$context}action=graphrepresentation{/addQS}" /> *}
15 {else} 15 {else}
16 -<div class="ktInfoMessage"><span>{i18n}Install the GraphViz module to get a useful visualisation of your graph here.{/i18n}</span></div> 16 +{* <div class="ktInfoMessage"><span>{i18n}Install the GraphViz module to get a useful visualisation of your graph here.{/i18n}</span></div> *}
17 {/if} 17 {/if}