iframe + status icon

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@943 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-07-16 09:58:11 +00:00
parent 7ac6e5d24a
commit d5c92d1e9e
3 changed files with 128 additions and 45 deletions

View File

@@ -11,7 +11,7 @@ weblink_Initialize($)
my ($hash) = @_;
$hash->{DefFn} = "weblink_Define";
$hash->{AttrList}= "fixedrange plotmode plotsize label title";
$hash->{AttrList}= "fixedrange plotmode plotsize label title htmlattr";
}
@@ -21,7 +21,7 @@ weblink_Define($$)
{
my ($hash, $def) = @_;
my ($type, $name, $wltype, $link) = split("[ \t]+", $def, 4);
my %thash = ( link=>1, fileplot=>1, image=>1 );
my %thash = ( link=>1, fileplot=>1, image=>1, iframe=>1 );
if(!$link || !$thash{$wltype}) {
return "Usage: define <name> weblink [" .