From de1a1c5b48b56bb39102467aff57e2f70ed49843 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Thu, 25 Jun 2015 21:04:07 +0000 Subject: [PATCH] FB_CALLLIST: added no-heading attribute (Forum: #38384) git-svn-id: https://svn.fhem.de/fhem/trunk@8827 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/72_FB_CALLLIST.pm | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) 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 .= "
";
- $ret .= " $alias".(IsDisabled($name) ? " (disabled)" : "")." " unless($FW_webArgs{"detail"});
- $ret .= " |
";
+ $ret .= " $alias".(IsDisabled($name) ? " (disabled)" : "")." " unless($FW_webArgs{"detail"});
+ $ret .= " |
";
$ret .= " "; # div tag to support inform updates
$ret .= " |