mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 19:36:02 +00:00
AttrTemplate.pm: cosmetic change for attrTemplate ? on FHEMWEB (Forum #91394)
git-svn-id: https://svn.fhem.de/fhem/trunk@17973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e9ad3fb923
commit
961527cd7c
@ -103,8 +103,8 @@ AttrTemplate_Set($$@)
|
|||||||
}
|
}
|
||||||
return "no help available" if(!@hlp);
|
return "no help available" if(!@hlp);
|
||||||
if($hash->{CL} && $hash->{CL}{TYPE} eq "FHEMWEB") {
|
if($hash->{CL} && $hash->{CL}{TYPE} eq "FHEMWEB") {
|
||||||
return "<html><li>".join("</li><li>", map { $_=~s/:/<br>/; $_ } @hlp).
|
return "<html><ul><li>".join("</li><br><li>",
|
||||||
"</li></html>";
|
map { $_=~s/:/<br>/; $_ } @hlp)."</li></ul></html>";
|
||||||
}
|
}
|
||||||
return join("\n", @hlp);
|
return join("\n", @hlp);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user