Gestern / Heute Mod Problem
Verfasst: 06.12.2005 14:46
Also ich würde gern den
Today At/Yesterday At Mod einbauen nun habe ich folgendes Problem
Das soll ich machen aber ich habe noch einen Mod weis aber nicht mehr wie der heißt damit der letzte Thread Name auch auf der Indes erscheint und das sieht so aus.
Wie kann ich das jetzt ändern damit es nacher auch geht
Today At/Yesterday At Mod einbauen nun habe ich folgendes Problem
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------
#
index.php
#
#-----[ FIND ]-----------------------------------
#
$last_post = $last_post_time . '<br />';
#
#-----[ REPLACE WITH ]-----------------------------------
#
// OLD
// $last_post = $last_post_time . '<br />';
//
// MOD - TODAY AT - BEGIN
//
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
Code: Alles auswählen
$last_post .= $last_post_time . ' <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><br>' . $lang['by'] . ' ';Wie kann ich das jetzt ändern damit es nacher auch geht