2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

01_FHEMWEB.pm: add filtered EventMonitor link (Forum #139940)

git-svn-id: https://svn.fhem.de/fhem/trunk@29383 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2024-11-30 20:02:55 +00:00
parent 2f19378054
commit 24e4d05aa6

View File

@ -1629,12 +1629,13 @@ FW_doDetail($)
FW_pO "<div id='detLink'>"; FW_pO "<div id='detLink'>";
my @detCmd = ( my @detCmd = (
'devSpecHelp', "Help for $t", 'devSpecHelp', "Help for $t",
'forumCopy', 'Copy for forum.fhem.de', 'forumCopy', 'Copy for forum.fhem.de',
'rawDef', 'Raw definition', 'rawDef', 'Raw definition',
'style iconFor', 'Select icon', 'style iconFor', 'Select icon',
'style showDSI', 'Extend devStateIcon', 'style showDSI', 'Extend devStateIcon',
'delete', "Delete $d" 'style eventMonitor', 'Event Monitor (filtered)',
'delete', "Delete $d"
); );
my $lNum = AttrVal($FW_wname, "detailLinks", 2); my $lNum = AttrVal($FW_wname, "detailLinks", 2);
if($lNum =~ m/^(\d),(.+)$/) { if($lNum =~ m/^(\d),(.+)$/) {
@ -3943,7 +3944,8 @@ FW_log($$)
The rest of the commands is shown in a dropdown menu. Default is 2.<br> The rest of the commands is shown in a dropdown menu. Default is 2.<br>
This can optionally followed by a comma separated list of ids to order This can optionally followed by a comma separated list of ids to order
or filter the desired links, the ids being one of devSpecHelp, or filter the desired links, the ids being one of devSpecHelp,
forumCopy, rawDef, style iconFor, style showDSI, delete. Example:<br> forumCopy, rawDef, style iconFor, style showDSI, style eventMonitor, delete.<br>
Example:<br>
attr WEB detailLinks 2,devSpecHelp,forumCopy attr WEB detailLinks 2,devSpecHelp,forumCopy
</li> </li>
<br> <br>
@ -4808,7 +4810,8 @@ FW_log($$)
Voreinstellung ist 2.<br> Voreinstellung ist 2.<br>
Das kann optional mit der Liste der anzuzeigenden IDs erweitert werden, Das kann optional mit der Liste der anzuzeigenden IDs erweitert werden,
um die Links zu sortieren oder zu filtern. Die m&ouml;glichen IDs sind um die Links zu sortieren oder zu filtern. Die m&ouml;glichen IDs sind
devSpecHelp, forumCopy, rawDef, style iconFor, style showDSI, delete. devSpecHelp, forumCopy, rawDef, style iconFor, style showDSI,
style eventMonitor, delete.<br>
Beispiel:<br> attr WEB detailLinks 2,devSpecHelp,forumCopy Beispiel:<br> attr WEB detailLinks 2,devSpecHelp,forumCopy
</li> </li>
<br> <br>