From 41bd1ab7a1d0b070abcca8e221c0fc6a7f75c182 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 9 Apr 2007 04:01:47 +0000 Subject: [PATCH] Added a link to the root of the repository in ConstructNavbar() --- includes/functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index cf35e0b..c159b23 100644 --- 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 = '[' . BSRegister::Get('input')->in['repos'] . ']: '; + if (empty($path)) { - return '/'; + return $html . '/'; } - $html = ''; $build = ''; foreach ($path AS $part) { -- 2.22.5