From d3290a2f05f1f68834b1a449892f9ea057079f2f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Jun 2012 20:26:29 +0200 Subject: reorg repo --- changeset_r322.diff | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 changeset_r322.diff (limited to 'changeset_r322.diff') 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; + } + -- cgit