mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
global code update : namespace and src folder
This commit is contained in:

committed by
Cédric Anne

parent
3351d0f268
commit
9f415e0d32
@ -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();
|
||||
|
Reference in New Issue
Block a user