Danke, ... also diese funktion isses erstmal:DSB hat geschrieben:Ich denke, dass UID eher für unified IDentifier steht, aber egal.
Dann lass mal sehen, was bei Dir in Zeile 46 steht.
Bei mir ist das eine Kommentarzeile (habe aber auch Minerva)
Code: Alles auswählen
function load_bbcode_template()
{
global $template;
$tpl_filename = $template->make_filename('bbcode.tpl')
$tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename));
// replace \ with \\ and then ' with \'.
$tpl = str_replace('\\', '\\\\', $tpl);
$tpl = str_replace('\'', '\\\'', $tpl);
// strip newlines.
$tpl = str_replace("\n", '', $tpl);
// Turn template blocks into PHP assignment statements for the values of $bbcode_tpls..
$tpl = preg_replace('#<!-- BEGIN (.*?) -->(.*?)<!-- END (.*?) -->#', "\n" . '$bbcode_tpls[\'\\1\'] = \'\\2\';', $tpl);
$bbcode_tpls = array();
eval($tpl);
return $bbcode_tpls;
}