remove XXX_TYPE and switch to Plugin::registerClass()

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@108 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet
2009-12-07 09:46:56 +00:00
parent fc2231adcf
commit 3b5913f295
3 changed files with 17 additions and 17 deletions

View File

@@ -35,8 +35,8 @@
$NEEDED_ITEMS=array("search");
define('GLPI_ROOT', '../..');
include (GLPI_ROOT . "/inc/includes.php");
define('GLPI_ROOT', '../..');
include (GLPI_ROOT . "/inc/includes.php");
if ($_SESSION["glpiactiveprofile"]["interface"] == "central"){
commonHeader("TITRE", $_SERVER['PHP_SELF'],"plugins","example","optionname");
@@ -44,13 +44,13 @@ if ($_SESSION["glpiactiveprofile"]["interface"] == "central"){
helpHeader("TITRE", $_SERVER['PHP_SELF']);
}
checkTypeRight(PLUGIN_EXAMPLE_TYPE,"r");
checkTypeRight('PluginExampleExample',"r");
manageGetValuesInSearch(PLUGIN_EXAMPLE_TYPE);
manageGetValuesInSearch('PluginExampleExample');
searchForm(PLUGIN_EXAMPLE_TYPE,$_GET);
searchForm('PluginExampleExample',$_GET);
showList(PLUGIN_EXAMPLE_TYPE,$_GET);
showList('PluginExampleExample',$_GET);
commonFooter();
?>