mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-05 02:18:42 +02:00
[example] force usePLugin in config page for cases of inactive plugins
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@55 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
ba2ae604b7
commit
fbd7caefb1
@ -42,9 +42,10 @@ include (GLPI_ROOT . "/inc/includes.php");
|
|||||||
checkRight("config","w");
|
checkRight("config","w");
|
||||||
|
|
||||||
commonHeader("TITRE",$_SERVER['PHP_SELF'],"plugins");
|
commonHeader("TITRE",$_SERVER['PHP_SELF'],"plugins");
|
||||||
|
// To be available when plugin in not activated
|
||||||
echo "This is the plugin config page";
|
usePLugin('example');
|
||||||
|
echo "This is the plugin config page<br>";
|
||||||
|
echo $LANG['plugin_example']["test"];
|
||||||
commonFooter();
|
commonFooter();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user