Fix bug cutting the label for personal picture in profile form - refs BT#7097

1.9.x
Yannick Warnier 12 years ago
parent 293c41a0ec
commit 1fd85a9fae
  1. 2
      main/auth/profile.php
  2. 3
      main/css/base.css

@ -207,7 +207,7 @@ $form->addRule('phone', get_lang('EmailWrong'), 'email');*/
// PICTURE
if (is_profile_editable() && api_get_setting('profile', 'picture') == 'true') {
$form->addElement('file', 'picture', ($user_data['picture_uri'] != '' ? get_lang('UpdateImage') : get_lang('AddImage')));
$form->addElement('file', 'picture', ($user_data['picture_uri'] != '' ? get_lang('UpdateImage') : get_lang('AddImage')), array('class' => 'picture-form'));
$form->add_progress_bar();
if (!empty($user_data['picture_uri'])) {
$form->addElement('checkbox', 'remove_picture', null, get_lang('DelImage'));

@ -2279,6 +2279,9 @@ div.admin_section h4 {
.profile_grid_element_0 { width:100px; float:left; text-align:center; margin-bottom:5px;}
.profile_grid_element_1 { width:170px; float:left; text-align:left; margin-bottom:1px; }
#profile .picture-form {
width: 350px;
}
/* pagination grid sortable */
.sub_header {width:100%}

Loading…
Cancel
Save