<?php
- if(! x($a->page,'nav'))
+ if(!(x($a->page,'nav')))
$a->page['nav'] = '';
$a->page['nav'] .= '<div id="panel" style="display: none;"></div>' ;
+ $a->page['nav'] .= '<div id="site-location">' . substr($a->get_baseurl(),strpos($a->get_baseurl(),'//') + 2 ) . '</div>';
if(local_user()) {
$a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n";
}
$banner = get_config('system','banner');
+
if($banner === false)
- $banner = '<img src="images/ff-32.jpg" alt="logo" /> Friendika';
+ $banner .= '<a href="http://friendika.com"><img id="logo-img" src="images/ff-32.jpg" alt="logo" /></a><span id="logo-text"><a href="http://friendika.com">Friendika</a></span>';
+
$a->page['nav'] .= '<span id="banner">' . $banner . '</span>';