diff --git a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php index d81350977a0a0d922eb29edda95c81c99cb9aa08..821511e57f64929848359ca47020fc1e763f442e 100644 --- a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php +++ b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php @@ -475,7 +475,7 @@ //$("body.fixed #maincontent textarea[name=form_data_profile_unl_impact]").parent().css({clear:"both",display:"block","margin-left":"150px"}).siblings("label").css("width","330px"); $("#formloading").remove(); - $("#maincontent form.cool").show(); + $("#profileEditor").show(); }); })(); </script> \ No newline at end of file diff --git a/plugins/unl_theme/views/default/page_elements/header.php b/plugins/unl_theme/views/default/page_elements/header.php index 4a99e513dccdc99a653946bbce57d899458e7deb..aff1f6444eae3fd45b77996a1df0f3321750848c 100644 --- a/plugins/unl_theme/views/default/page_elements/header.php +++ b/plugins/unl_theme/views/default/page_elements/header.php @@ -72,11 +72,14 @@ if (preg_match('/friend/', $vars['title'])) { // if on a friends page, interst l ?> <style type="text/css"> - - #maincontent form.cool input[name$="city"] { + #profileEditor input[name$="city"] { text-transform: capitalize; } + select[name=form_data_profile_dob_month], select[name=form_data_profile_dob_day], select[name=form_data_profile_dob_year] { + width: auto !important; + } + </style> <?php diff --git a/plugins/unl_theme/views/default/profile/edit.php b/plugins/unl_theme/views/default/profile/edit.php index 522efa8b72c2596cd81931c6271ab2b0425a08cf..c91cd7effd1d55fc127e6e722cbeb13abb215ac5 100644 --- a/plugins/unl_theme/views/default/profile/edit.php +++ b/plugins/unl_theme/views/default/profile/edit.php @@ -33,7 +33,7 @@ if ($_GET['firstlogin'] == 'yes'){ } //echo '<div id="formloading"><img src="/wdn/templates_3.0/css/header/images/colorbox/loading.gif" alt="Loading Form" /><noscript>Please enable JavaScript to use the profile editor.</noscript></div>'; -echo '<form action="'.$vars['url'].'action/flexprofile/edit" method="post" enctype="multipart/form-data" class="zenform cool" id="profileEditor">'; +echo '<form action="'.$vars['url'].'action/flexprofile/edit" method="post" enctype="multipart/form-data" class="zenform primary" id="profileEditor">'; echo elgg_view('input/securitytoken'); echo "<fieldset><ol>";