01_FHEMWEB.pm: add text for editConfig

git-svn-id: https://svn.fhem.de/fhem/trunk@7984 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-02-14 18:07:43 +00:00
parent 63e485ec7d
commit 2f7718d05e

View File

@ -1760,7 +1760,11 @@ FW_style($$)
my $ncols = $FW_ss ? 40 : 80;
FW_pO "<div id=\"content\">";
FW_pO "<form method=\"$FW_formmethod\">";
if(!$readOnly) {
if($readOnly) {
FW_pO "You can enable saving this file by setting the editConfig ";
FW_pO "attribute, but read the documentation first for the side effects.";
FW_pO "<br><br>";
} else {
FW_pO FW_submit("save", "Save $fileName");
FW_pO "&nbsp;&nbsp;";
FW_pO FW_submit("saveAs", "Save as");