mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Fix CS (from phpcbf)
This commit is contained in:

committed by
Johan Cwiklinski

parent
0900bde1c9
commit
46a15511a2
@ -36,4 +36,3 @@ include ('../../../inc/includes.php');
|
||||
|
||||
$dropdown = new PluginExampleDeviceCamera();
|
||||
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
||||
?>
|
@ -36,4 +36,3 @@ include ('../../../inc/includes.php');
|
||||
|
||||
$dropdown = new PluginExampleDeviceCamera();
|
||||
include (GLPI_ROOT . "/front/dropdown.common.php");
|
||||
?>
|
||||
|
@ -35,8 +35,7 @@
|
||||
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
Plugin::load('example',true);
|
||||
Plugin::load('example', true);
|
||||
|
||||
$dropdown = new PluginExampleDropdown();
|
||||
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
||||
?>
|
@ -35,8 +35,7 @@
|
||||
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
Plugin::load('example',true);
|
||||
Plugin::load('example', true);
|
||||
|
||||
$dropdown = new PluginExampleDropdown();
|
||||
include (GLPI_ROOT . "/front/dropdown.common.php");
|
||||
?>
|
||||
|
@ -35,7 +35,7 @@
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'],"plugins","pluginexampleexample","");
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", "pluginexampleexample", "");
|
||||
} else {
|
||||
Html::helpHeader("TITRE", $_SERVER['PHP_SELF']);
|
||||
}
|
||||
@ -44,4 +44,3 @@ $example = new PluginExampleExample();
|
||||
$example->display($_GET);
|
||||
|
||||
Html::footer();
|
||||
?>
|
@ -35,7 +35,7 @@
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'],"plugins","pluginexampleexample","");
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", "pluginexampleexample", "");
|
||||
} else {
|
||||
Html::helpHeader("TITRE", $_SERVER['PHP_SELF']);
|
||||
}
|
||||
@ -46,4 +46,3 @@ if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||
Search::show('PluginExampleExample');
|
||||
|
||||
Html::footer();
|
||||
?>
|
@ -38,17 +38,17 @@ if (isset($_GET["popup"])) {
|
||||
if (isset($_SESSION["glpipopup"]["name"])) {
|
||||
switch ($_SESSION["glpipopup"]["name"]) {
|
||||
case "test_rule" :
|
||||
Html::popHeader(__('Test'),$_SERVER['PHP_SELF']);
|
||||
Html::popHeader(__('Test'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.test.php";
|
||||
break;
|
||||
|
||||
case "test_all_rules" :
|
||||
Html::popHeader(__('Test rules engine'),$_SERVER['PHP_SELF']);
|
||||
Html::popHeader(__('Test rules engine'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rulesengine.test.php";
|
||||
break;
|
||||
|
||||
case "show_cache" :
|
||||
Html::popHeader(__('Cache information'),$_SERVER['PHP_SELF']);
|
||||
Html::popHeader(__('Cache information'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.cache.php";
|
||||
break;
|
||||
}
|
||||
@ -56,4 +56,3 @@ if (isset($_SESSION["glpipopup"]["name"])) {
|
||||
echo "</div>";
|
||||
Html::popFooter();
|
||||
}
|
||||
?>
|
@ -38,4 +38,3 @@ include ('../../../inc/includes.php');
|
||||
$rulecollection = new PluginExampleRuleTestCollection();
|
||||
|
||||
include (GLPI_ROOT . "/front/rule.common.form.php");
|
||||
?>
|
||||
|
@ -38,4 +38,3 @@ include ('../../../inc/includes.php');
|
||||
$rulecollection = new PluginExampleRuleTestCollection();
|
||||
|
||||
include (GLPI_ROOT . "/front/rule.common.php");
|
||||
?>
|
||||
|
Reference in New Issue
Block a user