aboutsummaryrefslogtreecommitdiffstats
path: root/view/profile_selectors.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-10 07:09:57 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-10 07:09:57 -0700
commit44b19841360099cc3e78d1a3612f7aa23e2e6524 (patch)
treec6a9c69e6271862a4a8710ebddc6d8a0d6e76baa /view/profile_selectors.php
parent970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f (diff)
downloadvolse-hubzilla-44b19841360099cc3e78d1a3612f7aa23e2e6524.tar.gz
volse-hubzilla-44b19841360099cc3e78d1a3612f7aa23e2e6524.tar.bz2
volse-hubzilla-44b19841360099cc3e78d1a3612f7aa23e2e6524.zip
profile additions
Diffstat (limited to 'view/profile_selectors.php')
-rw-r--r--view/profile_selectors.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/view/profile_selectors.php b/view/profile_selectors.php
index c6e64403a..902f6a1a5 100644
--- a/view/profile_selectors.php
+++ b/view/profile_selectors.php
@@ -2,7 +2,7 @@
function gender_selector($current="",$suffix="") {
- $select = array('','Male','Female','Other');
+ $select = array('','Male', 'Female', 'Transsexual', 'Hermaphrodite', 'Neuter', 'Other', 'Undecided');
$o .= "<select name=\"gender$suffix\" id=\"gender-select$suffix\" size=\"1\" >";
foreach($select as $selection) {
@@ -13,6 +13,18 @@ function gender_selector($current="",$suffix="") {
return $o;
}
+function sexpref_selector($current="",$suffix="") {
+ $select = array('','Males', 'Females', 'Bisexual', 'Autosexual', 'Abstinent', 'Virgin', 'Nonsexual');
+
+ $o .= "<select name=\"sexual$suffix\" id=\"sexual-select$suffix\" size=\"1\" >";
+ foreach($select as $selection) {
+ $selected = (($selection == $current) ? ' selected="selected" ' : '');
+ $o .= "<option value=\"$selection\" $selected >$selection</option>";
+ }
+ $o .= '</select>';
+ return $o;
+}
+
function marital_selector($current="",$suffix="") {
$select = array('','Single', 'Lonely', 'Available', 'Unavailable', 'Dating', 'Unfaithful', 'Sex Addict', 'Friends', 'Friends/Benefits', 'Casual', 'Engaged', 'Married', 'Partners', 'Cohabiting', 'Happy', 'Not Looking', 'Swinger', 'Betrayed', 'Separated', 'Unstable', 'Divorced', 'Widowed', 'Uncertain', 'Complicated', 'Don\'t care', 'Ask me' );