Verfasst: 16.12.2007 21:21
Zeig mal die Datei her: KB:81
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
$last_post_subject = $row['forum_last_post_subject'];
Code: Alles auswählen
if (!$config['altt_last_post'])
{
$last_topic_title = $row['topic_title'];
$last_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id']);
$last_topic_title_substr = ( utf8_strlen($last_topic_title) > $config['altt_char_limit'] + 3 )? (utf8_substr($last_topic_title, 0, $config['altt_char_limit']) . '...') : ($last_topic_title);
$last_post_subject_substr = '';
}
else
{
$last_topic_title = '';
$last_topic_url = '';
$last_topic_title_substr = '';
$last_post_subject_substr = ( utf8_strlen($last_post_subject) > $config['altt_char_limit'] + 3 )? (utf8_substr($last_post_subject, 0, $config['altt_char_limit']) . '...') : ($last_post_subject);
}
Code: Alles auswählen
=> censor_text($last_post_subject),
Code: Alles auswählen
'LAST_TOPIC_TITLE' => (isset($last_topic_title) && $config['altt_active'] && !$row['forum_password']) ? censor_text($last_topic_title) : '',
'LAST_TOPIC_TITLE_SHORT' => (isset($last_topic_title_substr) && $config['altt_active'] && !$row['forum_password']) ? censor_text($last_topic_title_substr) : '',
'LAST_POST_SUBJECT_SHORT' => (isset($last_post_subject_substr) && $config['altt_active'] && !$row['forum_password']) ? censor_text($last_post_subject_substr) : '',
'U_LAST_TOPIC' => (isset($last_topic_url) && $config['altt_active'] && !$row['forum_password']) ? $last_topic_url : '',
Code: Alles auswählen
'LAST_POST_SUBJECT' => $last_post_subject,
Code: Alles auswählen
if ($user->data['user_type'] != USER_FOUNDER)
{
$mode = '';
}