mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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:
parent
28b5a54ccb
commit
231c7bf5ff
@ -259,11 +259,11 @@ RSS_HTMLHead($$) {
|
|||||||
my $xmlns= 'xmlns="http://www.w3.org/1999/xhtml"';
|
my $xmlns= 'xmlns="http://www.w3.org/1999/xhtml"';
|
||||||
my $r= defined($refresh) ? "<meta http-equiv=\"refresh\" content=\"$refresh\"/>\n" : "";
|
my $r= defined($refresh) ? "<meta http-equiv=\"refresh\" content=\"$refresh\"/>\n" : "";
|
||||||
# css and js header output should be coded only in one place
|
# css and js header output should be coded only in one place
|
||||||
my $cssTemplate = "<link href=\"$FW_ME/%s\" rel=\"stylesheet\"/>\n";
|
my $css= "";
|
||||||
my $css= sprintf($cssTemplate, "pgm2/style.css");
|
#my $cssTemplate = "<link href=\"$FW_ME/%s\" rel=\"stylesheet\"/>\n";
|
||||||
$css.= sprintf($cssTemplate, "pgm2/jquery-ui.min.css");
|
#$css= sprintf($cssTemplate, "pgm2/style.css");
|
||||||
map { $css.= sprintf($cssTemplate, $_); }
|
#$css.= sprintf($cssTemplate, "pgm2/jquery-ui.min.css");
|
||||||
split(" ", AttrVal($FW_wname, "CssFiles", ""));
|
#map { $css.= sprintf($cssTemplate, $_); } split(" ", AttrVal($FW_wname, "CssFiles", ""));
|
||||||
my $scripts= RSS_getScript();
|
my $scripts= RSS_getScript();
|
||||||
my $code= "$doctype\n<html $xmlns>\n<head>\n<title>$title</title>\n$r$css$scripts</head>\n";
|
my $code= "$doctype\n<html $xmlns>\n<head>\n<title>$title</title>\n$r$css$scripts</head>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user