2015-10-09 14:13:52 +02:00
|
|
|
<?php
|
|
|
|
|
|
2017-05-06 18:38:24 +02:00
|
|
|
include_once ("../../../inc/includes.php");
|
2015-10-09 14:13:52 +02:00
|
|
|
|
2018-08-02 16:57:00 +02:00
|
|
|
Html::header(__('ProcessMaker', 'processmaker'), $_SERVER['PHP_SELF'], "tools", "PluginProcessmakerMenu", "processes");
|
2015-10-09 14:13:52 +02:00
|
|
|
|
2017-12-29 16:32:39 +01:00
|
|
|
if (Session::haveRightsOr("plugin_processmaker_config", [READ, UPDATE])) {
|
2017-05-06 18:38:24 +02:00
|
|
|
$process=new PluginProcessmakerProcess();
|
2015-10-09 14:13:52 +02:00
|
|
|
|
2017-05-06 18:38:24 +02:00
|
|
|
if (isset( $_REQUEST['refresh'] ) && Session::haveRight("plugin_processmaker_config", UPDATE)) {
|
|
|
|
|
$process->refresh();
|
|
|
|
|
Html::back();
|
|
|
|
|
}
|
2015-10-09 14:13:52 +02:00
|
|
|
|
2017-05-06 18:38:24 +02:00
|
|
|
$process->title();
|
|
|
|
|
|
|
|
|
|
Search::show('PluginProcessmakerProcess');
|
2015-10-09 14:13:52 +02:00
|
|
|
|
|
|
|
|
} else {
|
2017-05-06 18:38:24 +02:00
|
|
|
Html::displayRightError();
|
2015-10-09 14:13:52 +02:00
|
|
|
}
|
|
|
|
|
Html::footer();
|
|
|
|
|
|