https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7c5dbce
)
Navbar is kind of working...
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 23:35:48 +0000
(23:35 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 23:35:48 +0000
(23:35 +0000)
includes/controller.php
patch
|
blob
|
history
diff --git
a/includes/controller.php
b/includes/controller.php
index 0a2d475d2513048441b63958e643ec93f67ed087..ceed0e542a8168af0969bbf846814250868f0e37 100644
(file)
--- a/
includes/controller.php
+++ b/
includes/controller.php
@@
-218,10
+218,18
@@
class Controller
$temp = preg_split('#/#', $this->fullpath, -1, PREG_SPLIT_NO_EMPTY);
$count = sizeof($temp) - 1;
$temp = preg_split('#/#', $this->fullpath, -1, PREG_SPLIT_NO_EMPTY);
$count = sizeof($temp) - 1;
+ $donerepos = false;
+
foreach ($temp AS $val => $item)
{
foreach ($temp AS $val => $item)
{
- $itembit = $item;
- $itembit .= (($count != $val OR $this->cachev->isdir($itembit)) ? '/' : '');
+ if ($donerepos != false)
+ {
+ $itembit .= $item;
+ $this->registry->debug($item . " > " . $itembit);
+ $itembit .= (($count != $val OR $this->cachev->isdir($itembit)) ? '/' : '');
+ }
+
+ $donerepos = true;
$html .= '<a href="' . $this->href_struct('browse.php' . $this->revstr, ($val == 0 ? '' : $itembit)) . '">' . $item . '</a>'. ($count != $val ? ' / ' : '');
}
$html .= '<a href="' . $this->href_struct('browse.php' . $this->revstr, ($val == 0 ? '' : $itembit)) . '">' . $item . '</a>'. ($count != $val ? ' / ' : '');
}