https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6ef7f
)
Added a link to the root of the repository in ConstructNavbar()
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 9 Apr 2007 04:01:47 +0000
(
04:01
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 9 Apr 2007 04:01:47 +0000
(
04:01
+0000)
includes/functions.php
patch
|
blob
|
history
diff --git
a/includes/functions.php
b/includes/functions.php
index cf35e0b474e821ce24075af63e52411fdcd2fb85..c159b2348ca8eb3139982528ec67e327190c3a2a 100644
(file)
--- a/
includes/functions.php
+++ b/
includes/functions.php
@@
-29,12
+29,14
@@
function ConstructNavbar()
{
$path = preg_split('#/#', BSRegister::Get('input')->in['path'], -1, PREG_SPLIT_NO_EMPTY);
+
+ $html = '[<a href="' . BSRegister::Get('webpath') . '/browse/' . BSRegister::Get('input')->in['repos'] . ':">' . BSRegister::Get('input')->in['repos'] . '</a>]: ';
+
if (empty($path))
{
- return '<strong>/</strong>';
+ return
$html .
'<strong>/</strong>';
}
- $html = '';
$build = '';
foreach ($path AS $part)
{