Clicking on home with multidatabase allow to stay in current database. re #40

This commit is contained in:
Sébastien Lucas 2013-04-17 14:12:10 +02:00
parent 89c353dd07
commit 56516960ce

View file

@ -160,7 +160,7 @@
<div class="container">
<div class="head">
<div class="headleft">
<a href="<?php echo $_SERVER["SCRIPT_NAME"] ?>">
<a href="<?php echo $_SERVER["SCRIPT_NAME"]; if ($page != Base::PAGE_INDEX && !is_null ($database)) echo "?" . addURLParameter ("", DB, $database); ?>">
<img src="<?php echo getUrlWithVersion("images/home.png") ?>" alt="Home" />
</a>
</div>