Demo:
http://www.phpbb-de.com/files/unbenannt_1_kopie.jpg
Anleitung:
öffne viewforum_body.tpl und suche nach:
Code: Alles auswählen
<!-- BEGIN topicrow -->
Code: Alles auswählen
<!-- BEGIN topic_header -->
<tr>
<td class="catHead" colspan="6" height="28"><span class="cattitle">{topicrow.topic_header.TOPIC_TYPE}</span></td>
</tr>
<!-- END topic_header -->
Code: Alles auswählen
//
// End header
//
Code: Alles auswählen
// add by mgutt
$announce_header = false;
$sticky_header = false;
$topic_header = false;
// end
Code: Alles auswählen
'U_VIEW_TOPIC' => $view_topic_url)
);
Code: Alles auswählen
// add by mgutt
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
{
if ( !$announce_header )
{
$template->assign_block_vars('topicrow.topic_header', array(
'TOPIC_TYPE' => $topic_type
));
$announce_header = true;
}
}
else if( $topic_rowset[$i]['topic_type'] == POST_STICKY )
{
if ( !$sticky_header )
{
$template->assign_block_vars('topicrow.topic_header', array(
'TOPIC_TYPE' => $topic_type
));
$sticky_header = true;
}
}
else
{
if ( ($announce_header || $sticky_header) && !$topic_header )
{
$template->assign_block_vars('topicrow.topic_header', array(
'TOPIC_TYPE' => $lang['Topics'] . ':'
));
$topic_header = true;
}
}
// end
