summaryrefslogtreecommitdiffstats
path: root/ftp_wizard
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-07-26 12:18:40 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-07-26 12:18:40 +0000
commit2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007 (patch)
tree942e73fa15f38452091288446100b4ba5fc8e514 /ftp_wizard
parent339c34215d9c46f6ebd1bbf524e73af341214610 (diff)
downloaddrakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.gz
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.bz2
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.xz
drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.zip
xml wizard
Diffstat (limited to 'ftp_wizard')
-rw-r--r--ftp_wizard/ftp.wiz552
1 files changed, 552 insertions, 0 deletions
diff --git a/ftp_wizard/ftp.wiz b/ftp_wizard/ftp.wiz
new file mode 100644
index 00000000..f5070703
--- /dev/null
+++ b/ftp_wizard/ftp.wiz
@@ -0,0 +1,552 @@
+<?xml version="1.0"?>
+
+
+<Wizard
+ name="general"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ wizardTitle="wizdrake: FTP wizard"
+ imagePosition="top"
+ defaultImage="__WIZ_HOME__/images/FTP.jpg"
+ height="400"
+ width="525"
+ hasDb="false"
+ dbPositions="0"
+ referenceLength="425"
+ referenceHeight="13"
+ perlModule="__WIZ_HOME__/ftp_wizard/scripts/Ftpconf.pm"
+>
+
+ <Variable
+ name="wiz_ftp_internal"
+ shellVariable="wiz_ftp_internal"
+ persistent="false"
+ >
+ </Variable>
+
+ <Variable
+ name="wiz_ftp_external"
+ shellVariable="wiz_ftp_external"
+ persistent="false"
+ >
+ </Variable>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="welcome"
+ jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="must be root"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="ftp connections"
+ jumpIndex="0"
+ >
+ </Target>
+
+ <Target
+ targetName="error_need_net"
+ jumpIndex="2"
+ >
+ </Target>
+
+ <Info
+ name="info1"
+ alignement="Center"
+ helpText="FTP Server Configuration Wizard"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info2"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info3"
+ alignement="Center"
+ helpText="This wizard will help you configuring"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info4"
+ alignement="Center"
+ helpText="the FTP Server for your network."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="must be root"
+ nextButtonText="OK"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="info"
+ alignement="Center"
+ helpText="Sorry, you must be root to do this..."
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="error_need_net"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="false"
+ canCancel="true"
+ >
+
+ <Info
+ name="errorLabel"
+ alignement="Center"
+ helpText="Network not configured yet"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info23"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info22"
+ alignement="Center"
+ helpText="You have to configure the basic network parameters before launch this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info26"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="If you choose to configure now, you will automatically continue"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info27"
+ alignement="Center"
+ helpText="with the FTP configuration"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="server launcher"
+ jumpPage="ftp connections"
+ executionLevel="DEBUG"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="ftp connections"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="ftpTitle"
+ alignement="Center"
+ helpText="FTP Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info6"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info7"
+ alignement="East"
+ helpText="Your server can act as a FTP Server toward your internal"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info11"
+ alignement="East"
+ helpText="network (intranet) and as a FTP Server for the Internet."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info10"
+ alignement="East"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info5"
+ alignement="East"
+ helpText="Select the kind of FTP service you want to activate:"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info21"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Boolean
+ name="wiz_ftp_internal"
+ variableName="wiz_ftp_internal"
+ forceEnabled="1"
+ forceDisabled="0"
+ helpText="Enable the FTP Server for the Intranet"
+ guiType="chechbox"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ >
+ </Boolean>
+
+ <Info
+ name="info8"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Boolean
+ name="wiz_ftp_external"
+ variableName="wiz_ftp_external"
+ forceEnabled="1"
+ forceDisabled="0"
+ helpText="Enable the FTP Server for the Intranet and for the Internet"
+ guiType="chechbox"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ >
+ </Boolean>
+
+ <Info
+ name="info9"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info12"
+ alignement="East"
+ helpText="Don't check any box if you don't want to activate your FTP Server."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="confirmation"
+ jumpPage="congratulations"
+ nextButtonText="Configure"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="confirmationTitle"
+ alignement="Center"
+ helpText="Configuring the FTP Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info13"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info14"
+ alignement="East"
+ helpText="The wizard collected the following parameter"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info15"
+ alignement="East"
+ helpText="needed to configure your FTP Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info16"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="freetext1"
+ alignement="Fill"
+ fillScript="[ \( ${wiz_ftp_internal} -eq 1 \) -o \( ${wiz_ftp_external} -eq 1 \) ] \a\a echo \qenabled\q || echo \qdisabled\q"
+ helpText="Intranet FTP Server:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Freetext
+ name="freetext2"
+ alignement="Fill"
+ fillScript="[ ${wiz_ftp_external} -eq 0 ] \a\a echo \qdisabled\q || echo \qenabled\q"
+ helpText="Internet FTP Server:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Info
+ name="info17"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info18"
+ alignement="East"
+ helpText="To accept these values, and configure your server, click on"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info19"
+ alignement="East"
+ helpText="\qConfigure\q or use the Back button to correct them."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-ftp.html"
+ name="congratulations"
+ nextButtonText="Quit"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ func="do_it"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ name="info23"
+ alignement="Center"
+ helpText="Congratulations"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info20"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="The wizard successfully configured your"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="Intranet/Internet FTP Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+</Wizard>