fehlermeldung bei pcp
Verfasst: 16.05.2004 22:30
hallo
beim aufrufen eines themas im forum, erscheint folgende fehlermeldung:
Parse error: parse error, unexpected T_STRING, expecting ')' in /www/htdocs/pipe/phpbb/viewtopic.php on line 1100
hier der quelltextauszug: (line 1100 ist farblich unterlegt)
//
// Again this will be handled by the templating
// code at some point
//
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('postrow', array(
'//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
'POST_ID' => $postrow[$i]['post_id'], 'AUTHOR_PANEL' => $postrow[$i]['user_my_ignore'] ? $ignore_panel : $author_panel,
'BUTTONS_PANEL' => $buttons_panel,
'IGNORE_IMG' => $ignore_buttons,
//-- fin mod : profile cp --------------------------------------------------------------------------
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POST_DATE' => $post_date,
'POST_SUBJECT' => $post_subject,
'MESSAGE' => $message,
'SIGNATURE' => $user_sig,
'EDITED_MESSAGE' => $l_edited_by,
'MINI_POST_IMG' => $mini_post_img,
'EDIT_IMG' => $edit_img,
'EDIT' => $edit,
'QUOTE_IMG' => $quote_img,
'QUOTE' => $quote,
'IP_IMG' => $ip_img,
'IP' => $ip,
'DELETE_IMG' => $delpost_img,
'DELETE' => $delpost,
'L_MINI_POST_ALT' => $mini_post_alt,
'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => $postrow[$i]['post_id'])
);
//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
if ($postrow[$i]['user_my_ignore'])
{
$template->assign_block_vars('postrow.switch_buddy_ignore', array());
}
else
{
$template->assign_block_vars('postrow.switch_no_buddy_ignore', array());
beim aufrufen eines themas im forum, erscheint folgende fehlermeldung:
Parse error: parse error, unexpected T_STRING, expecting ')' in /www/htdocs/pipe/phpbb/viewtopic.php on line 1100
hier der quelltextauszug: (line 1100 ist farblich unterlegt)
//
// Again this will be handled by the templating
// code at some point
//
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('postrow', array(
'//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
'POST_ID' => $postrow[$i]['post_id'], 'AUTHOR_PANEL' => $postrow[$i]['user_my_ignore'] ? $ignore_panel : $author_panel,
'BUTTONS_PANEL' => $buttons_panel,
'IGNORE_IMG' => $ignore_buttons,
//-- fin mod : profile cp --------------------------------------------------------------------------
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POST_DATE' => $post_date,
'POST_SUBJECT' => $post_subject,
'MESSAGE' => $message,
'SIGNATURE' => $user_sig,
'EDITED_MESSAGE' => $l_edited_by,
'MINI_POST_IMG' => $mini_post_img,
'EDIT_IMG' => $edit_img,
'EDIT' => $edit,
'QUOTE_IMG' => $quote_img,
'QUOTE' => $quote,
'IP_IMG' => $ip_img,
'IP' => $ip,
'DELETE_IMG' => $delpost_img,
'DELETE' => $delpost,
'L_MINI_POST_ALT' => $mini_post_alt,
'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => $postrow[$i]['post_id'])
);
//-- mod : profile cp ------------------------------------------------------------------------------
//-- add
if ($postrow[$i]['user_my_ignore'])
{
$template->assign_block_vars('postrow.switch_buddy_ignore', array());
}
else
{
$template->assign_block_vars('postrow.switch_no_buddy_ignore', array());