aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-19 19:55:03 -0800
committerFriendika <info@friendika.com>2010-12-19 19:55:03 -0800
commitb9ca44678d572bfcb2714fb536890fd8ee9e99b1 (patch)
tree3d0318fc5d53ea21305d32120a5485c63a75eaa0
parent2d9718fee9f5c07fe8098b892f9b096fcc68c43e (diff)
downloadvolse-hubzilla-b9ca44678d572bfcb2714fb536890fd8ee9e99b1.tar.gz
volse-hubzilla-b9ca44678d572bfcb2714fb536890fd8ee9e99b1.tar.bz2
volse-hubzilla-b9ca44678d572bfcb2714fb536890fd8ee9e99b1.zip
match the documentation
-rw-r--r--include/profile_selectors.php2
-rw-r--r--mod/directory.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/profile_selectors.php b/include/profile_selectors.php
index f4b30f211..92579f64a 100644
--- a/include/profile_selectors.php
+++ b/include/profile_selectors.php
@@ -16,7 +16,7 @@ function gender_selector($current="",$suffix="") {
function sexpref_selector($current="",$suffix="") {
$o = '';
- $select = array('', t('Males'), t('Females'), t('No Preference'), t('Bisexual'), t('Autosexual'), t('Abstinent'), t('Virgin'), t('Deviant'), t('Fetish'), t('Oodles'), t('Nonsexual'));
+ $select = array('', t('Males'), t('Females'), t('Gay'), t('Lesbian'), t('No Preference'), t('Bisexual'), t('Autosexual'), t('Abstinent'), t('Virgin'), t('Deviant'), t('Fetish'), t('Oodles'), t('Nonsexual'));
$o .= "<select name=\"sexual$suffix\" id=\"sexual-select$suffix\" size=\"1\" >";
foreach($select as $selection) {
diff --git a/mod/directory.php b/mod/directory.php
index 449c89174..49aac657c 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -18,7 +18,7 @@ function directory_content(&$a) {
if(x($a->data,'search'))
$search = notags(trim($a->data['search']));
else
- $search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : '');
+ $search = ((x($_GET,'search')) ? notags(trim(rawurldecode($_GET['search']))) : '');
$tpl = load_view_file('view/directory_header.tpl');