X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fprofile_selectors.php;h=8d29fd0998c608ce68a33976225c8b21130945cc;hb=12d9c46ec5ba0b0d13f62058e8db4f3d4910ce27;hp=d2f677e325bef916cdc543c5e9ad16bb21dc1a78;hpb=ae2aa744449f0e7161c5fae81773ae5defd3ad76;p=friendica.git diff --git a/include/profile_selectors.php b/include/profile_selectors.php index d2f677e325..8d29fd0998 100644 --- a/include/profile_selectors.php +++ b/include/profile_selectors.php @@ -5,9 +5,11 @@ function gender_selector($current="",$suffix="") { $o = ''; $select = array('', t('Male'), t('Female'), t('Currently Male'), t('Currently Female'), t('Mostly Male'), t('Mostly Female'), t('Transgender'), t('Intersex'), t('Transsexual'), t('Hermaphrodite'), t('Neuter'), t('Non-specific'), t('Other'), t('Undecided')); + call_hooks('gender_selector', $select); + $o .= ""; foreach($select as $selection) { - if($selection !== 'NOTRANSLATION')) { + if($selection !== 'NOTRANSLATION') { $selected = (($selection == $current) ? ' selected="selected" ' : ''); $o .= ""; } @@ -36,9 +41,11 @@ function marital_selector($current="",$suffix="") { $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') ); + call_hooks('marital_selector', $select); + $o .= "