Ad. 2 i 3
[phpbb]#
#--[ OTWORZ ]--
#
/language/lang_polish/lang_main.php
#
#--[ ZNAJDZ ]--
# chociaz bardziej prawidlowo, to przed ostatnim komentarzem
?>
#
#--[ DODAJ PRZED ]--
#
$lang['post_by'] = 'przez';
#
#--[ OTWORZ ]--
#
/index.php
#
#--[ ZNAJDZ ]--
#
if ( $board_config['time_today'] < $forum_data[$j]['post_time'])
{
$last_post = sprintf($lang['Today_at'], create_date($board_config['default_timeformat'], $forum_data[$j]['post_time'], $board_config['board_timezone'])) . '<br>';
}
else if ( $board_config['time_yesterday'] < $forum_data[$j]['post_time'])
{
$last_post = sprintf($lang['Yesterday_at'], create_date($board_config['default_timeformat'], $forum_data[$j]['post_time'], $board_config['board_timezone'])) . '<br>';
}
else
{
$last_post = $last_post_time . '<br>';
}
// MOD - TODAY AT - END
$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] : $lang['Guest']) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a>';
$last_post .= ' <a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a>';
#
#--[ ZAMIEN NA ]--
#
$last_post = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';
if ( $board_config['time_today'] < $forum_data[$j]['post_time'])
{
$last_post .= sprintf($lang['Today_at'], create_date($board_config['default_timeformat'], $forum_data[$j]['post_time'], $board_config['board_timezone'])) . '<br>';
}
else if ( $board_config['time_yesterday'] < $forum_data[$j]['post_time'])
{
$last_post .= sprintf($lang['Yesterday_at'], create_date($board_config['default_timeformat'], $forum_data[$j]['post_time'], $board_config['board_timezone'])) . '<br>';
}
else
{
$last_post .= $last_post_time . '<br>';
}
// MOD - TODAY AT - END
$last_post .= $lang['post_by'] . ': ' . ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] : $lang['Guest']) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a>';
$last_post .= ' <a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a>';
#
#--[ ZAPISZ, ZAMKNIJ ]--
#EoM[/phpbb]
W zasadzie bylo juz o tym na forum, no ale poniewaz masz jeszcze Today/Yesterday At, to moze ktos skorzysta.
[edit]
poprawione, vide post nizej
+Termit
ON WIE LEPIEJ
Uwagi moderatora Termit (dodane 18 Sie 2007, 09:47):
Ostatnio edytowany przez Termit, 18 Sie 2007, 09:47, edytowano w sumie 1 raz