htmlCode type for weblink added

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1311 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-03-04 09:20:26 +00:00
parent 9c6fc67556
commit b05e222b78
2 changed files with 7 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ weblink_Define($$)
{
my ($hash, $def) = @_;
my ($type, $name, $wltype, $link) = split("[ \t]+", $def, 4);
my %thash = ( link=>1, fileplot=>1, image=>1, iframe=>1 );
my %thash = ( link=>1, fileplot=>1, image=>1, iframe=>1, htmlCode=>1 );
if(!$link || !$thash{$wltype}) {
return "Usage: define <name> weblink [" .