diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-10 13:29:56 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-10 13:29:56 +0200 |
commit | 8d8b39ac675851145e4921507313fae3133f2fa0 (patch) | |
tree | 5a88353cbe1cfd986c2c734a520da3e46a7a7e93 | |
parent | e76db947b6f987dedb4a5ccf92df583da3ef05e1 (diff) |
glpi-ocsinventoryng: missing patch
-rw-r--r-- | glpi-ocsinventoryng-bug5359.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/glpi-ocsinventoryng-bug5359.patch b/glpi-ocsinventoryng-bug5359.patch new file mode 100644 index 0000000..91edf24 --- /dev/null +++ b/glpi-ocsinventoryng-bug5359.patch @@ -0,0 +1,34 @@ +Index: trunk/front/config.form.php +=================================================================== +--- trunk/front/config.form.php (révision 523) ++++ trunk/front/config.form.php (révision 524) +@@ -47,7 +47,7 @@ + if ($plugin->isActivated("ocsinventoryng")) { + Html::header(__("Automatic synchronization's configuration", 'ocsinventoryng'), '', "tools", "pluginocsinventoryngmenu", "config"); + +- $config->showForm($_SERVER['PHP_SELF']); ++ $config->display(array('id' => 1)); + } else { + Html::header(__('Setup'), '', "tools", "pluginocsinventoryngmenu", "config"); + echo "<div class='center'><br><br>"; +Index: trunk/inc/config.class.php +=================================================================== +--- trunk/inc/config.class.php (révision 523) ++++ trunk/inc/config.class.php (révision 524) +@@ -41,7 +41,7 @@ + switch ($item->getType()) { + case __CLASS__ : + //If connection to the OCS DB is ok, and all rights are ok too +- return array('1' => self::getTypeName()); ++ return array('1' => __('Check OCSNG import script', 'ocsinventoryng')); + + } + } +@@ -65,6 +65,7 @@ + + $ong = array(); + $this->addDefaultFormTab($ong); ++ $this->addStandardTab(__CLASS__, $ong, $options); + return $ong; + } + |