[dev] patch for menu tree

Vilius Šumskas vilius at lnk.lt
Thu Mar 10 00:12:24 PST 2005


This message is in MIME format.

--=_6f0d99zp5v28
Content-Type: text/plain;
	charset=UTF-8;
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hi,

this patch makes minus sign to appear in the menu correctly.

-- 
  Best Regards,

  Vilius

--=_6f0d99zp5v28
Content-Type: text/plain;
	charset=UTF-8;
	name="html.php.patch"
Content-Disposition: attachment;
	filename="html.php.patch"
Content-Transfer-Encoding: 7bit

Index: html.php
===================================================================
RCS file: /repository/framework/Tree/Tree/html.php,v
retrieving revision 1.54
diff -u -r1.54 html.php
--- html.php	5 Mar 2005 22:13:17 -0000	1.54
+++ html.php	10 Mar 2005 08:06:47 -0000
@@ -367,7 +367,7 @@
                 $alt = '   ';
             } elseif ($this->_nodes[$node_id]['expanded']) {
                 $img = $this->_img_minus_only;
-                $alt = '–';
+                $alt = '-';
             } else {
                 $img = $this->_img_plus_only;
                 $alt = '+';
@@ -412,7 +412,7 @@
                     $alt = '|-';
                 } elseif ($this->_nodes[$node_id]['expanded']) {
                     $img = $this->_img_minus;
-                    $alt = '–';
+                    $alt = '-';
                 } else {
                     $img = $this->_img_plus;
                     $alt = '+';
@@ -428,7 +428,7 @@
                     $alt = '`-';
                 } elseif ($this->_nodes[$node_id]['expanded']) {
                     $img = $this->_img_minus_bottom;
-                    $alt = '–';
+                    $alt = '-';
                 } else {
                     $img = $this->_img_plus_bottom;
                     $alt = '+';

--=_6f0d99zp5v28
Content-Type: text/plain;
	charset=UTF-8;
	name="tree.js.patch"
Content-Disposition: attachment;
	filename="tree.js.patch"
Content-Transfer-Encoding: 7bit

Index: tree.js
===================================================================
RCS file: /repository/horde/templates/javascript/tree.js,v
retrieving revision 1.67
diff -u -r1.67 tree.js
--- tree.js	5 Mar 2005 22:13:16 -0000	1.67
+++ tree.js	10 Mar 2005 08:08:58 -0000
@@ -378,7 +378,7 @@
             nodeToggle[1] = '   '
         } else if (this.nodes[nodeId]['expanded']) {
             nodeToggle[0] = this.imgMinusOnly;
-            nodeToggle[1] = '–';
+            nodeToggle[1] = '-';
         } else {
             nodeToggle[0] = this.imgPlusOnly;
             nodeToggle[1] = '+';
@@ -417,7 +417,7 @@
                 nodeToggle[1] = '|-';
             } else if (this.nodes[nodeId]['expanded']) {
                 nodeToggle[0] = this.imgMinus;
-                nodeToggle[1] = '–';
+                nodeToggle[1] = '-';
             } else {
                 nodeToggle[0] = this.imgPlus;
                 nodeToggle[1] = '+';
@@ -432,7 +432,7 @@
                 nodeToggle[1] = '`-';
             } else if (this.nodes[nodeId]['expanded']) {
                 nodeToggle[0] = this.imgMinusBottom;
-                nodeToggle[1] = '–';
+                nodeToggle[1] = '-';
             } else {
                 nodeToggle[0] = this.imgPlusBottom;
                 nodeToggle[1] = '+';

--=_6f0d99zp5v28--



More information about the dev mailing list