global code update : namespace and src folder

This commit is contained in:
Thierry Bugier
2022-07-19 09:15:17 +02:00
committed by Cédric Anne
parent 3351d0f268
commit 9f415e0d32
24 changed files with 184 additions and 110 deletions

View File

@ -33,17 +33,19 @@
// Purpose of file:
// ----------------------------------------------------------------------
use GlpiPlugin\Example\Example;
include ('../../../inc/includes.php');
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", "pluginexampleexample", "");
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
} else {
Html::helpHeader("TITRE", $_SERVER['PHP_SELF']);
}
//checkTypeRight('PluginExampleExample',"r");
//checkTypeRight(Example::class,"r");
Search::show('PluginExampleExample');
Search::show(Example::class);
Html::footer();