mirror of
https://github.com/tips-of-mine/GLPI-Plugin-SOC-Case-Management.git
synced 2025-07-01 06:58:43 +02:00
Correction de la structure du plugin GLPI
This commit is contained in:
20
front/status.php
Normal file
20
front/status.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
include ("../../../inc/includes.php");
|
||||
|
||||
// This is a simple status page to indicate the plugin is installed
|
||||
// GLPI sometimes looks for this file
|
||||
|
||||
// Check if plugin is activated
|
||||
if (!Plugin::isPluginActive("soc")) {
|
||||
Html::displayNotFoundError();
|
||||
}
|
||||
|
||||
Html::header(__('SOC Case Management Status', 'soc'), '', "management", "pluginsoccase");
|
||||
|
||||
echo "<div class='center'>";
|
||||
echo "<h3>" . __('SOC Case Management Plugin Status', 'soc') . "</h3>";
|
||||
echo "<p>" . __('Plugin is installed and active.', 'soc') . "</p>";
|
||||
echo "<a href='dashboard.php' class='vsubmit'>" . __('Go to SOC Dashboard', 'soc') . "</a>";
|
||||
echo "</div>";
|
||||
|
||||
Html::footer();
|
Reference in New Issue
Block a user