Fix CS (from phpcbf)

This commit is contained in:
Johan Cwiklinski
2017-02-08 15:42:19 +01:00
committed by Johan Cwiklinski
parent 0900bde1c9
commit 46a15511a2
24 changed files with 132 additions and 154 deletions

View File

@ -36,4 +36,3 @@ include ('../../../inc/includes.php');
$dropdown = new PluginExampleDeviceCamera();
include (GLPI_ROOT . "/front/dropdown.common.form.php");
?>

View File

@ -36,4 +36,3 @@ include ('../../../inc/includes.php');
$dropdown = new PluginExampleDeviceCamera();
include (GLPI_ROOT . "/front/dropdown.common.php");
?>

View File

@ -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");
?>

View File

@ -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");
?>

View File

@ -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();
?>

View File

@ -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();
?>

View File

@ -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();
}
?>

View File

@ -38,4 +38,3 @@ include ('../../../inc/includes.php');
$rulecollection = new PluginExampleRuleTestCollection();
include (GLPI_ROOT . "/front/rule.common.form.php");
?>

View File

@ -38,4 +38,3 @@ include ('../../../inc/includes.php');
$rulecollection = new PluginExampleRuleTestCollection();
include (GLPI_ROOT . "/front/rule.common.php");
?>