From: Florent Bruneau Date: Fri, 4 Jul 2008 20:01:31 +0000 (+0200) Subject: Rename the branches images to avoid confusion... and to support case X-Git-Tag: 1.8.1~5 X-Git-Url: http://git.polytechnique.org/?p=banana.git;a=commitdiff_plain;h=fdee5f352e1a08e3003a9b847236816ebe7cc51a Rename the branches images to avoid confusion... and to support case insensitive file systems (HFS sucks) Signed-off-by: Florent Bruneau --- 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 0000000..f66bc3c Binary files /dev/null and b/img/a2.gif differ diff --git a/img/a2r.gif b/img/a2r.gif new file mode 100644 index 0000000..d767dae Binary files /dev/null and b/img/a2r.gif differ diff --git a/img/f2.gif b/img/f2.gif deleted file mode 100644 index a056c87..0000000 Binary files a/img/f2.gif and /dev/null differ diff --git a/img/f2r.gif b/img/f2r.gif deleted file mode 100644 index dc6048b..0000000 Binary files a/img/f2r.gif and /dev/null differ 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 f66bc3c..a056c87 100644 Binary files a/img/t2.gif and b/img/t2.gif differ diff --git a/img/t2r.gif b/img/t2r.gif index d767dae..dc6048b 100644 Binary files a/img/t2r.gif and b/img/t2r.gif differ