diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 12:18:40 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 12:18:40 +0000 |
commit | 2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007 (patch) | |
tree | 942e73fa15f38452091288446100b4ba5fc8e514 /news_wizard/news.wiz | |
parent | 339c34215d9c46f6ebd1bbf524e73af341214610 (diff) | |
download | drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.gz drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.bz2 drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.tar.xz drakwizard-2b0ceb8ee52cebbe77d2b3a67f93cc60f4e0c007.zip |
xml wizard
Diffstat (limited to 'news_wizard/news.wiz')
-rw-r--r-- | news_wizard/news.wiz | 769 |
1 files changed, 769 insertions, 0 deletions
diff --git a/news_wizard/news.wiz b/news_wizard/news.wiz new file mode 100644 index 00000000..848a9917 --- /dev/null +++ b/news_wizard/news.wiz @@ -0,0 +1,769 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="wizdrake: News Wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/images/news.jpg" + height="400" + width="525" + hasDb="true" + dbPositions="5" + dbFilename="/var/log/wizards/server.wdb" + referenceLength="425" + referenceHeight="13" + perlModule="__WIZ_HOME__/news_wizard/scripts/Newsconf.pm" +> + + <Variable + name="newsServer" + comment="The host name of the news server" + shellVariable="wiz_news_server" + defaultValue="news.provider.com" + valueIsTranslated="false" + persistent="true" + dbPosition="0" + key="false" + > + </Variable> + + <Variable + name="newsFreq" + comment="The frequency of the news server polling" + shellVariable="wiz_news_freq" + defaultValue="12" + valueIsTranslated="false" + persistent="true" + dbPosition="1" + key="false" + > + </Variable> + + <Page + name="Welcome" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_need_root" + jumpIndex="1" + > + </Target> + + <Target + targetName="ask_news_server" + jumpIndex="0" + > + </Target> + + <Target + targetName="error_need_net" + jumpIndex="2" + > + </Target> + + <Info + name="welcome1" + alignement="Center" + helpText="Welcome to the News Wizard" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info7" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info1" + alignement="Center" + helpText="This wizard will help you configuring" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info2" + alignement="Center" + helpText="the Internet News services for your network." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="ask_news_server" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpScript="__WIZ_HOME__/news_wizard/scripts/check_news_server.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_news_server" + jumpIndex="1" + > + </Target> + + <Target + targetName="ask_news_freq" + jumpIndex="10" + > + </Target> + + <Info + name="newsServerTitle" + alignement="Center" + helpText="News Server" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info9" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info4" + alignement="East" + helpText="The news server name is the name of the host providing the Internet" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info" + alignement="East" + helpText="news to your network; the name is usually provided by your provider." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info8" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext1" + comment="Host name input field" + variableName="newsServer" + alignement="Fill" + helpText="News Server Name:" + guiType="textfield" + inputType="any" + editable="true" + fontName="Default" + fontStyle="bold" + fontSize="14" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info15" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info13" + alignement="East" + helpText="Internet host names must be in the form \qhost.domain.domaintype\q; for" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info12" + alignement="East" + helpText="example, if your provider is \qprovider.com\q, the internet new server" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info11" + alignement="East" + helpText="is usually \qnews.provider.com\q." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_news_server" + comment="Error message for an incorrect hostname" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpPage="ask_news_server" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info3" + alignement="Center" + helpText="The news server name is not correct" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="ask_news_freq" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpScript="__WIZ_HOME__/news_wizard/scripts/check_valid_hours.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="error_in_news_freq" + jumpIndex="1" + > + </Target> + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Info + name="newsFreqTitle" + alignement="Center" + helpText="Polling Period" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info17" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info18" + alignement="East" + helpText="Your server will regularly poll the News Server for obtaning the" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info20" + alignement="East" + helpText="latest Internet News; the polling period set the intervall between two" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info19" + alignement="East" + helpText="consecutive polling." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info10" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Integer + name="integer" + variableName="newsFreq" + alignement="Fill" + helpText="Polling Period (Hours):" + size="4" + smallStep="1" + bigStep="6" + > + </Integer> + + <Info + name="info21" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info22" + alignement="East" + helpText="Depending on the kind of internet connection you have, an appropriate" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info23" + alignement="East" + helpText="polling period can change between 6 and 24 hours." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="error_in_news_freq" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpPage="ask_news_freq" + nextButtonText="Fix it" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + name="info5" + alignement="Center" + helpText="The polling period is not correct" + guiType="label" + fontName="Default" + fontStyle="italic" + fontSize="14" + > + </Info> + </Page> + + <Page + name="doit" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="1" + > + </Target> + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + name="doitTitle" + alignement="Center" + helpText="Configuring the Internet News" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info14" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info25" + alignement="East" + helpText="The wizard collected the following parameter" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info26" + alignement="East" + helpText="needed to configure your Internet News Service:" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info24" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Freetext + name="freetext" + variableName="newsServer" + alignement="Fill" + helpText="News Server:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Freetext + name="freetext2" + variableName="newsFreq" + alignement="Fill" + helpText="Polling Interval:" + guiType="textfield" + inputType="any" + editable="false" + fontName="Default" + fontStyle="bold" + fontSize="11" + proportional="2" + ratio="30" + length="40" + > + </Freetext> + + <Info + name="info27" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="doneLabel" + alignement="East" + helpText="To accept these values, and configure your server, click on" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="cancelLabel" + alignement="East" + helpText="\qConfigure\q or use the Back button to correct them." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="done" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="Quit" + func="do_it" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="doneTitle" + alignement="Center" + helpText="Congratulations" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + + <Info + name="info16" + alignement="Center" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="successLabel" + alignement="Center" + helpText="The wizard successfully configured your" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + + <Info + name="info6" + alignement="Center" + helpText="Internet News service of your server." + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="catastrophic_exit" + comment="Exit in case of catastrophhic system error" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="catastrophe_text" + alignement="Center" + helpText="Some terrible happened" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="error_need_root" + comment="Error: this wizard must run as root." + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + nextButtonText="OK" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + name="root_error_message" + alignement="Center" + helpText="This Wizard need to run as root" + guiType="label" + fontName="Default" + fontStyle="bold" + fontSize="14" + > + </Info> + </Page> + + <Page + name="error_need_net" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + 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 NEWS configuration" + guiType="label" + fontName="Default" + fontStyle="plain" + fontSize="11" + > + </Info> + </Page> + + <Page + name="server launcher" + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-news.html" + jumpPage="ask_news_server" + executionLevel="DEBUG" + nextFinish="false" + canBack="true" + canCancel="true" + > + </Page> +</Wizard> |