When I pars a template html file, the parse engine of tempate.inc sometimes parses html code with escaped quotas ( " ) like this:
<link rel=\"stylesheet\" href=\"../templ/holz.css\">
<body bgcolor=\"#ffffff\" class=\"t_blau\">
As a result, the browser cant load the css file and cant handle most of the html tags. When I run the scripts with my local win32/php4.0.5/Apache1.3.14 (Win32) environment, there are no problems. But when i use it in my server linux/php4.2.1/Apache1.3.24 environment, it sometimes dont work.
I use the template-class like this:
$t = new Template("../templ", "remove");
$t->set_var(array("WARNUNG" => $servertext, "GB_TEXT" => "",
"GB_NAME" => ""));
I hope somebody can help me, because my pages look not good without css ond correct html tags :)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.