diff --git a/fhem/FHEM/72_FB_CALLLIST.pm b/fhem/FHEM/72_FB_CALLLIST.pm index 96b417353..c56809037 100755 --- a/fhem/FHEM/72_FB_CALLLIST.pm +++ b/fhem/FHEM/72_FB_CALLLIST.pm @@ -47,7 +47,7 @@ FB_CALLLIST_Initialize($) "connection-mapping ". "create-readings:0,1 ". "visible-columns:sortable-strict,row,state,timestamp,name,number,internal,connection,duration ". - "show-icons:0,1 ". + "show-icons:1,0 ". "list-type:all,incoming,outgoing,missed-calls,completed,active " . "time-format-string ". "list-order:ascending,descending ". @@ -55,6 +55,7 @@ FB_CALLLIST_Initialize($) "disable:0,1 ". "disabledForIntervals ". "do_not_notify:0,1 ". + "no-heading:0,1 ". $readingFnAttributes; $hash->{FW_detailFn} = "FB_CALLLIST_makeTable"; @@ -502,15 +503,21 @@ sub FB_CALLLIST_list2html($;$) my $create_readings = AttrVal($hash->{NAME}, "create-readings",0); - my $ret = ""; my $td_style = "style=\"padding-left:6px;padding-right:6px;\""; my @json_output = (); my $line; my $old_locale = setlocale(LC_ALL); - $ret .= ""; + + my $ret .= "
"; - $ret .= "
$alias".(IsDisabled($name) ? " (disabled)" : "")."
" unless($FW_webArgs{"detail"}); - $ret .= "
"; + + if(AttrVal($name, "no-heading", "0") eq "0") + { + $ret .=" "; + } + $ret .= "
"; + $ret .= "
$alias".(IsDisabled($name) ? " (disabled)" : "")."
" unless($FW_webArgs{"detail"}); + $ret .= "
"; $ret .= "
"; # div tag to support inform updates $ret .= ""; @@ -1063,6 +1070,10 @@ sub FB_CALLLIST_returnTableHeader($)

Possible values: a combination of row,state,timestamp,name,number,internal,connection,duration
Default Value is "row,state,timestamp,name,number,internal,connection,duration" (show all columns)

+
  • no-heading 0,1
  • + If activated the headline with a link to the detail page of the current definition will be hidden.

    + Possible values: 0 => the heading line will be shown , 1 => the heading line will not be shown
    + Default Value is 0 (the heading line will be shown)


    @@ -1227,6 +1238,10 @@ sub FB_CALLLIST_returnTableHeader($)

    Mögliche Werte: Eine Kombination der folgenden Werte in der gewünschten Reihenfolge: row,state,timestamp,name,number,internal,connection,duration
    Standardwert ist "row,state,timestamp,name,number,internal,connection,duration" (Anzeige aller Spalten)

    +
  • no-heading 0,1
  • + Sofern aktiviert, wird die Überschriftenzeile ausserhalb der Liste inkl. Link auf die Detail-Seite der aktuellen Definition ausgeblendet.

    + Mögliche Werte: 0 => Überschriftenzeile wird angezeigt , 1 => Überschriftenzeile wird ausgeblendet
    + Standardwert ist 1 (Überschriftenzeile wird angezeigt)