diff --git a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php index 0da3d639f11c08098e27dcf058505026e858ae4e..a3e5e23d337de8baf15d894a1c51a4005a88c172 100644 --- a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php +++ b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php @@ -425,6 +425,9 @@ $("label[for='form_data_profile_dob_month']").html('Birthday <span class="helper">Will only be visible to your friends.</span>'); $("label[for='form_data_profile_dob_day']").remove(); $("label[for='form_data_profile_dob_year']").remove(); + + $("label[for='form_data_profile_attended_from']").html('Years Attended UNL <span class="helper">Current students: use your expected graduation year.</span>'); + $("label[for='form_data_profile_attended_to']").before(' to ').remove(); /********* Move Fields Around */ $("select[name='form_data_profile_state']").insertAfter($("input[name='form_data_profile_city']")); @@ -480,7 +483,11 @@ } }); $("p.form-field-access").remove(); - + + /********* Add some style */ + $("#profileEditor > fieldset").prepend('<legend>Put Yourself on the Map</legend>'); + $("input[name='form_data_profile_homecity']").parent().css({'border-top':'1px solid #D5D4D4','margin-top':'10px'}); + /********** Display Form */ $("#formloading").remove(); $("#profileEditor").show(); diff --git a/plugins/unl_theme/views/default/page_elements/header.php b/plugins/unl_theme/views/default/page_elements/header.php index 7d37ca802a61aec6c84290e95419f7eca074e6a3..612fca7adb9fc3c9aee6009a721777bf25630334 100644 --- a/plugins/unl_theme/views/default/page_elements/header.php +++ b/plugins/unl_theme/views/default/page_elements/header.php @@ -71,7 +71,8 @@ echo elgg_view('metatags',$vars); } input[name=form_data_profile_city], select[name=form_data_profile_state], select[name=form_data_profile_country], input[name=form_data_profile_homecity], select[name=form_data_profile_homestate], select[name=form_data_profile_homecountry], - select[name=form_data_profile_dob_month], select[name=form_data_profile_dob_day], select[name=form_data_profile_dob_year] { + select[name=form_data_profile_dob_month], select[name=form_data_profile_dob_day], select[name=form_data_profile_dob_year], + select[name=form_data_profile_attended_from], select[name=form_data_profile_attended_to] { width: auto !important; margin-right: 4px; }