]> git.mxchange.org Git - friendica.git/blobdiff - include/profile_selectors.php
Parameter should fit ...
[friendica.git] / include / profile_selectors.php
index ad47c0ba6c677a762506a1fef50627b9baba3c0a..af6c0d96c4f6373b109f2f382da601b38771ef06 100644 (file)
@@ -8,7 +8,7 @@ function gender_selector($current="",$suffix="") {
        call_hooks('gender_selector', $select);
 
        $o .= "<select name=\"gender$suffix\" id=\"gender-select$suffix\" size=\"1\" >";
-       foreach($select as $selection) {
+       foreach ($select as $selection) {
                if ($selection !== 'NOTRANSLATION') {
                        $selected = (($selection == $current) ? ' selected="selected" ' : '');
                        $o .= "<option value=\"$selection\" $selected >$selection</option>";
@@ -26,7 +26,7 @@ function sexpref_selector($current="",$suffix="") {
        call_hooks('sexpref_selector', $select);
 
        $o .= "<select name=\"sexual$suffix\" id=\"sexual-select$suffix\" size=\"1\" >";
-       foreach($select as $selection) {
+       foreach ($select as $selection) {
                if ($selection !== 'NOTRANSLATION') {
                        $selected = (($selection == $current) ? ' selected="selected" ' : '');
                        $o .= "<option value=\"$selection\" $selected >$selection</option>";
@@ -44,7 +44,7 @@ function marital_selector($current="",$suffix="") {
        call_hooks('marital_selector', $select);
 
        $o .= "<select name=\"marital\" id=\"marital-select\" size=\"1\" >";
-       foreach($select as $selection) {
+       foreach ($select as $selection) {
                if ($selection !== 'NOTRANSLATION') {
                        $selected = (($selection == $current) ? ' selected="selected" ' : '');
                        $o .= "<option value=\"$selection\" $selected >$selection</option>";