]> git.mxchange.org Git - friendica.git/commitdiff
match the documentation
authorFriendika <info@friendika.com>
Mon, 20 Dec 2010 03:55:03 +0000 (19:55 -0800)
committerFriendika <info@friendika.com>
Mon, 20 Dec 2010 03:55:03 +0000 (19:55 -0800)
include/profile_selectors.php
mod/directory.php

index f4b30f211877f1dbc55a6735024980aab783f58f..92579f64aa8868e427622e069e9e34be00fabb66 100644 (file)
@@ -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) {
index 449c89174def401854fd7f5a78ffd0f8a54f5b21..49aac657ce45e9f0cf50f2afea49ef7f876345d7 100644 (file)
@@ -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');