]> git.mxchange.org Git - friendica.git/commitdiff
Vier: No visible login border/no search and events without login
authorMichael Vogel <icarus@dabo.de>
Sun, 24 Apr 2016 19:45:06 +0000 (21:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000 (13:48 +0200)
include/nav.php
view/theme/vier/style.css

index 8428b6b0fdb654fc5f37986cb926bb3cd7ef2d33..2e8dd772c5158f997451ab4fe3d92cb7b9eff78b 100644 (file)
@@ -118,15 +118,17 @@ function nav_info(&$a) {
        if(count($a->apps)>0)
                $nav['apps'] = array('apps', t('Apps'), "", t('Addon applications, utilities, games'));
 
-       $nav['search'] = array('search', t('Search'), "", t('Search site content'));
+       if (local_user()) {
+               $nav['search'] = array('search', t('Search'), "", t('Search site content'));
 
-       $nav['searchoption'] = array(
-                                       t("Full Text"),
-                                       t("Tags"),
-                                       t("Contacts"));
+               $nav['searchoption'] = array(
+                                               t("Full Text"),
+                                               t("Tags"),
+                                               t("Contacts"));
 
-       if (get_config('system','poco_local_search'))
-               $nav['searchoption'][] = t("Forums");
+               if (get_config('system','poco_local_search'))
+                       $nav['searchoption'][] = t("Forums");
+       }
 
        $gdirpath = 'directory';
 
@@ -140,7 +142,8 @@ function nav_info(&$a) {
        elseif(get_config('system','community_page_style') == CP_GLOBAL_COMMUNITY)
                $nav['community'] = array('community', t('Community'), "", t('Conversations on the network'));
 
-       $nav['events'] = Array('events', t('Events'), "", t('Events and Calendar'));
+       if(local_user())
+               $nav['events'] = Array('events', t('Events'), "", t('Events and Calendar'));
 
        $nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory'));
 
index 47a0bfbabd9631090eecd4cc45d49449e5a8e38c..cf1bcb7f4a561a8050a9ac7e223597c011259f3b 100644 (file)
@@ -2378,6 +2378,11 @@ ul.tabs li .active, span.pager_current a {
 aside form {
   overflow-x: hidden;
 }
+aside form fieldset {
+  margin: 0px;
+  padding: 0px;
+  border: 0px none;
+}
 aside form .field label {
   float: left;
   width: 170px;