ich würd´ es schön finden, in jedem Forum einen jeweils themenbezogenen "Neuer Beitrag" und "Antwort"-Button zu haben. Ist das irgendwie technisch möglich?
Gruß, dankeschön, Joachim
Code: Alles auswählen
$images['post_new'] = "$current_template_images/{LANG}/post.gif";
$images['post_locked'] = "$current_template_images/{LANG}/reply-locked.gif";
$images['reply_new'] = "$current_template_images/{LANG}/reply.gif";
$images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif";Code: Alles auswählen
$images['post1'] = "$current_template_images/{LANG}/post1.gif";
$images['post2'] = "$current_template_images/{LANG}/post2.gif";
$images['reply1'] = "$current_template_images/{LANG}/reply1.gif";
$images['reply2'] = "$current_template_images/{LANG}/reply2.gif";++MIT FOLGENDEM ERSETZEN++$reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['reply_new'];
$reply_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Reply_to_topic'];
$post_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'];
$post_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'];
Code: Alles auswählen
switch( $forum_id )
{
case '1':
$images_post = $images['post_new'];
$images_reply = $images['reply_new'];
break;
case '2':
$images_post = $images['post2'];
$images_reply = $images['reply2'];
break;
default:
$images_post = $images['post_new'];
$images_reply = $images['reply_new'];
break;
}
$reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images_reply;
$reply_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Reply_to_topic'];
$post_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images_post;
$post_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'];Code: Alles auswählen
$template->assign_vars(array(
'FORUM_ID' => $forum_id,
'FORUM_NAME' => $forum_row['forum_name'],
'MODERATORS' => $forum_moderators,
'POST_IMG' => ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'],Code: Alles auswählen
switch( $forum_id )
{
case '1':
$images_post = $images['post_new'];
break;
case '2':
$images_post = $images['post2'];
break;
default:
$images_post = $images['post_new'];
break;
}
$template->assign_vars(array(
'FORUM_ID' => $forum_id,
'FORUM_NAME' => $forum_row['forum_name'],
'MODERATORS' => $forum_moderators,
'POST_IMG' => ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images_post,