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

@ -47,4 +47,3 @@ Plugin::load('example');
Html::header("TITRE", $_SERVER['PHP_SELF'], "config", "plugins");
_e("This is the plugin config page", 'example');
Html::footer();
?>

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

@ -39,4 +39,3 @@ Plugin::load('example',true);
$dropdown = new PluginExampleDropdown();
include (GLPI_ROOT . "/front/dropdown.common.form.php");
?>

View File

@ -39,4 +39,3 @@ Plugin::load('example',true);
$dropdown = new PluginExampleDropdown();
include (GLPI_ROOT . "/front/dropdown.common.php");
?>

View File

@ -44,4 +44,3 @@ $example = new PluginExampleExample();
$example->display($_GET);
Html::footer();
?>

View File

@ -46,4 +46,3 @@ if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
Search::show('PluginExampleExample');
Html::footer();
?>

View File

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

View File

@ -606,9 +606,9 @@ function plugin_example_postinit() {
global $CFG_GLPI;
// All plugins are initialized, so all types are registered
foreach (Infocom::getItemtypesThatCanHave() as $type) {
//foreach (Infocom::getItemtypesThatCanHave() as $type) {
// do something
}
//}
}

View File

@ -99,4 +99,3 @@ class PluginExampleChild extends CommonDBChild {
}
}
?>

View File

@ -66,7 +66,6 @@ class PluginExampleConfig extends CommonDBTM {
Dropdown::showYesNo("configuration", $my_config['configuration']);
echo "</td></tr>";
echo "<tr class='tab_bg_2'>";
echo "<td colspan='4' class='center'>";
echo "<input type='submit' name='update' class='submit' value=\""._sx('button', 'Save')."\">";
@ -85,4 +84,3 @@ class PluginExampleConfig extends CommonDBTM {
}
}
?>

View File

@ -46,4 +46,3 @@ class PluginExampleDeviceCamera extends CommonDevice {
}
}
?>

View File

@ -44,4 +44,3 @@ class PluginExampleDropdown extends CommonDropdown {
return __('Plugin Example Dropdowns', 'example');
}
}
?>

View File

@ -479,9 +479,7 @@ class PluginExampleExample extends CommonDBTM {
return array($link);
}
return parent::generateLinkContents($link, $item);
}
}
?>

View File

@ -49,4 +49,3 @@ class PluginExampleItem_DeviceCamera extends Item_Devices {
static protected $notable = false;
}
?>

View File

@ -44,4 +44,3 @@ class PluginExampleNotificationTargetExample extends NotificationTarget {
$this->datas['##example.name##'] = __('Example', 'example');
}
}
?>

View File

@ -80,4 +80,3 @@ class PluginExampleRuleTest extends Rule {
return $actions;
}
}
?>

View File

@ -47,4 +47,3 @@ class PluginExampleRuleTestCollection extends RuleCollection {
return 'Rulesengine test';
}
}
?>

View File

@ -155,6 +155,7 @@ class PluginExampleShowtabitem {
}
} else {
// here we are going to view a Solution
return;
}
}
@ -189,6 +190,7 @@ class PluginExampleShowtabitem {
}
} else {
// here we are going to view a Solution
return;
}
}

View File

@ -46,4 +46,3 @@ Html::header("TITRE",$_SERVER['PHP_SELF'],"plugins");
echo "This is the plugin report page";
Html::footer();
?>

View File

@ -265,4 +265,3 @@ function plugin_example_check_config($verbose = false) {
}
return false;
}
?>

View File

@ -46,4 +46,3 @@ Html::header("TITLE",$_SERVER['PHP_SELF'],"plugins");
echo "This is the plugin stat page";
Html::footer();
?>