Skip to content
Snippets Groups Projects
Commit 6bc7d79b authored by hahn's avatar hahn
Browse files

- added: build branches

- changed: data dirs
WARNING: deployment requires manual changes!
ALPHA: 
- settings, roles
parent bd0dc443
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,7 @@ if (isset($_SERVER) && is_array($_SERVER) && array_key_exists("REQUEST_URI", $_S
array_shift($aTmp);
array_shift($aTmp);
if (
count($aTmp)
&& $aTmp[count($aTmp) - 1]
&& $aTmp[count($aTmp) - 1][0] == "?"
count($aTmp) && $aTmp[count($aTmp) - 1] && $aTmp[count($aTmp) - 1][0] == "?"
) {
array_pop($aTmp);
}
......@@ -102,6 +100,7 @@ function aPrjHome($sClass = "btn") {
$oPrj = new project($aParams["prj"]);
return '<a href="/deployment/' . $aParams["prj"] . '/" class="' . $sClass . '"><i class="icon-book"></i> ' . t("menu-project-home") . ' <strong>' . $oPrj->getLabel() . '</strong></a>';
}
/**
* get go top link as button
* @return string
......@@ -110,7 +109,6 @@ function aGotop($sClass = "scroll-link btn") {
return '<a href="#top" class="' . $sClass . '" title="' . t("gotop") . '"><i class="icon-eject"></i> </a> ';
}
/**
* auto generate upper part of the page with header and navigation
* @global type $aParams
......@@ -142,7 +140,8 @@ function getTopArea() {
<ul class="nav">
<li class="dropdown';
if (!array_key_exists("prj", $aParams))$sReturn.=' active';
if (!array_key_exists("prj", $aParams))
$sReturn.=' active';
$sReturn.='">' . str_replace('</a>', ' <b class="caret"></b></a>', aHome("")) . '
<ul class="dropdown-menu">
<li><a href="' . $sBaseUrl . 'all/setup/">' . t("menu-settings") . '</a></li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment