motd + Security check

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1637 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-06-22 08:22:24 +00:00
parent 51e9a5d902
commit 6ed08e430c
4 changed files with 47 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ SVG_render($$$$$$$$)
'xmlns:xlink="http://www.w3.org/1999/xlink" >';
my $prf = AttrVal($parent_name, "stylesheetPrefix", "");
SVG_pO "<style lType=\"text/css\"><![CDATA[";
SVG_pO "<style type=\"text/css\"><![CDATA[";
if(open(FH, "$parent_dir/${prf}svg_style.css") ||
open(FH, "$parent_dir/svg_style.css")) {
SVG_pO join("", <FH>);