- if((x($profile,'address') == 1)
- || (x($profile,'locality') == 1)
- || (x($profile,'region') == 1)
- || (x($profile,'postal-code') == 1)
- || (x($profile,'country-name') == 1))
- $location = L10n::t('Location:');
-
- $gender = ((x($profile,'gender') == 1) ? L10n::t('Gender:') : False);
-
- $marital = ((x($profile,'marital') == 1) ? L10n::t('Status:') : False);
-
- $homepage = ((x($profile,'homepage') == 1) ? L10n::t('Homepage:') : False);
+ if ((x($profile, 'address') == 1)
+ || (x($profile, 'locality') == 1)
+ || (x($profile, 'region') == 1)
+ || (x($profile, 'postal-code') == 1)
+ || (x($profile, 'country-name') == 1)
+ ) {
+ $location = L10n::t('Location:');
+ }