git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@282 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2011-09-04 17:07:46 +00:00
commit 7153c543b0
3 changed files with 6 additions and 4 deletions

View file

@ -53,8 +53,8 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.1 Stable';
$bb_cfg['tp_release_state'] = 'R281';
$bb_cfg['tp_release_date'] = '03-09-2011';
$bb_cfg['tp_release_state'] = 'R282';
$bb_cfg['tp_release_date'] = '04-09-2011';
// Database
$charset = 'utf8';

View file

@ -172,7 +172,7 @@ $template->assign_vars(array(
'SHOW_ADS' => (!$logged_in || isset($bb_cfg['show_ads_users'][$user->id]) || (!($is_admin || $is_mod) && $user->show_ads)),
'USER_HIDE_CAT' => (BB_SCRIPT == 'index'),
'USER_RUS' => $userdata['user_lang'] == 'russian',
'USER_RUS' => ($userdata['user_lang'] != 'english') ? true : false,
'INCLUDE_BBCODE_JS' => !empty($page_cfg['include_bbcode_js']),
'USER_OPTIONS_JS' => ($logged_in) ? bb_json_encode($user->opt_js) : '{}',

View file

@ -194,7 +194,8 @@ function checkForm(form) {
setTimeout(function() { alert(formErrors) }, 100);
return false;
}
<!-- IF QUICK_REPLY || IN_PM -->
<!-- IF QUICK_REPLY -->
<!-- IF IN_PM -->
<!-- ELSE -->
<!-- IF $bb_cfg['use_ajax_posts'] && !IS_GUEST -->
if(form.message.value.length < 100 && submitted)
@ -210,6 +211,7 @@ function checkForm(form) {
return false;
}
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
return true;
}