summaryrefslogtreecommitdiffstats
path: root/changeset_r322.diff
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-13 20:26:29 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-13 20:26:29 +0200
commitd3290a2f05f1f68834b1a449892f9ea057079f2f (patch)
tree72cf75a4c4e58c09b652a5fcd563e44a0b22380f /changeset_r322.diff
reorg repo
Diffstat (limited to 'changeset_r322.diff')
-rw-r--r--changeset_r322.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/changeset_r322.diff b/changeset_r322.diff
new file mode 100644
index 0000000..f8ff15a
--- /dev/null
+++ b/changeset_r322.diff
@@ -0,0 +1,33 @@
+Index: trunk/inc/common.class.php
+===================================================================
+--- trunk/inc/common.class.php (revision 321)
++++ trunk/inc/common.class.php (revision 322)
+@@ -118,7 +118,7 @@
+ **/
+ function getTabNameForItem(CommonGLPI $item, $withtemplate=0) {
+ global $LANG;
+-
++
+ if(!isset($withtemplate) || empty($withtemplate)) {
+ return $LANG['plugin_pdf']['title'][1];
+ }
+@@ -310,6 +310,7 @@
+
+ if (!is_integer($itemtype)
+ && $itemtype != 'empty'
++ && method_exists($itemtype, "displayTabContentForPdf")
+ && ($obj = getItemForItemtype($itemtype))) {
+ if ($obj->displayTabContentForPdf($this->pdf, $this->obj, $tabnum)) {
+ continue;
+Index: trunk/inc/computer.class.php
+===================================================================
+--- trunk/inc/computer.class.php (revision 321)
++++ trunk/inc/computer.class.php (revision 322)
+@@ -44,6 +44,7 @@
+
+ $onglets = parent::defineAllTabs($options);
+ unset($onglets['OcsLink$1']); // TODO add method to print OCS
++ unset($onglets['Item_Problem$1']); // TODO add method to print linked Problems
+ return $onglets;
+ }
+