фикс в профиле: день рождения, пол git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@172 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2011-07-27 22:43:44 +00:00
commit 177252e82c
2 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1;
// Increase number of revision after update // Increase number of revision after update
$bb_cfg['tp_version'] = '2.0.2'; $bb_cfg['tp_version'] = '2.0.2';
$bb_cfg['tp_release_state'] = 'TP II r171'; $bb_cfg['tp_release_state'] = 'TP II r172';
$bb_cfg['tp_release_date'] = '28-07-2011'; $bb_cfg['tp_release_date'] = '28-07-2011';
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger $bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger

View file

@ -143,9 +143,9 @@ $template->assign_vars(array(
'OCCUPATION' => $profiledata['user_occ'], 'OCCUPATION' => $profiledata['user_occ'],
'INTERESTS' => $profiledata['user_interests'], 'INTERESTS' => $profiledata['user_interests'],
'SKYPE' => $profiledata['user_skype'], 'SKYPE' => $profiledata['user_skype'],
'GENDER' => $lang['GENDER_SELECT'][$profiledata['user_gender']], 'GENDER' => ($profiledata['user_gender']) ? $lang['GENDER_SELECT'][$profiledata['user_gender']] : '',
'BIRTHDAY' => ($profiledata['user_birthday']) ? realdate($profiledata['user_birthday'], 'Y-m-d') : '', 'BIRTHDAY' => ($bb_cfg['birthday']['enabled'] && $profiledata['user_birthday']) ? realdate($profiledata['user_birthday'], 'Y-m-d') : '',
'AGE' => ($profiledata['user_birthday']) ? birthday_age($profiledata['user_birthday']) : '', 'AGE' => ($bb_cfg['birthday']['enabled'] && $profiledata['user_birthday']) ? birthday_age($profiledata['user_birthday']) : '',
'AVATAR_IMG' => $avatar_img, 'AVATAR_IMG' => $avatar_img,
'L_VIEWING_PROFILE' => sprintf($lang['VIEWING_USER_PROFILE'], $profiledata['username']), 'L_VIEWING_PROFILE' => sprintf($lang['VIEWING_USER_PROFILE'], $profiledata['username']),