X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fprofile_selectors.php;h=9e9dee0253facce2630bae59a36fbec672a6557e;hb=0fe832ef8aeafa1ddba793a8b084005cf070f1f4;hp=af6c0d96c4f6373b109f2f382da601b38771ef06;hpb=09851331a9dc8601919cd0c9200686b92843d235;p=friendica.git diff --git a/include/profile_selectors.php b/include/profile_selectors.php index af6c0d96c4..9e9dee0253 100644 --- a/include/profile_selectors.php +++ b/include/profile_selectors.php @@ -16,7 +16,7 @@ function gender_selector($current="",$suffix="") { } $o .= ''; return $o; -} +} function sexpref_selector($current="",$suffix="") { $o = ''; @@ -34,16 +34,17 @@ function sexpref_selector($current="",$suffix="") { } $o .= ''; return $o; -} +} -function marital_selector($current="",$suffix="") { +function marital_selector($current = "") +{ $o = ''; - $select = array('', t('Single'), t('Lonely'), t('Available'), t('Unavailable'), t('Has crush'), t('Infatuated'), t('Dating'), t('Unfaithful'), t('Sex Addict'), t('Friends'), t('Friends/Benefits'), t('Casual'), t('Engaged'), t('Married'), t('Imaginarily married'), t('Partners'), t('Cohabiting'), t('Common law'), t('Happy'), t('Not looking'), t('Swinger'), t('Betrayed'), t('Separated'), t('Unstable'), t('Divorced'), t('Imaginarily divorced'), t('Widowed'), t('Uncertain'), t('It\'s complicated'), t('Don\'t care'), t('Ask me') ); + $select = array('', t('Single'), t('Lonely'), t('Available'), t('Unavailable'), t('Has crush'), t('Infatuated'), t('Dating'), t('Unfaithful'), t('Sex Addict'), t('Friends'), t('Friends/Benefits'), t('Casual'), t('Engaged'), t('Married'), t('Imaginarily married'), t('Partners'), t('Cohabiting'), t('Common law'), t('Happy'), t('Not looking'), t('Swinger'), t('Betrayed'), t('Separated'), t('Unstable'), t('Divorced'), t('Imaginarily divorced'), t('Widowed'), t('Uncertain'), t('It\'s complicated'), t('Don\'t care'), t('Ask me')); call_hooks('marital_selector', $select); - $o .= "'; foreach ($select as $selection) { if ($selection !== 'NOTRANSLATION') { $selected = (($selection == $current) ? ' selected="selected" ' : ''); @@ -52,4 +53,4 @@ function marital_selector($current="",$suffix="") { } $o .= ''; return $o; -} +}