[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/wizard/ -> intro.template (source)

   1  {include file="wizard/header.template" title="Welcome!" step=2 mode=install}
   2   <form name="databaseInfo" action="wizard.php" method="post">
   3    <fieldset class="inputField">
   4     <legend>Database settings</legend>  
   5     {if $viewIsError}
   6      <div class="wizardError">
   7       <img src="imgs/admin/icon_error-16.png" alt="Error" class="wizardInfoIcon" />
   8       <p style="color:red;margin-left:20px;">{$viewErrorMessage}</p>
   9      </div> 
  10     {else}
  11       <div class="wizardInfo">
  12        <img src="imgs/admin/icon_info-16.png" alt="Info" class="wizardInfoIcon" />
  13        <p class="wizardInfoText">Welcome to the configuration wizard of LifeType. This wizard will guide you through the process of installing LifeType {$version}
  14        <br/><br/>
  15        The first thing that it is needed to know
  16        is the information regarding your database configuration. The user that will be used
  17        to connect to the database must have enough permissions to run queries, add, remove
  18        and update records. If you also wish to let this wizard create the database and the tables,
  19        it should also have enough permissions to create databases and tables.
  20        <br/><br/>
  21        This information will be saved to the configuration file used by LifeType so you will not need
  22        to make any other changes.</p>
  23       </div>
  24     {/if}
  25     <div class="field">
  26      <label for="dbServer">Database server</label>
  27      <span class="required">*</span>
  28      <div class="formHelp">This is the host where your database server is running. It normally is 'localhost', please check with your hosting provider if unsure.</div>
  29      <input style="width:100%" type="text" id="dbServer" name="dbServer" value="{$dbServer}"/>
  30      {include file="wizard/validate.template" field=dbServer message="Database server is missing or incorrect"}
  31     </div>
  32     
  33     <div class="field">
  34      <label for="dbUser">Database user</label>
  35      <span class="required">*</span>
  36      <div class="formHelp">User that will be used to access the database.</div>
  37      <input style="width:100%" type="text" id="dbUser" name="dbUser" value="{$dbUser}"/>
  38      {include file="wizard/validate.template" field=dbUser message="Database user is missing or incorrect"}    
  39     </div>
  40     
  41     <div class="field">
  42      <label for="dbPassword">Database password</label>
  43      <span class="required">*</span>
  44      <div class="formHelp">Password for the user given above.</div>
  45      <input style="width:100%" type="password" id="dbPassword" name="dbPassword" value="{$dbPassword}"/>
  46     </div>
  47     
  48     <div class="field">
  49      <label for="dbName">Database name</label>
  50      <span class="required">*</span> 
  51      <div class="formHelp">Name of the database where tables will be created</div>
  52      <input style="width:100%" type="text" id="dbName" name="dbName" value="{$dbName}"/>
  53      {include file="wizard/validate.template" field=dbName message="Database name is missing or incorrect"}    
  54     </div> 
  55     
  56     <div class="field">
  57      <label for="dbPrefix">Database prefix</label>
  58      <span class="required">*</span>
  59      <div class="formHelp">If needed, multiple instances of LifeType can run in the same database with different passwords, but the default is usually fine.</div>
  60      <input style="width:100%" type="text" id="dbPrefix" name="dbPrefix" value="{if $dbPrefix==""}lt_{else}{$dbPrefix}{/if}"/>
  61     </div>
  62     
  63     </fieldset>
  64     <div class="buttons">
  65      <input type="hidden" name="nextStep" value="Step1"/>
  66      <input type="reset" name="reset" value="Reset" />
  67      <input type="submit" name="Next" value="Next &raquo;"/>
  68     </div> 
  69   </form>
  70  {include file="wizard/footer.template"}


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics