X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=435e892d91a5131658803b90e5da658b2c6fb86d;hb=0cd9db9cb7f4c96f597e37590a536eaae123238d;hp=602bcd83ba9ffb38069f3fe758d05f4cc84fbdb1;hpb=1f58bcc114928a5a3cd97bd0de34a5aa7d585931;p=friendica.git diff --git a/include/nav.php b/include/nav.php index 602bcd83ba..435e892d91 100644 --- a/include/nav.php +++ b/include/nav.php @@ -10,7 +10,7 @@ function nav(App $a) { * */ - if(!(x($a->page,'nav'))) + if (!(x($a->page,'nav'))) $a->page['nav'] = ''; $a->page['htmlhead'] .= replace_macros(get_markup_template('nav_head.tpl'), array()); @@ -121,7 +121,7 @@ function nav_info(App $a) $nav['apps'] = array('apps', t('Apps'), '', t('Addon applications, utilities, games')); } - if (local_user() OR !get_config('system', 'local_search')) { + if (local_user() || !get_config('system', 'local_search')) { $nav['search'] = array('search', t('Search'), '', t('Search site content')); $nav['searchoption'] = array( @@ -138,7 +138,7 @@ function nav_info(App $a) if (strlen(get_config('system', 'singleuser'))) { $gdir = get_config('system', 'directory'); - if(strlen($gdir)) { + if (strlen($gdir)) { $gdirpath = zrl($gdir, true); } } elseif (get_config('system', 'community_page_style') == CP_USERS_ON_SERVER) {