diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index a9c4b9711..13b147c81 100755 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -130,7 +130,6 @@ FHEMWEB_Initialize($) closeConn:1,0 column defaultRoom - editFileList endPlotNow:1,0 endPlotToday:1,0 fwcompress:0,1 @@ -1569,18 +1568,15 @@ FW_style($$) $attr{global}{configfile} =~ m,([^/]*)$,; my $cfgFileName = $1; - - my $fList = configDBUsed() ? "" : "config file:$cfgFileName,"; - $fList .= "Own modules and helper files:". - "$MW_dir/^(.*sh|[0-9][0-9].*Util.*pm|.*cfg|.*holiday|.*layout)\$,"; - $fList .= "gplot files:$FW_gplotdir/^.*gplot\$,"; - $fList .= "styles:$FW_cssdir/^.*(css|svg)\$"; - $fList = AttrVal($FW_wname,"editFileList", $fList); - foreach my $nr (split(",",$fList)) { - my ($n,$r) = split(":",$nr); - FW_displayFileList($n, FW_fileList($r)); - } - + FW_displayFileList("config file", $cfgFileName) + if(!configDBUsed()); + FW_displayFileList("Own modules and helper files", + FW_fileList("$MW_dir/^(.*sh|[0-9][0-9].*Util.*pm|.*cfg|.*holiday". + "|.*layout)\$")); + FW_displayFileList("gplot files", + FW_fileList("$FW_gplotdir/^.*gplot\$")); + FW_displayFileList("styles", + FW_fileList("$FW_cssdir/^.*(css|svg)\$")); FW_pO $end; } elsif($a[1] eq "select") { @@ -3004,17 +3000,6 @@ FW_ActivateInform()
- -
  • editFileList
    - Comma separated list of Name:Regexp pairs, used to specify the blocks - presented under the "Edit Files" Menu entry. - Note: only some directories are "writeable": FHEM, www/pgm2, www/gplot, - depending on the file ending. - Example: -

  • - @@ -3537,17 +3522,6 @@ FW_ActivateInform()
    - -
  • editFileList
    - Komma getrennte Liste von Doppelpunkt getrennten Name:Regexp Paare. - Wird verwendet, um die Bloecke in Edit-Files zu spezifizieren. - Achtung: nur bestimmte Verzeichnisse (FHEM, www/pgm2, www/gplot) sind - schreibbar, Abhaengig von der Dateiendung. - Beispiel: -

  • -