Changed all PM table names to uppercase in queries (to be compliant with table names in PM DB) Fixed a lot of CS issues Deleted obsolete comments Deleted config folder Changed version to 3.1.3 Fixes #8 Fixes #13 Fixes #14
31 lines
672 B
PHP
31 lines
672 B
PHP
<?php
|
|
|
|
include_once ("../../../inc/includes.php");
|
|
|
|
Plugin::load('processmaker', true);
|
|
|
|
if (!isset($_REQUEST["id"])) {
|
|
$_REQUEST["id"] = "";
|
|
}
|
|
|
|
$PluginProcess = new PluginProcessmakerProcess();
|
|
|
|
if (isset($_REQUEST["update"])) {
|
|
$PluginProcess->check($_REQUEST['id'], UPDATE);
|
|
$PluginProcess->update($_REQUEST);
|
|
Html::back();
|
|
|
|
} else if (isset($_REQUEST["refreshtask"])) {
|
|
$PluginProcess->check($_REQUEST['id'], UPDATE);
|
|
$PluginProcess->refreshTasks($_REQUEST);
|
|
Html::back();
|
|
|
|
} else {
|
|
|
|
Html::header($LANG['processmaker']['title'][1], $_SERVER["PHP_SELF"], "plugins", "processmaker");
|
|
|
|
$PluginProcess->display($_REQUEST);
|
|
|
|
Html::footer();
|
|
}
|