mirror of
https://github.com/tips-of-mine/GLPI-Plugin-SOC-Case-Management.git
synced 2025-06-28 13:48:42 +02:00
22 lines
488 B
PHP
22 lines
488 B
PHP
<?php
|
|
include ("../../../inc/includes.php");
|
|
|
|
Session::checkRight("config", UPDATE);
|
|
|
|
// Check if plugin is activated
|
|
if (!Plugin::isPluginActive("soc")) {
|
|
Html::displayNotFoundError();
|
|
}
|
|
|
|
Html::header(__('SOC Case Management Configuration', 'soc'), '', "config", "plugins");
|
|
|
|
$config = new PluginSocConfig();
|
|
if (isset($_POST["update"])) {
|
|
Session::checkRight("config", UPDATE);
|
|
$config->update($_POST);
|
|
Html::back();
|
|
} else {
|
|
$config->showConfigForm();
|
|
}
|
|
|
|
Html::footer(); |