Correct wording
authorJamie Cameron <jcameron@webmin.com>
Tue, 19 Oct 2010 16:53:20 +0000 (09:53 -0700)
committerJamie Cameron <jcameron@webmin.com>
Tue, 19 Oct 2010 16:53:20 +0000 (09:53 -0700)
proftpd/index.cgi
proftpd/lang/en

index 8d1d824..daca890 100755 (executable)
@@ -228,7 +228,10 @@ if (!$inet) {
        }
 if (!$inet && $pid) {
        print &ui_buttons_row("apply.cgi",
-                             $text{'index_apply'}, $text{'index_applymsg'});
+                             $text{'index_apply'},
+                             &get_proftpd_version() > 1.22 ? 
+                               $text{'index_applymsg2'} :
+                               $text{'index_applymsg'});
        print &ui_buttons_row("stop.cgi",
                              $text{'index_stop'}, $text{'index_stopmsg'});
        }
index 593a330..9c64117 100644 (file)
@@ -5,6 +5,7 @@ index_eversion=The version of ProFTPD server $1 is not supported by Webmin. Only
 index_econf=The ProFTPD config file $1 does not exist or is not valid. Maybe your <a href='$2'>module configuration</a> is incorrect.
 index_apply=Apply Changes
 index_applymsg=Click this button to apply the current configuration by sending a SIGHUP signal to the running ProFTPD process.
+index_applymsg2=Click this button to apply the current configuration by stopping and re-starting ProFTPD.
 index_start=Start Server
 index_startmsg=Click this button to start the FTP server with the current configuration. You can also configure the server to be started automatically when needed using the <a href='$1'>Internet Services</a> module.
 index_startmsg2=Click this button to start the FTP server with the current configuration. You can also configure the server to be started automatically when needed using inetd or some equivalent program.