X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=972a6248c1defca27b3aa9ac9f0eb50d8bd72def;hb=37fccee503341ce1363e57cc81d465ef224e702d;hp=3d27be13be819bf8e1c4dd66a1da260501200f50;hpb=d2a593b4a03442ce16c6227cb29d79b496c04d2d;p=friendica.git diff --git a/include/nav.php b/include/nav.php index 3d27be13be..972a6248c1 100644 --- a/include/nav.php +++ b/include/nav.php @@ -26,7 +26,7 @@ function nav(&$a) { $tpl = get_markup_template('nav.tpl'); $a->page['nav'] .= replace_macros($tpl, array( - '$baseurl' => $a->get_baseurl(), + '$baseurl' => $a->get_baseurl(), '$langselector' => lang_selector(), '$sitelocation' => $nav_info['sitelocation'], '$nav' => $nav_info['nav'], @@ -118,10 +118,18 @@ function nav_info(&$a) { $nav['search'] = array('search', t('Search'), "", t('Search site content')); + $nav['searchoption'] = array( + t("Full Text"), + t("Tags"), + t("Contacts")); + + if (get_config('system','poco_local_search')) + $nav['searchoption'][] = t("Forums"); + $gdirpath = 'directory'; if(strlen(get_config('system','singleuser'))) { - $gdir = dirname(get_config('system','directory_submit_url')); + $gdir = get_config('system','directory'); if(strlen($gdir)) $gdirpath = $gdir; } @@ -130,6 +138,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')); + $nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory')); $nav['about'] = Array('friendica', t('Information'), "", t('Information about this friendica instance'));