ich wollte mir gerade den locked-info to titles mod installieren und nun bin ich auf ein problem gestoßen. Hier schonmal die liste meiner bisher installierten mod's.
und zwar soll ich in der modcp.php folgendes suchen:
Code: Alles auswählen
default:
$page_title = $lang['Mod_CP'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->assign_vars(array(
'FORUM_NAME' => $forum_name,
Code: Alles auswählen
default:
$page_title = $lang['Mod_CP'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
if ( $forum_status == 1 )
{
$forum_status = $lang['Topic_Closed'] . ' ';
}
$template->assign_vars(array(
'FORUM_NAME' => $forum_name,
'FORUM_STATUS' => $forum_status,
Code: Alles auswählen
default:
$page_title = $lang['Mod_CP'];
include( $phpbb_root_path .'includes/page_header.'.$phpEx);
$u_topic_type = array('sticky', 'announce', 'poll', 'shadow', 'locked', 'unlocked', 'unread', 'unanswered');
$l_topic_type = array($lang['Display_sticky'], $lang['Display_announce'], $lang['Display_poll'], $lang['Display_shadow'], $lang['Display_locked'], $lang['Display_unlocked'], $lang['Display_unread'], $lang['Display_unanswered']);
for($tt = 0; $tt < count($u_topic_type); $tt++)
{
$topic_types .= ( $type == $u_topic_type[$tt] ) ? $l_topic_type[$tt] .' | ' : '<a href="modcp.'.$phpEx.'?'. POST_FORUM_URL .'='. $forum_id .'&type='. $u_topic_type[$tt] .'&sid='. $userdata['session_id'] .'" class="genmed">'. $l_topic_type[$tt] .'</a> | ';
}
$topic_types .= ( empty($type) ) ? $lang['Display_all'] : '<a href="modcp.'.$phpEx.'?'. POST_FORUM_URL .'='. $forum_id .'&sid='. $userdata['session_id'] .'" class="genmed">'. $lang['Display_all'] .'</a>';
if( $forum_topics == '0' )
{
$template->assign_block_vars("switch_no_topics", array() );
}
$template->assign_vars(array(
'TOPIC_TYPES' => $topic_types,
'TOPIC_COUNT' => ( $forum_topics == '1' ) ? sprintf($lang['Mod_CP_topic_count'], $forum_topics) : sprintf($lang['Mod_CP_topics_count'], $forum_topics),
'FORUM_NAME' => find_names($forum_id),
'L_NO_TOPICS' => $lang['Mod_CP_no_topics'],
'L_MOD_CP' => $lang['Mod_CP'],
'L_ENHANCED' => $lang['Mod_CP_enhanced'],
'L_DELETE' => $lang['Delete'],
'L_POLL_DELETE' => $lang['Delete_poll'],
'L_MOVE' => $lang['Move'],
'L_LOCK' => $lang['Lock'],
'L_UNLOCK' => $lang['Unlock'],
'L_STICKY' => $lang['Mod_CP_sticky'],
'L_ANNOUNCE' => $lang['Mod_CP_announce'],
'L_GLOBAL_ANNOUNCE' => $lang['Mod_CP_global'],
'L_NORMALIZE' => $lang['Mod_CP_normal'],
'L_TOPICS' => $lang['Topics'],
'L_REPLIES' => $lang['Replies'],
'L_VIEWS' => $lang['Views'],
'L_FIRSTPOST' => $lang['Mod_CP_first_post'],
'L_LASTPOST' => $lang['Last_Post'],
'U_VIEW_FORUM' => append_sid("viewforum.$phpEx?". POST_FORUM_URL ."=$forum_id"),
'S_HIDDEN_FIELDS' => '<input type="hidden" name="sid" value="'. $userdata['session_id'] .'" /><input type="hidden" name="'. POST_FORUM_URL .'" value="'. $forum_id .'" />',
'S_MODCP_ACTION' => append_sid("modcp.$phpEx"),
));
Danke im vorraus.