mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
usePlugin() => Plugin::load()
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@126 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
e2aacb1546
commit
1f221efc07
@ -37,7 +37,7 @@
|
|||||||
define('GLPI_ROOT', '../../..');
|
define('GLPI_ROOT', '../../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
usePlugin('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
$dropdown = new PluginExampleDropdown();
|
$dropdown = new PluginExampleDropdown();
|
||||||
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");
|
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
define('GLPI_ROOT', '../../..');
|
define('GLPI_ROOT', '../../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
usePlugin('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
$dropdown = new PluginExampleDropdown();
|
$dropdown = new PluginExampleDropdown();
|
||||||
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
define('GLPI_ROOT', '../../..');
|
define('GLPI_ROOT', '../../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
usePlugin('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
$dropdown = new PluginExampleDropdown();
|
$dropdown = new PluginExampleDropdown();
|
||||||
include (GLPI_ROOT . "/front/dropdown.common.php");
|
include (GLPI_ROOT . "/front/dropdown.common.php");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user