Code: Alles auswählen
Parse error: parse error in c:\apache\htdocs\phpbb2\admin\admin_album_cat.php on line 519
Ich will nicht die ganze Datei hier posten und nen link hab ich auch nicht, weil ich das auf meinen PC ausprobiert habe per apache server. Ich hoffe die Zeilen langen, ansonsten muss ich sie halt hochladen.// Return a message...
$message = $lang['New_category_created'] . "<br /><br />" . sprintf($lang['Click_return_album_category'], "<a href=\"" . append_sid("admin_album_cat.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
}
else if( $HTTP_POST_VARS['mode'] == 'edit' )
{
// Get posting variables
$cat_id = intval($HTTP_GET_VARS['cat_id']);
$cat_title = str_replace("\'", "''", htmlspecialchars(trim($HTTP_POST_VARS['cat_title'])));
$cat_desc = str_replace("\'", "''", trim($HTTP_POST_VARS['cat_desc']));
$view_level = intval($HTTP_POST_VARS['cat_view_level']);
$upload_level = intval($HTTP_POST_VARS['cat_upload_level']);
$rate_level = intval($HTTP_POST_VARS['cat_rate_level']);
$comment_level = intval($HTTP_POST_VARS['cat_comment_level']);
$edit_level = intval($HTTP_POST_VARS['cat_edit_level']);
$delete_level = intval($HTTP_POST_VARS['cat_delete_level']);
$cat_approval = intval($HTTP_POST_VARS['cat_approval']);
/* BSRA Album Hierarchy MOD v1.0 - START */
$cat_parent = ($HTTP_POST_VARS['cat_parent_id'] == "Root") ? 0 : intval($HTTP_POST_VARS['cat_parent_id']);
/* BSRA Album Hierarchy MOD v1.0 - END */