mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Version bump
This commit is contained in:
@@ -29,7 +29,7 @@ Webmin can be installed in two different ways:
|
||||
1. By downloading a pre-built package, available for different distributions (CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris and [other](http://www.webmin.com/support.html)) from our [download page](http://webmin.com/download.html);
|
||||
<kbd>Note: It is highly recommended to [add repository](https://doxfer.webmin.com/Webmin/Installation) to your system for having automatic updates.</kbd>
|
||||
|
||||
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-1.974.tar.gz), and running [_setup.sh_](http://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
|
||||
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-1.979.tar.gz), and running [_setup.sh_](http://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
|
||||
<kbd>Note: If you are installing Webmin [on Windows](http://www.webmin.com/windows.html) system, you must run the command `perl setup.pl` instead. The Windows version depends on several programs, and modules that may not be part of the standard distribution. You will need _process.exe_ commmand, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
|
||||
|
||||
## Documentation
|
||||
|
||||
@@ -8,21 +8,22 @@ $access{'mode'} == 0 || &error($text{'manual_ecannot'});
|
||||
|
||||
# File selection form
|
||||
my @files = &list_cron_files();
|
||||
$file = $in{'file'} || $files[0];
|
||||
print &ui_form_start("edit_manual.cgi");
|
||||
print "<b>$text{'manual_edit'}</b> ",
|
||||
&ui_select("file", $in{'file'} || $files[0], [ @files ])," ",
|
||||
&ui_select("file", $file, [ @files ])," ",
|
||||
&ui_submit($text{'manual_ok'});
|
||||
print &ui_hidden("search", $in{'search'});
|
||||
print &ui_form_end();
|
||||
|
||||
if ($in{'file'}) {
|
||||
&indexof($in{'file'}, @files) >= 0 || &error($text{'manual_efile'});
|
||||
if ($file) {
|
||||
&indexof($file, @files) >= 0 || &error($text{'manual_efile'});
|
||||
print &ui_form_start("save_manual.cgi", "form-data");
|
||||
print &text('manual_editing',
|
||||
"<tt>".&html_escape($in{'file'})."</tt>"),"<br>\n";
|
||||
print &ui_textarea("data", &read_file_contents($in{'file'}), 20, 80);
|
||||
"<tt>".&html_escape($file)."</tt>"),"<br>\n";
|
||||
print &ui_textarea("data", &read_file_contents($file), 20, 80);
|
||||
print &ui_hidden("search", $in{'search'});
|
||||
print &ui_hidden("file", $in{'file'});
|
||||
print &ui_hidden("file", $file);
|
||||
print &ui_form_end([ [ undef, $text{'save'} ] ]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user