mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r345
окраска при переносах git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@345 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
832b95009f
commit
334c3715c6
2 changed files with 4 additions and 6 deletions
|
@ -63,7 +63,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.4 (beta)';
|
||||
$bb_cfg['tp_release_state'] = 'R344';
|
||||
$bb_cfg['tp_release_state'] = 'R345';
|
||||
$bb_cfg['tp_release_date'] = '31-01-2012';
|
||||
|
||||
// Database
|
||||
|
|
|
@ -645,8 +645,6 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
|
|||
$post_username = $post_subject = $post_text = $poster_ip = '';
|
||||
|
||||
$post_time = $current_time = TIMENOW;
|
||||
$username = $userdata['username'];
|
||||
$user_id = $userdata['user_id'];
|
||||
|
||||
if ($mode == 'after_move')
|
||||
{
|
||||
|
@ -663,14 +661,14 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
|
|||
}
|
||||
if (!$forum_names) return;
|
||||
|
||||
$post_text = sprintf($lang['BOT_TOPIC_MOVED_FROM_TO'], "<a class=\"gen\" href=\"viewforum.php?f=$old_forum_id\">$forum_names[$old_forum_id]</a>", "<a class=\"gen\" href=\"viewforum.php?f=$forum_id\">$forum_names[$forum_id]</a>", "<a class=\"gen\" href=\"profile.php?mode=viewprofile&u=$user_id\">$username</a>");
|
||||
$post_text = sprintf($lang['BOT_TOPIC_MOVED_FROM_TO'], "<a class=\"gen\" href=\"viewforum.php?f=$old_forum_id\">$forum_names[$old_forum_id]</a>", "<a class=\"gen\" href=\"viewforum.php?f=$forum_id\">$forum_names[$forum_id]</a>", profile_url($userdata));
|
||||
|
||||
$poster_id = BOT_UID;
|
||||
$poster_ip = '7f000001';
|
||||
}
|
||||
else if ($mode == 'after_split_to_old')
|
||||
{
|
||||
$post_text = sprintf($lang['BOT_MESS_SPLITS'], "<a class=\"gen\" href=\"viewtopic.php?t=$new_topic_id\">". htmlCHR($new_topic_title) ."</a>", "<a class=\"gen\" href=\"profile.php?mode=viewprofile&u=$user_id\">$username</a>");
|
||||
$post_text = sprintf($lang['BOT_MESS_SPLITS'], "<a class=\"gen\" href=\"viewtopic.php?t=$new_topic_id\">". htmlCHR($new_topic_title) ."</a>", profile_url($userdata));
|
||||
|
||||
$poster_id = BOT_UID;
|
||||
$poster_ip = '7f000001';
|
||||
|
@ -687,7 +685,7 @@ function insert_post ($mode, $topic_id, $forum_id = '', $old_forum_id = '', $new
|
|||
$old_topic_title = $row['topic_title'];
|
||||
$post_time = $row['post_time'] - 1;
|
||||
|
||||
$post_text = sprintf($lang['BOT_TOPIC_SPLITS'], "<a class=\"gen\" href=\"viewtopic.php?t=$old_topic_id\">$old_topic_title</a>", "<a class=\"gen\" href=\"profile.php?mode=viewprofile&u=$user_id\">$username</a>");
|
||||
$post_text = sprintf($lang['BOT_TOPIC_SPLITS'], "<a class=\"gen\" href=\"viewtopic.php?t=$old_topic_id\">$old_topic_title</a>", profile_url($userdata));
|
||||
|
||||
$poster_id = BOT_UID;
|
||||
$poster_ip = '7f000001';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue