Мелкие фиксы найдены пользователями git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@471 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
darkmod007 2012-11-09 15:32:22 +00:00
commit 06387c3449
7 changed files with 10 additions and 14 deletions

View file

@ -57,8 +57,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.5 Beta';
$bb_cfg['tp_release_date'] = '07-11-2012';
$bb_cfg['tp_release_state'] = 'R470';
$bb_cfg['tp_release_date'] = '09-11-2012';
$bb_cfg['tp_release_state'] = 'R471';
// Database
$charset = 'utf8';

View file

@ -17,7 +17,7 @@ function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$
$from = ( !empty($row['user_from']) ) ? $row['user_from'] : '';
$joined = bb_date($row['user_regdate']);
$user_time = ( !empty($row['user_time']) ) ? bb_date($row['user_time']) : $lang['NO'];
$user_time = ( !empty($row['user_time']) ) ? bb_date($row['user_time']) : $lang['NONE'];
$posts = ( $row['user_posts'] ) ? $row['user_posts'] : 0;
$pm = ($bb_cfg['text_buttons']) ? '<a class="txtb" href="'. ("privmsg.php?mode=post&amp;". POST_USERS_URL ."=".$row['user_id']) .'">'. $lang['SEND_PM_TXTB'] .'</a>' : '<a href="' . ("privmsg.php?mode=post&amp;". POST_USERS_URL ."=".$row['user_id']) .'"><img src="' . $images['icon_pm'] . '" alt="' . $lang['SEND_PRIVATE_MESSAGE'] . '" title="' . $lang['SEND_PRIVATE_MESSAGE'] . '" border="0" /></a>';
@ -556,7 +556,7 @@ else
'MOD_PM' => $pm,
'MOD_EMAIL' => $email,
'MOD_WWW' => $www,
'MOD_TIME' => ( !empty($group_info['group_time']) ) ? bb_date($group_info['group_time']) : $lang['NO'],
'MOD_TIME' => ( !empty($group_info['group_time']) ) ? bb_date($group_info['group_time']) : $lang['NONE'],
'U_SEARCH_USER' => "search.php?mode=searchuser",
'GROUP_TYPE' => $group_type,
'S_GROUP_OPEN_TYPE' => GROUP_OPEN,

View file

@ -37,7 +37,7 @@ if ($user_rank = $profiledata['user_rank'] AND isset($ranks[$user_rank]))
}
if (IS_ADMIN)
{
$rank_select = array($lang['NO'] => 0);
$rank_select = array($lang['NONE'] => 0);
foreach ($ranks as $row)
{
$rank_select[$row['rank_title']] = $row['rank_id'];

View file

@ -3,7 +3,7 @@
define('IN_PHPBB', true);
define('BB_SCRIPT', 'memberlist');
define('BB_ROOT', './');
require(BB_ROOT ."common.php");
require(BB_ROOT .'common.php');
$page_cfg['use_tablesorter'] = true;
@ -234,8 +234,4 @@ if ( $mode != 'topten' || $bb_cfg['topics_per_page'] < 10 )
DB()->sql_freeresult($result);
}
$template->assign_vars(array(
'PAGE_TITLE' => $lang['MEMBERLIST'],
));
print_page('memberlist.tpl');

View file

@ -165,8 +165,8 @@
<tr>
<td><h4>{L_ALLOW_SIG}</h4></td>
<td>
<label><input type="radio" name="allow_sig" value="1" <!-- IF ALLOW_SMILIES -->checked="checked"<!-- ENDIF --> />{L_YES}</label>&nbsp;&nbsp;
<label><input type="radio" name="allow_sig" value="0" <!-- IF not ALLOW_SMILIES -->checked="checked"<!-- ENDIF --> />{L_NO}</label>
<label><input type="radio" name="allow_sig" value="1" <!-- IF ALLOW_SIG -->checked="checked"<!-- ENDIF --> />{L_YES}</label>&nbsp;&nbsp;
<label><input type="radio" name="allow_sig" value="0" <!-- IF not ALLOW_SIG -->checked="checked"<!-- ENDIF --> />{L_NO}</label>
</td>
</tr>
<tr>

View file

@ -1,4 +1,4 @@
<h1 class="pagetitle">{PAGE_TITLE}</h1>
<h1 class="pagetitle">{L_MEMBERLIST}</h1>
<form method="post" action="{S_MODE_ACTION}" name="post">
<table width="100%">

View file

@ -366,7 +366,7 @@ ajax.callback.gen_passkey = function(data){
<!-- IF WWW -->
<tr>
<th>{L_WEBSITE}:</th>
<td id="user_website"><a href="{WWW}" class="editable">{WWW}</a></td>
<td id="user_website"><a href="{WWW}" class="editable" target="_blank">{WWW}</a></td>
</tr>
<!-- ENDIF -->
<!-- IF OCCUPATION -->