mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Now you can set search options so that searching for contacts or forums isn't occult science anymore.
This commit is contained in:
parent
109620ae99
commit
3ff196f00d
6 changed files with 46 additions and 8 deletions
|
@ -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,6 +118,12 @@ function nav_info(&$a) {
|
|||
|
||||
$nav['search'] = array('search', t('Search'), "", t('Search site content'));
|
||||
|
||||
$nav['searchoption'] = array(
|
||||
t("Full Text"),
|
||||
t("Tags"),
|
||||
t("Contacts"),
|
||||
t("Forums"));
|
||||
|
||||
$gdirpath = 'directory';
|
||||
|
||||
if(strlen(get_config('system','singleuser'))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue