diff options
Diffstat (limited to 'ftp_wizard/ftp.wiz')
-rw-r--r-- | ftp_wizard/ftp.wiz | 76 |
1 files changed, 73 insertions, 3 deletions
diff --git a/ftp_wizard/ftp.wiz b/ftp_wizard/ftp.wiz index 12e6b9f9..63ad0024 100644 --- a/ftp_wizard/ftp.wiz +++ b/ftp_wizard/ftp.wiz @@ -9,6 +9,7 @@ defaultImage="__WIZ_HOME__/ftp_wizard/images/FTP" perlModule="__WIZ_HOME__/ftp_wizard/scripts/ProFtpconf.pm" rpm="proftpd" + summaryFunc="do_it" > <Variable @@ -33,6 +34,11 @@ shellVariable="wiz_ftp_external" > </Variable> + <Variable + name="shared_dir" + shellVariable="wiz_dir" + > + </Variable> <Page helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" name="welcome" @@ -159,6 +165,67 @@ </Page> <Page + name="ask_dir" + func="check_dir" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_dir" + jumpIndex="1" + > + </Target> + + <Target + targetName="confirmation" + jumpIndex="10" + > + </Target> + + <Info + helpText="Shared dir:" + > + </Info> + + + <Info + helpText="Type the path of the directory you want being shared." + > + </Info> + + <Freetext + name="freetext_dir" + variableName="shared_dir" + helpText="Shared dir:" + editable="true" + fillfunc="get_dir" + > + </Freetext> + </Page> + + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html" + name="error_in_dir" + jumpPage="ask_dir" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + helpText="The path you entered does not exist." + > + </Info> + </Page> + + + <Page helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html" name="confirmation" func="do_it" @@ -182,9 +249,7 @@ needed to configure your FTP Server" > </Info> - <Freetext - name="freetext1" variableName="wiz_ftp_internal" helpText="Intranet FTP Server:" editable="false" @@ -192,13 +257,18 @@ needed to configure your FTP Server" </Freetext> <Freetext - name="freetext2" variableName="wiz_ftp_external" helpText="Internet FTP Server:" editable="false" > </Freetext> + <Freetext + variableName="shared_dir" + helpText="Public directory:" + editable="false" + > + </Freetext> <Info helpText="To accept these values, and configure your server, click the Next button or use the Back button to correct them." |