aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/nav.php b/include/nav.php
index dd2655e84..77cffc3ab 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -1,8 +1,5 @@
<?php
- if(! x($a->page,'nav'))
- $a->page['nav'] = '';
-
$a->page['nav'] .= '<div id="panel" style="display: none;"></div>' ;
if(local_user()) {
@@ -56,7 +53,9 @@
$banner = get_config('system','banner');
+
if($banner === false)
$banner .= '<img id="logo-img" src="images/ff-32.jpg" alt="logo" /><span id="logo-text">Friendika</span>';
+
$a->page['nav'] .= '<span id="banner">' . $banner . '</span>';