mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-21 16:24:59 +02:00
commit
e283c254cd
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\DeviceCamera;
|
use GlpiPlugin\Example\DeviceCamera;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
$dropdown = new DeviceCamera();
|
$dropdown = new DeviceCamera();
|
||||||
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
$dropdown = new DeviceCamera();
|
$dropdown = new DeviceCamera();
|
||||||
include (GLPI_ROOT . "/front/dropdown.common.php");
|
include (GLPI_ROOT . "/front/dropdown.common.php");
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\Dropdown;
|
use GlpiPlugin\Example\Dropdown;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
Plugin::load('example', true);
|
Plugin::load('example', true);
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\Dropdown;
|
use GlpiPlugin\Example\Dropdown;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
Plugin::load('example', true);
|
Plugin::load('example', true);
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\Example;
|
use GlpiPlugin\Example\Example;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
|
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\Example;
|
use GlpiPlugin\Example\Example;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkRight(Example::$rightname, READ);
|
||||||
|
|
||||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
|
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\RuleTestCollection;
|
use GlpiPlugin\Example\RuleTestCollection;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
$rulecollection = new RuleTestCollection();
|
$rulecollection = new RuleTestCollection();
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
use GlpiPlugin\Example\RuleTestCollection;
|
use GlpiPlugin\Example\RuleTestCollection;
|
||||||
|
|
||||||
include ('../../../inc/includes.php');
|
include ('../../../inc/includes.php');
|
||||||
|
Session::checkLoginUser();
|
||||||
|
|
||||||
$rulecollection = new RuleTestCollection();
|
$rulecollection = new RuleTestCollection();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user