мелкие фиксы найденные Fate git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@202 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-08-09 19:06:22 +00:00
commit 2cf6ca2116
4 changed files with 12 additions and 9 deletions

View file

@ -57,8 +57,8 @@ $bb_cfg['css_ver'] = 1;
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.0 Stable';
$bb_cfg['tp_release_state'] = 'R201';
$bb_cfg['tp_release_date'] = '9-08-2011';
$bb_cfg['tp_release_state'] = 'R202';
$bb_cfg['tp_release_date'] = '10-08-2011';
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
$bb_cfg['srv_overloaded_msg'] = "Извините, в данный момент сервер перегружен\nПопробуйте повторить запрос через несколько минут";

View file

@ -180,10 +180,10 @@ if ( $row = DB()->sql_fetchrow($result) )
$poster_avatar = get_avatar($row['user_avatar'], $row['user_avatar_type'], !bf($row['user_opt'], 'user_opt', 'allow_avatar'));
$pm = ($bb_cfg['text_buttons']) ? '<a class="txtb" href="'. append_sid("privmsg.php?mode=post&amp;". POST_USERS_URL ."=$user_id") .'">'. $lang['SEND_PM_TXTB'] .'</a>' : '<a href="' . append_sid("privmsg.php?mode=post&amp;". POST_USERS_URL ."=$user_id") .'"><img src="' . $images['icon_pm'] . '" alt="' . $lang['SEND_PRIVATE_MESSAGE'] . '" title="' . $lang['SEND_PRIVATE_MESSAGE'] . '" border="0" /></a>';
if (bf($row['user_opt'], 'user_opt', 'viewemail') || IS_ADMIN)
{
$email_uri = ($bb_cfg['board_email_form']) ? append_sid('profile.php?mode=email&amp;'. POST_USERS_URL .'='. $profiledata['user_id']) : 'mailto:'. $row['user_email'];
$email_uri = ($bb_cfg['board_email_form']) ? append_sid("profile.php?mode=email&amp;". POST_USERS_URL ."=$user_id") : 'mailto:'. $row['user_email'];
$email = '<a class="editable" href="'. $email_uri .'">'. $row['user_email'] .'</a>';
}
else

View file

@ -188,8 +188,10 @@ function checkForm(form) {
setTimeout(function() { alert(formErrors) }, 100);
return false;
}
<!-- IF QUICK_REPLY -->
<!-- IF $bb_cfg['use_ajax_posts'] && !IS_GUEST -->
<!-- IF QUICK_REPLY -->
<!-- IF IN_PM -->
<!-- ELSE -->
<!-- IF $bb_cfg['use_ajax_posts'] && !IS_GUEST -->
if(form.message.value.length < 100 && submitted)
{
setTimeout(function() {
@ -202,8 +204,9 @@ function checkForm(form) {
}, 100);
return false;
}
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
return true;
}
</script>

View file

@ -13,7 +13,7 @@
<div class="spacer_6"></div>
<form method="post" action="{S_PRIVMSGS_ACTION}">
<form action="{S_PRIVMSGS_ACTION}" method="post" name="post" onsubmit="if(checkForm(this)){ dis_submit_btn(); }else{ return false; }">
{S_HIDDEN_FIELDS}
<table class="borderless">