mirror of
https://github.com/friendica/friendica
synced 2025-09-06 06:39:27 +02:00
profile additions
This commit is contained in:
parent
970a2d4f1e
commit
44b1984136
6 changed files with 69 additions and 14 deletions
|
@ -25,6 +25,13 @@ $gender
|
|||
</div>
|
||||
<div id="profile-edit-gender-end"></div>
|
||||
|
||||
<div id="profile-edit-dob-wrapper" >
|
||||
<p id="birthday-description">Leave year blank to suppress age.</p>
|
||||
<label id="profile-edit-dob-label" for="dob-select" >Birthday: </label>
|
||||
<div id="profile-edit-dob" >
|
||||
$dob
|
||||
</div>
|
||||
<div id="profile-edit-dob-end"></div>
|
||||
|
||||
<div id="profile-edit-address-wrapper" >
|
||||
<label id="profile-edit-address-label" for="profile-edit-address" >Street Address: </label>
|
||||
|
@ -73,6 +80,14 @@ $marital
|
|||
</div>
|
||||
<div id="profile-edit-marital-end"></div>
|
||||
|
||||
<div id="profile-edit-sexual-wrapper" >
|
||||
<label id="profile-edit-sexual-label" for="sexual-select" >Sexual Preference: </label>
|
||||
$sexual
|
||||
</div>
|
||||
<div id="profile-edit-sexual-end"></div>
|
||||
|
||||
|
||||
|
||||
<div id="profile-edit-homepage-wrapper" >
|
||||
<label id="profile-edit-homepage-label" for="profile-edit-homepage" >Homepage URL: </label>
|
||||
<input type="text size="32" name="homepage" id="profile-edit-homepage" value="$homepage" />
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -278,16 +278,23 @@ input#dfrn-url {
|
|||
margin-left: 50px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#profile-edit-dob-hide-label {
|
||||
margin-left: 20px;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
|
||||
#profile-edit-profile-name-label,
|
||||
#profile-edit-name-label,
|
||||
#profile-edit-gender-label,
|
||||
#profile-edit-dob-label,
|
||||
#profile-edit-address-label,
|
||||
#profile-edit-locality-label,
|
||||
#profile-edit-region-label,
|
||||
#profile-edit-postal-code-label,
|
||||
#profile-edit-country-name-label,
|
||||
#profile-edit-marital-label,
|
||||
#profile-edit-sexual-label,
|
||||
#profile-edit-homepage-label {
|
||||
float: left;
|
||||
width: 175px;
|
||||
|
@ -296,12 +303,14 @@ input#dfrn-url {
|
|||
#profile-edit-profile-name,
|
||||
#profile-edit-name,
|
||||
#gender-select,
|
||||
#profile-edit-dob,
|
||||
#profile-edit-address,
|
||||
#profile-edit-locality,
|
||||
#profile-edit-region,
|
||||
#profile-edit-postal-code,
|
||||
#profile-edit-country-name,
|
||||
#marital-select,
|
||||
#sexual-select,
|
||||
#profile-in-dir-yes,
|
||||
#profile-in-dir-no {
|
||||
float: left;
|
||||
|
@ -322,12 +331,14 @@ input#dfrn-url {
|
|||
#profile-edit-profile-name-end,
|
||||
#profile-edit-name-end,
|
||||
#profile-edit-gender-end,
|
||||
#profile-edit-dob-end,
|
||||
#profile-edit-address-end,
|
||||
#profile-edit-locality-end,
|
||||
#profile-edit-region-end,
|
||||
#profile-edit-postal-code-end,
|
||||
#profile-edit-country-name-end,
|
||||
#profile-edit-marital-end,
|
||||
#profile-edit-sexual-end,
|
||||
#profile-edit-homepage-end,
|
||||
#profile-in-dir-break,
|
||||
#profile-in-dir-end {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue