From f79c595ae984e9e94bd95a2d51ae804319d149a2 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 29 Oct 2022 11:35:23 +0000 Subject: [PATCH] 01_FHEMWEB.pm: detailLinks are filtered by the hiddenroom attr (Forum #129858) git-svn-id: https://svn.fhem.de/fhem/trunk@26618 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/01_FHEMWEB.pm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 7b36451ce..aa970663f 100644 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -1622,14 +1622,16 @@ FW_doDetail($) my $lNum = AttrVal($FW_wname, "detailLinks", 2); my $li = 0; while($li < $lNum && $li < @detCmd / 2) { - FW_pH "cmd=$detCmd[2*$li] $d", $detCmd[2*$li+1], undef, "detLink"; + FW_pH "cmd=$detCmd[2*$li] $d", $detCmd[2*$li+1], undef, "detLink" + if(!$FW_hiddenroom{$detCmd[2*$li]}); $li++; } if($li < @detCmd/2) { FW_pO "" @@ -4065,7 +4067,8 @@ FW_log($$) to the detailed views or save button are hidden (although each aspect still can be addressed through URL manipulation).
The list can also contain values from the additional "Howto/Wiki/FAQ" - block. + block, and from the bottom of the detail page: devSpecHelp, forumCopy, + rawDef, style iconFor, style showDSI, delete.
@@ -4900,7 +4903,9 @@ FW_log($$) Fall werden diverse Eingabefelder ausgeblendent. Durch direktes Aufrufen der URL sind diese Räume weiterhin erreichbar!
Ebenso können Einträge in den Logfile/Commandref/etc Block - versteckt werden.
+ versteckt werden, oder die Links unten auf der Detailseite: devSpecHelp, + forumCopy, rawDef, style iconFor, style showDSI, delete. +
  • hiddenroomRegexp