Vier: No visible login border/no search and events without login
This commit is contained in:
parent
e7c4d0bc50
commit
829e7ace06
|
@ -118,6 +118,7 @@ function nav_info(&$a) {
|
||||||
if(count($a->apps)>0)
|
if(count($a->apps)>0)
|
||||||
$nav['apps'] = array('apps', t('Apps'), "", t('Addon applications, utilities, games'));
|
$nav['apps'] = array('apps', t('Apps'), "", t('Addon applications, utilities, games'));
|
||||||
|
|
||||||
|
if (local_user()) {
|
||||||
$nav['search'] = array('search', t('Search'), "", t('Search site content'));
|
$nav['search'] = array('search', t('Search'), "", t('Search site content'));
|
||||||
|
|
||||||
$nav['searchoption'] = array(
|
$nav['searchoption'] = array(
|
||||||
|
@ -127,6 +128,7 @@ function nav_info(&$a) {
|
||||||
|
|
||||||
if (get_config('system','poco_local_search'))
|
if (get_config('system','poco_local_search'))
|
||||||
$nav['searchoption'][] = t("Forums");
|
$nav['searchoption'][] = t("Forums");
|
||||||
|
}
|
||||||
|
|
||||||
$gdirpath = 'directory';
|
$gdirpath = 'directory';
|
||||||
|
|
||||||
|
@ -140,6 +142,7 @@ function nav_info(&$a) {
|
||||||
elseif(get_config('system','community_page_style') == CP_GLOBAL_COMMUNITY)
|
elseif(get_config('system','community_page_style') == CP_GLOBAL_COMMUNITY)
|
||||||
$nav['community'] = array('community', t('Community'), "", t('Conversations on the network'));
|
$nav['community'] = array('community', t('Community'), "", t('Conversations on the network'));
|
||||||
|
|
||||||
|
if(local_user())
|
||||||
$nav['events'] = Array('events', t('Events'), "", t('Events and Calendar'));
|
$nav['events'] = Array('events', t('Events'), "", t('Events and Calendar'));
|
||||||
|
|
||||||
$nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory'));
|
$nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory'));
|
||||||
|
|
|
@ -2378,6 +2378,11 @@ ul.tabs li .active, span.pager_current a {
|
||||||
aside form {
|
aside form {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
aside form fieldset {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px none;
|
||||||
|
}
|
||||||
aside form .field label {
|
aside form .field label {
|
||||||
float: left;
|
float: left;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
|
|
Loading…
Reference in a new issue