2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 12:46:03 +00:00

02_RSS.pm: removed css from HTML header

git-svn-id: https://svn.fhem.de/fhem/trunk@7607 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2015-01-17 21:06:35 +00:00
parent 28b5a54ccb
commit 231c7bf5ff

View File

@ -259,11 +259,11 @@ RSS_HTMLHead($$) {
my $xmlns= 'xmlns="http://www.w3.org/1999/xhtml"';
my $r= defined($refresh) ? "<meta http-equiv=\"refresh\" content=\"$refresh\"/>\n" : "";
# css and js header output should be coded only in one place
my $cssTemplate = "<link href=\"$FW_ME/%s\" rel=\"stylesheet\"/>\n";
my $css= sprintf($cssTemplate, "pgm2/style.css");
$css.= sprintf($cssTemplate, "pgm2/jquery-ui.min.css");
map { $css.= sprintf($cssTemplate, $_); }
split(" ", AttrVal($FW_wname, "CssFiles", ""));
my $css= "";
#my $cssTemplate = "<link href=\"$FW_ME/%s\" rel=\"stylesheet\"/>\n";
#$css= sprintf($cssTemplate, "pgm2/style.css");
#$css.= sprintf($cssTemplate, "pgm2/jquery-ui.min.css");
#map { $css.= sprintf($cssTemplate, $_); } split(" ", AttrVal($FW_wname, "CssFiles", ""));
my $scripts= RSS_getScript();
my $code= "$doctype\n<html $xmlns>\n<head>\n<title>$title</title>\n$r$css$scripts</head>\n";
}