автор темы git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@302 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2011-10-30 11:22:27 +00:00
commit 81eeffc612
4 changed files with 7 additions and 6 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.2 Beta';
$bb_cfg['tp_release_state'] = 'R301';
$bb_cfg['tp_release_date'] = '29-10-2011';
$bb_cfg['tp_release_state'] = 'R302';
$bb_cfg['tp_release_date'] = '30-10-2011';
// Database
$charset = 'utf8';
@ -102,7 +102,7 @@ $bb_cfg['cache']['engines'] = array(
$bb_cfg['datastore_type'] = 'filecache';
// Server
$bb_cfg['server_name'] = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : ''; // The domain name from which this board runs
$bb_cfg['server_name'] = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : 'torrentpier.me'; // The domain name from which this board runs
$bb_cfg['server_port'] = (!empty($_SERVER['SERVER_PORT'])) ? $_SERVER['SERVER_PORT'] : 80; // The port your server is running on
$bb_cfg['script_path'] = '/'; // The path where FORUM is located relative to the domain name

View file

@ -151,6 +151,7 @@ a.seed:visited, a.seedmed:visited, a.seedsmall:visited
.nick, .nick a {
color: #005A88 !important; font-size: 13px; font-weight: bold; text-decoration: none;
}
.nick-author, .nick-author a { color: #0000FF !important; }
/* Nav links */
.nav { margin: 0.3em 0; font-size: 11px; font-weight: bold; }
.nav a { text-decoration: none; }

View file

@ -220,11 +220,11 @@ function set_hid_chbox (id)
<p class="avatar">{postrow.POSTER_AVATAR}</p>
<!-- ELSE -->
<!-- IF QUICK_REPLY -->
<p class="nick" title="{L_INS_NAME_TIP}" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickPoster('{postrow.POSTER_NAME_JS}');">
<p class="nick<!-- IF postrow.POSTER_NAME --> nick-author<!-- ENDIF -->" title="{L_INS_NAME_TIP}" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickPoster('{postrow.POSTER_NAME_JS}');">
<a href="#" onclick="return false;">{postrow.POSTER_NAME}</a>
</p>
<!-- ELSE -->
<p class="nick">{postrow.POSTER_NAME}</p>
<p class="nick<!-- IF postrow.POSTER_NAME --> nick-author<!-- ENDIF -->">{postrow.POSTER_NAME}</p>
<!-- ENDIF -->
<!-- IF postrow.POSTER_RANK --><p class="rank_txt">{postrow.POSTER_RANK}</p><!-- ENDIF -->

View file

@ -947,7 +947,7 @@ for($i = 0; $i < $total_posts; $i++)
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
'POST_ID' => $postrow[$i]['post_id'],
'IS_NEWEST' => ($postrow[$i]['post_id'] == $newest),
'POSTER_NAME' => profile_url(array('username' => $poster, 'user_rank' => $user_rank)),
'POSTER_NAME' => ($poster_id != $t_data['topic_poster']) ? profile_url(array('username' => $poster, 'user_rank' => $user_rank)) : $poster,
'POSTER_NAME_JS' => addslashes($poster),
'POSTER_RANK' => $poster_rank,
'RANK_IMAGE' => $rank_image,