aboutsummaryrefslogtreecommitdiffstats
path: root/view/profile_selectors.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-08 17:08:39 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-08 17:08:39 -0700
commit0bcd5522315649c8d4652b8bfaa9bec328b9d548 (patch)
tree1b15f4e0671964607277afd1190e6119d8898b24 /view/profile_selectors.php
parentc9d8211ae73332b6c4e91d82ba06275b92d7523a (diff)
downloadvolse-hubzilla-0bcd5522315649c8d4652b8bfaa9bec328b9d548.tar.gz
volse-hubzilla-0bcd5522315649c8d4652b8bfaa9bec328b9d548.tar.bz2
volse-hubzilla-0bcd5522315649c8d4652b8bfaa9bec328b9d548.zip
photo album finish, general cleanup begins
Diffstat (limited to 'view/profile_selectors.php')
-rw-r--r--view/profile_selectors.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/view/profile_selectors.php b/view/profile_selectors.php
index 902f6a1a5..03dd2aacd 100644
--- a/view/profile_selectors.php
+++ b/view/profile_selectors.php
@@ -2,7 +2,7 @@
function gender_selector($current="",$suffix="") {
- $select = array('','Male', 'Female', 'Transsexual', 'Hermaphrodite', 'Neuter', 'Other', 'Undecided');
+ $select = array('', t('Male'), t('Female'), t('Transsexual'), t('Hermaphrodite'), t('Neuter'), t('Other'), t('Undecided'));
$o .= "<select name=\"gender$suffix\" id=\"gender-select$suffix\" size=\"1\" >";
foreach($select as $selection) {
@@ -14,7 +14,7 @@ function gender_selector($current="",$suffix="") {
}
function sexpref_selector($current="",$suffix="") {
- $select = array('','Males', 'Females', 'Bisexual', 'Autosexual', 'Abstinent', 'Virgin', 'Nonsexual');
+ $select = array('', t('Males'), t('Females'), t('Bisexual'), t('Autosexual'), t('Abstinent'), t('Virgin'), t('Nonsexual'));
$o .= "<select name=\"sexual$suffix\" id=\"sexual-select$suffix\" size=\"1\" >";
foreach($select as $selection) {
@@ -27,7 +27,7 @@ function sexpref_selector($current="",$suffix="") {
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' );
+ $select = array('', t('Single'), t('Lonely'), t('Available'), t('Unavailable'), t('Dating'), t('Unfaithful'), t('Sex Addict'), t('Friends'), t('Friends/Benefits'), t('Casual'), t('Engaged'), t('Married'), t('Partners'), t('Cohabiting'), t('Happy'), t('Not Looking'), t('Swinger'), t('Betrayed'), t('Separated'), t('Unstable'), t('Divorced'), t('Widowed'), t('Uncertain'), t('Complicated'), t('Don\'t care'), t('Ask me') );
$o .= "<select name=\"marital[]\" id=\"marital-select\" multiple=\"multiple\" size=\"2\" >";
foreach($select as $selection) {
@@ -37,8 +37,3 @@ function marital_selector($current="",$suffix="") {
$o .= '</select>';
return $o;
}
-
-
-//function birthday_selector($current = '') {
-// if($current && (strlen($current)
-//} \ No newline at end of file