FHEMWEB: rollback editFileList changes as nobody wants it.
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5714 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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()
|
||||
</code></ul>
|
||||
</li><br>
|
||||
|
||||
<a name="editFileList"></a>
|
||||
<li>editFileList<br>
|
||||
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:<ul><code>
|
||||
attr WEB editFileList config file:fhem.cfg,Modules:FHEM/.*.pm
|
||||
</code></ul>
|
||||
</li><br>
|
||||
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
@@ -3537,17 +3522,6 @@ FW_ActivateInform()
|
||||
</code></ul>
|
||||
</li><br>
|
||||
|
||||
<a name="editFileList"></a>
|
||||
<li>editFileList<br>
|
||||
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:<ul><code>
|
||||
attr WEB editFileList config file:fhem.cfg,Modules:FHEM/.*.pm
|
||||
</code></ul>
|
||||
</li><br>
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user