hi list
In my skin I render css files via php useing variables instead of fixed color 
values. Here how it works (simplified)


style.css file:
<?php
return<<<EOF

a {
        color:$links_color;
}

EOF;
?>


skin.php file:
<?php 
$links_color = "red";

$css_output = include(style.css);

$HTMLHeaderFmt['cssgenerator'] = "<style type='text/css'><!--
\n".$css_output."\n--></style>";


this works just fine. But I'm looking for a way to avoid the EOF  part in 
style.css. Does anyone have a clue how to do that?

thanks for any hints 
nos

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to