From fdee5f352e1a08e3003a9b847236816ebe7cc51a Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 4 Jul 2008 22:01:31 +0200 Subject: [PATCH] Rename the branches images to avoid confusion... and to support case insensitive file systems (HFS sucks) Signed-off-by: Florent Bruneau --- banana/tree.inc.php | 16 ++++++++-------- img/a2.gif | Bin 0 -> 115 bytes img/a2r.gif | Bin 0 -> 115 bytes img/f2.gif | Bin 121 -> 0 bytes img/f2r.gif | Bin 121 -> 0 bytes img/{h2.gif => m2.gif} | Bin img/{h2r.gif => m2r.gif} | Bin img/{T2.gif => p2.gif} | Bin img/{T2r.gif => p2r.gif} | Bin img/t2.gif | Bin 115 -> 121 bytes img/t2r.gif | Bin 115 -> 121 bytes 11 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 img/a2.gif create mode 100644 img/a2r.gif delete mode 100644 img/f2.gif delete mode 100644 img/f2r.gif rename img/{h2.gif => m2.gif} (100%) rename img/{h2r.gif => m2r.gif} (100%) rename img/{T2.gif => p2.gif} (100%) rename img/{T2r.gif => p2r.gif} (100%) diff --git a/banana/tree.inc.php b/banana/tree.inc.php index e19e6ab..703f200 100644 --- a/banana/tree.inc.php +++ b/banana/tree.inc.php @@ -100,16 +100,16 @@ class BananaTree if (!isset($t_e)) { $tree = array(); $t_e = Banana::$page->makeImg(Array('img' => 'e', 'alt' => ' ', 'height' => 18, 'width' => 14)); - $tree['+'] = array(Banana::$page->makeImg(Array('img' => 'T2', 'alt' => '-', 'height' => 18, 'width' => 14)), - Banana::$page->makeImg(Array('img' => 'T2r', 'alt' => '+', 'height' => 18, 'width' => 14))); - $tree['-'] = array(Banana::$page->makeImg(Array('img' => 'h2', 'alt' => '-', 'height' => 18, 'width' => 14)), - Banana::$page->makeImg(Array('img' => 'h2r', 'alt' => '-', 'height' => 18, 'width' => 14))); + $tree['+'] = array(Banana::$page->makeImg(Array('img' => 'p2', 'alt' => '-', 'height' => 18, 'width' => 14)), + Banana::$page->makeImg(Array('img' => 'p2r', 'alt' => '+', 'height' => 18, 'width' => 14))); + $tree['-'] = array(Banana::$page->makeImg(Array('img' => 'm2', 'alt' => '-', 'height' => 18, 'width' => 14)), + Banana::$page->makeImg(Array('img' => 'm2r', 'alt' => '-', 'height' => 18, 'width' => 14))); $tree['|'] = array(Banana::$page->makeImg(Array('img' => 'l2', 'alt' => '|', 'height' => 18, 'width' => 14)), Banana::$page->makeImg(Array('img' => 'l2r', 'alt' => '|', 'height' => 18, 'width' => 14))); - $tree['`'] = array(Banana::$page->makeImg(Array('img' => 't2', 'alt' => '`', 'height' => 18, 'width' => 14)), - Banana::$page->makeImg(Array('img' => 't2r', 'alt' => '`', 'height' => 18, 'width' => 14))); - $tree['t'] = array(Banana::$page->makeImg(Array('img' => 'f2', 'alt' => 't', 'height' => 18, 'width' => 14)), - Banana::$page->makeImg(Array('img' => 'f2r', 'alt' => 't', 'height' => 18, 'width' => 14))); + $tree['`'] = array(Banana::$page->makeImg(Array('img' => 'a2', 'alt' => '`', 'height' => 18, 'width' => 14)), + Banana::$page->makeImg(Array('img' => 'a2r', 'alt' => '`', 'height' => 18, 'width' => 14))); + $tree['t'] = array(Banana::$page->makeImg(Array('img' => 't2', 'alt' => 't', 'height' => 18, 'width' => 14)), + Banana::$page->makeImg(Array('img' => 't2r', 'alt' => 't', 'height' => 18, 'width' => 14))); } $text = '
'; foreach ($this->data as &$line) { diff --git a/img/a2.gif b/img/a2.gif new file mode 100644 index 0000000000000000000000000000000000000000..f66bc3cad31a8594b7292c8642288ec61847e347 GIT binary patch literal 115 zcmZ?wbhEHb!#LriIw%eUCJ$}zU ba*@ciTVYHuXKsCUeO*cJ{fc$*f(+IGl(8Ey literal 0 HcmV?d00001 diff --git a/img/a2r.gif b/img/a2r.gif new file mode 100644 index 0000000000000000000000000000000000000000..d767daed4e6c3229cccc62426ac7012749ce6db9 GIT binary patch literal 115 zcmZ?wbhEHb!gygF|+u6>T9>3=v bxkzN%tuUsSGq=9FzOE$qe#N?YK?Z98a*-Ms literal 0 HcmV?d00001 diff --git a/img/f2.gif b/img/f2.gif deleted file mode 100644 index a056c87610c08680cb723fa590dd19d8c92ce9ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmZ?wbhEHb95S^m)j=jF)>&J01jg%I{*Lx diff --git a/img/f2r.gif b/img/f2r.gif deleted file mode 100644 index dc6048bbdbbc9336d21d3becdc7da4ab2af66e44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 121 zcmZ?wbhEHbOk2KUt@MdWH*X)?%ys+g^jGHd%WV_%m>8@9<)kDd diff --git a/img/h2.gif b/img/m2.gif similarity index 100% rename from img/h2.gif rename to img/m2.gif diff --git a/img/h2r.gif b/img/m2r.gif similarity index 100% rename from img/h2r.gif rename to img/m2r.gif diff --git a/img/T2.gif b/img/p2.gif similarity index 100% rename from img/T2.gif rename to img/p2.gif diff --git a/img/T2r.gif b/img/p2r.gif similarity index 100% rename from img/T2r.gif rename to img/p2r.gif diff --git a/img/t2.gif b/img/t2.gif index f66bc3cad31a8594b7292c8642288ec61847e347..a056c87610c08680cb723fa590dd19d8c92ce9ef 100644 GIT binary patch delta 82 zcmV-Y0ImOXc^pScMmRZP4geAW^8hjb|Nn4saQOK6@bK_>czBT^9FZ^ukv$VBCJ@N^ o>b$o;%r(c}M_Hm2mZzw#8_1H`+s3mB+x3^~H=lPsU@igxJ26TpasU7T delta 67 zcmV-J0KETsa}!5NMmRZP4geAW^8hjb|Nn4saFHP#kuVLBJQO1!5XkxJyth8gHOJmZ ZS)vq{+ExPTnYHTIu5@kRc&=X&06U3q9bfczBT^9FZ^ukv$VBCJ@LO o>b$oG%r(c}M_Hm2mZzw#8_1H`+s3mB+x3^~H=lPsU@igxI|!O4S^xk5 delta 67 zcmV-J0KETsa}!5NMmRZP4geAW^8hjb|Nn4saFHP#kuVLBJQO1!5Xc$oytf9-HOJmZ ZS)vq{+ExPTnYHTIu5@kRc&=X&06S+-97q5F -- 2.1.4