- '$multi_profiles' => feature_enabled(local_user(),'multi_profiles'),
- '$form_security_token' => get_form_security_token("profile_edit"),
- '$profile_clone_link' => 'profiles/clone/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_clone"),
- '$profile_drop_link' => 'profiles/drop/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_drop"),
- '$banner' => t('Edit Profile Details'),
- '$submit' => t('Submit'),
- '$profpic' => t('Change Profile Photo'),
- '$viewprof' => t('View this profile'),
- '$cr_prof' => t('Create a new profile using these settings'),
- '$cl_prof' => t('Clone this profile'),
- '$del_prof' => t('Delete this profile'),
- '$lbl_profname' => t('Profile Name:'),
- '$lbl_fullname' => t('Your Full Name:'),
- '$lbl_title' => t('Title/Description:'),
+ '$personal_account' => $personal_account,
+ '$detailled_profile' => $detailled_profile,
+
+ '$details' => array(
+ 'detailled_profile', //Name
+ t('Show more profile fields:'), //Label
+ $detailled_profile, //Value
+ '', //Help string
+ array(t('No'),t('Yes')) //Off - On strings
+ ),
+
+ '$multi_profiles' => feature_enabled(local_user(),'multi_profiles'),
+ '$form_security_token' => get_form_security_token("profile_edit"),
+ '$form_security_token_photo' => get_form_security_token("profile_photo"),
+ '$profile_clone_link' => ((feature_enabled(local_user(),'multi_profiles')) ? 'profiles/clone/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_clone") : ""),
+ '$profile_drop_link' => 'profiles/drop/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_drop"),
+
+ '$profile_action' => t('Profile Actions'),
+ '$banner' => t('Edit Profile Details'),
+ '$submit' => t('Submit'),
+ '$profpic' => t('Change Profile Photo'),
+ '$viewprof' => t('View this profile'),
+ '$editvis' => t('Edit visibility'),
+ '$cr_prof' => t('Create a new profile using these settings'),
+ '$cl_prof' => t('Clone this profile'),
+ '$del_prof' => t('Delete this profile'),
+
+ '$lbl_basic_section' => t('Basic information'),
+ '$lbl_picture_section' => t('Profile picture'),
+ '$lbl_location_section' => t('Location'),
+ '$lbl_preferences_section' => t('Preferences'),
+ '$lbl_status_section' => t('Status information'),
+ '$lbl_about_section' => t('Additional information'),
+ '$lbl_interests_section' => t('Interests'),
+ '$lbl_personal_section' => t('Personal'),
+ '$lbl_relation_section' => t('Relation'),
+ '$lbl_miscellaneous_section' => t('Miscellaneous'),
+
+ '$lbl_profile_photo' => t('Upload Profile Photo'),