diff options
author | friendica <info@friendica.com> | 2012-04-12 21:58:15 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-12 21:58:15 -0700 |
commit | af68d033e330e33571f95763b58833273d22d3a7 (patch) | |
tree | a27ae752515603eb7457b82d08c69c120c1ac4fa /mod/profiles.php | |
parent | 446e962bb85cf377d476734812318f6dc76bdfb2 (diff) | |
download | volse-hubzilla-af68d033e330e33571f95763b58833273d22d3a7.tar.gz volse-hubzilla-af68d033e330e33571f95763b58833273d22d3a7.tar.bz2 volse-hubzilla-af68d033e330e33571f95763b58833273d22d3a7.zip |
extended the "interesting" profile attributes
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 227fb0763..7a33a03e4 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -67,8 +67,11 @@ function profiles_post(&$a) { // linkify the relationship target if applicable + $withchanged = false; + if(strlen($with)) { if($with != strip_tags($orig[0]['with'])) { + $withchanged = true; $prf = ''; $lookup = $with; if(strpos($lookup,'@') === 0) @@ -138,10 +141,14 @@ function profiles_post(&$a) { $changes = array(); if($is_default) { if($marital != $orig[0]['marital']) $changes[] = '♥ ' . t('Marital Status'); + if($withchanged) $changes[] = '♥ ' . t('Romantic Partner'); if($work != $orig[0]['work']) $changes[] = t('Work/Employment'); if($religion != $orig[0]['religion']) $changes[] = t('Religion'); if($politic != $orig[0]['politic']) $changes[] = t('Political Views'); - + if($gender != $orig[0]['gender']) $changes[] = t('Gender'); + if($sexual != $orig[0]['sexual']) $changes[] = t('Sexual Preference'); + if($homepage != $orig[0]['homepage']) $changes[] = t('Homepage'); + if($interest != $orig[0]['interest']) $changes[] = t('Interests'); if($address != $orig[0]['address'] || $locality != $orig[0]['locality'] || $region != $orig[0]['region'] || $country_name != $orig[0]['country_name']) $changes[] = t('Location'); |