From: Friendika <info@friendika.com>
Date: Thu, 23 Dec 2010 04:04:20 +0000 (-0800)
Subject: navigation aid: show server name on page
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e287014b98a4688fa2051fb03e8e9032b380dcb8;p=friendica.git

navigation aid: show server name on page
---

diff --git a/include/nav.php b/include/nav.php
index e41c4bcb9e..af0c58710d 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -5,6 +5,7 @@
 
 	$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";
 	}
diff --git a/view/theme/default/style.css b/view/theme/default/style.css
index de49f14d4c..f97b8f4c35 100644
--- a/view/theme/default/style.css
+++ b/view/theme/default/style.css
@@ -72,6 +72,14 @@ blockquote:before {
 	content: '>> ';
 }
 
+#site-location {
+	position: absolute;
+	right: 5px;
+	top: 3px;
+	color: white;
+	font-size: 60%;
+}
+
 .shiny {
 	border-color: orange !important;
 }