{assign var="step" value="1"}
{assign var="steps" value="6"}
{include file="wizard/header.template"}
 <h1>Welcome to pLog 0.3.2!</h1>
  {if $errors}
 <p>
  The following errors were found: <br/>
 <span style="color:red">{$message}</font>
 </p>
 {/if}
 <p>
  Welcome to the configuration wizard of pLog. This wizard will guide you through the simple
  process of installing or updating an older release of pLog.
 </p>
 <h3>Update</h3>
 <p>
  <b>Please follow this link if you are updating from version 0.2.x:
  <a href="?nextStep=Update1">UPDATE</a>.
  </b>
 </p>
 <h3>New Installation</h3>
 <p>
  If you have already made the changes to the configuration file yourself, you can skip
  this step and continue <a href="?nextStep=Step1">here</a>
 </p>
 <p>
  The first thing that it is needed to know
  is the information regarding your database configuration. The user that will be used
  to connect to the database must have enough permissions to run queries, add, remove
  and update records. If you also wish to let this wizard create the database and the tables,
  it should also have enough permissions to create databases and tables.
 </p>
 <form name="databaseInfo" action="wizard.php" method="post">
   <table>
   <tr><td>Database server:</td><td><input style="width:100%" type="text" name="dbServer" value=""/></td></tr>
   <tr><td>Database user:</td><td><input style="width:100%" type="text" name="dbUser" value=""/></td></tr>
   <tr><td>Database password:</td><td><input style="width:100%" type="password" name="dbPassword" value=""/></td></tr>
   <tr><td>Name of the database:</td><td><input style="width:100%" type="text" name="dbName" value=""/></td></tr>
   <tr><td>Database prefix:</td><td><input style="width:100%" type="text" name="dbPrefix" value="plog_"/></td></tr>
   </table>
   <input type="checkbox" name="skipDbInfo" value="yes"/>
   &nbsp;Check this box if you have already done this manually and would like to skip this step.<br/><br/>
   <input type="hidden" name="nextStep" value="Step1"/>
 <p>
  This information will be saved to the configuration file used by pLog so you will not need
  to make any other changes.
 </p>
   <input type="submit" name="Next" value="Next &raquo;"/>
 </form>
{include file="wizard/footer.template"}
