zitieren geht nicht
Verfasst: 16.06.2006 20:36
ich machs einfach kurz
zitieren geht bei mir nicht, da steht nur der code, wenn man zitiert hat
zitieren geht bei mir nicht, da steht nur der code, wenn man zitiert hat
Dieses Problem hatte ich auch schon! HTML deaktivieren dann geht das zitieren wieder!phpBB.Neuling hat geschrieben:ich machs einfach kurz
zitieren geht bei mir nicht, da steht nur der code, wenn man zitiert hat
Normalerweise betrifft es die Datei includes/functions_post.php.phpBB.Neuling hat geschrieben:p.s. wenn du mir sagst, in welcher datei die zitierfunktion liegt, lade ich sie hoch und poste dann hier den link
Code: Alles auswählen
if ($html_on)
{
// If HTML is on, we try to make it safe
// This approach is quite agressive and anything that does not look like a valid tag
// is going to get converted to HTML entities
$message = stripslashes($message);
$html_match = '#<[^\w<]*(\w+)((?:"[^"]*"|\'[^\']*\'|[^<>\'"])+)?>#';
$matches = array();
$message_split = preg_split($html_match, $message);
preg_match_all($html_match, $message, $matches);
$message = '';
foreach ($message_split as $part)
{
$tag = array(array_shift($matches[0]), array_shift($matches[1]), array_shift($matches[2]));
$message .= preg_replace($html_entities_match, $html_entities_replace, $part) . clean_html($tag);
}
$message = addslashes($message);
$message = str_replace('"', '\"', $message);
}
else