mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 15:08:42 +02:00
[example] fix function call order (thanks yllen)
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@67 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -42,9 +42,10 @@ include (GLPI_ROOT . "/inc/includes.php");
|
|||||||
|
|
||||||
checkRight("config","w");
|
checkRight("config","w");
|
||||||
|
|
||||||
commonHeader("TITRE",$_SERVER['PHP_SELF'],"plugins");
|
|
||||||
// To be available when plugin in not activated
|
// To be available when plugin in not activated
|
||||||
usePLugin('example');
|
usePLugin('example');
|
||||||
|
|
||||||
|
commonHeader("TITRE",$_SERVER['PHP_SELF'],"config","plugins");
|
||||||
echo "This is the plugin config page<br>";
|
echo "This is the plugin config page<br>";
|
||||||
echo $LANG['plugin_example']["test"];
|
echo $LANG['plugin_example']["test"];
|
||||||
commonFooter();
|
commonFooter();
|
||||||
|
Reference in New Issue
Block a user