diff options
author | friendica <info@friendica.com> | 2014-03-08 17:39:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-08 17:39:20 -0800 |
commit | bef416a2d122609cb43b046cfc4211421f4149fd (patch) | |
tree | 881b77eace3ffc18d3baf72d7d8b0066699c8a59 /include | |
parent | 20ef3aee722c1079f844e32405dcc39ff5e1215e (diff) | |
download | volse-hubzilla-bef416a2d122609cb43b046cfc4211421f4149fd.tar.gz volse-hubzilla-bef416a2d122609cb43b046cfc4211421f4149fd.tar.bz2 volse-hubzilla-bef416a2d122609cb43b046cfc4211421f4149fd.zip |
advanced search front-end
Diffstat (limited to 'include')
-rw-r--r-- | include/contact_widgets.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 482bbed78..865fda5f9 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -15,6 +15,8 @@ function findpeople_widget() { . '</div>' . $inv; } } + + $advanced_search = ((local_user() && get_pconfig(local_user(),'feature','expert')) ? true : false); return replace_macros(get_markup_template('peoplefind.tpl'),array( '$findpeople' => t('Find Channels'), @@ -26,6 +28,9 @@ function findpeople_widget() { '$similar' => '', // FIXME and uncomment when mod/match working // t('Similar Interests'), '$random' => t('Random Profile'), '$inv' => t('Invite Friends'), + '$advanced_search' => $advanced_search, + '$advanced_hint' => t('Exammple: name=fred and country=iceland'), + '$find_advanced' => t('Advanced Find'), '$loggedin' => local_user() )); |