mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-14 09:35:29 +00:00
55_InfoPanel.pm: updated
git-svn-id: https://svn.fhem.de/fhem/trunk@7965 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
428c1a45b6
commit
627c44e06f
@ -128,7 +128,7 @@ sub btIP_Define {
|
|||||||
|
|
||||||
btIP_addExtension("btIP_CGI","btip","InfoPanel");
|
btIP_addExtension("btIP_CGI","btip","InfoPanel");
|
||||||
btIP_readLayout($hash);
|
btIP_readLayout($hash);
|
||||||
|
|
||||||
readingsSingleUpdate($hash,'state','defined',1);
|
readingsSingleUpdate($hash,'state','defined',1);
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
@ -1186,6 +1186,10 @@ sub btIP_addExtension {
|
|||||||
$data{FWEXT}{$url}{LINK} = "+$link";
|
$data{FWEXT}{$url}{LINK} = "+$link";
|
||||||
$data{FWEXT}{$url}{NAME} = $friendlyname;
|
$data{FWEXT}{$url}{NAME} = $friendlyname;
|
||||||
$data{FWEXT}{$url}{FORKABLE} = 0;
|
$data{FWEXT}{$url}{FORKABLE} = 0;
|
||||||
|
$data{FWEXT}{$url}{SCRIPT} = '/pgm2/jquery.min.js"></script>' .
|
||||||
|
'<script type="text/javascript" src="http://richhollis.github.com/vticker/downloads/jquery.vticker.min.js?v=1.15"></script>' .
|
||||||
|
# '<script type="text/javascript" src="/fhem/pgm2/jquery.vticker.min.js"></script>' .
|
||||||
|
'<script type="text/javascript" charset="UTF-8';
|
||||||
}
|
}
|
||||||
|
|
||||||
sub btIP_CGI{
|
sub btIP_CGI{
|
||||||
@ -1281,8 +1285,8 @@ sub btIP_getScript {
|
|||||||
$scripts .= sprintf($jsTemplate, $script);
|
$scripts .= sprintf($jsTemplate, $script);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$scripts .= sprintf($jsTemplate,"$FW_ME/pgm2/jquery.min.js");
|
# $scripts .= sprintf($jsTemplate,"$FW_ME/pgm2/jquery.min.js");
|
||||||
$scripts .= sprintf($jsTemplate,"http://richhollis.github.com/vticker/downloads/jquery.vticker.min.js?v=1.15");
|
# $scripts .= sprintf($jsTemplate,"http://richhollis.github.com/vticker/downloads/jquery.vticker.min.js?v=1.15");
|
||||||
$scripts =~ s/script>/script>\n/g;
|
$scripts =~ s/script>/script>\n/g;
|
||||||
return $scripts;
|
return $scripts;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user