mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r202
мелкие фиксы найденные Fate git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@202 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
2d2b31b635
commit
2cf6ca2116
4 changed files with 12 additions and 9 deletions
|
@ -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Попробуйте повторить запрос через несколько минут";
|
||||
|
|
|
@ -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&". POST_USERS_URL ."=$user_id") .'">'. $lang['SEND_PM_TXTB'] .'</a>' : '<a href="' . append_sid("privmsg.php?mode=post&". 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&'. POST_USERS_URL .'='. $profiledata['user_id']) : 'mailto:'. $row['user_email'];
|
||||
$email_uri = ($bb_cfg['board_email_form']) ? append_sid("profile.php?mode=email&". POST_USERS_URL ."=$user_id") : 'mailto:'. $row['user_email'];
|
||||
$email = '<a class="editable" href="'. $email_uri .'">'. $row['user_email'] .'</a>';
|
||||
}
|
||||
else
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue