[dev] [patch] tree graphics fix

Vilius Sumskas vilius at lnk.lt
Wed Sep 22 05:48:01 PDT 2004


Hello,

this patch fixes broken admin/datatree.php tree graphics.

-- 
   Vilius
-------------- next part --------------
Index: html.php
===================================================================
RCS file: /repository/framework/Tree/Tree/html.php,v
retrieving revision 1.33
diff -u -r1.33 html.php
--- html.php	9 Sep 2004 16:05:00 -0000	1.33
+++ html.php	22 Sep 2004 12:27:42 -0000
@@ -93,7 +93,7 @@
     {
         parent::Horde_Tree($tree_name, $params);
 
-        $this->_img_dir = $GLOBALS['registry']->getParam('graphics', 'horde') . '/tree';
+        $this->_img_dir = $GLOBALS['registry']->getParam('graphics', 'horde') . '/tree/';
     }
 
     /**
-------------- next part --------------
Index: tree.js
===================================================================
RCS file: /repository/horde/templates/javascript/tree.js,v
retrieving revision 1.40
diff -u -r1.40 tree.js
--- tree.js	16 Sep 2004 02:04:50 -0000	1.40
+++ tree.js	22 Sep 2004 12:29:09 -0000
@@ -21,7 +21,7 @@
     this._instanceName = instanceName;
 
     /* Image variables. */
-    this.imgDir         = '<?php echo $GLOBALS['registry']->getParam('graphics', 'horde') . '/tree'; ?>';
+    this.imgDir         = '<?php echo $GLOBALS['registry']->getParam('graphics', 'horde') . '/tree/'; ?>';
     this.imgLine        = 'line.gif';
     this.imgBlank       = 'blank.gif';
     this.imgJoin        = 'join.gif';


More information about the dev mailing list