[ 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/ -> checks.template (source)

   1  {include file="wizard/header.template" title="Preinstallation Checks" step=1 mode=$mode}
   2   <form name="databaseInfo" action="wizard.php" method="post">
   3    <fieldset class="inputField">
   4     <legend>Requirements Checking</legend>  
   5     {if $viewIsError || !$ok}
   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;">Welcome to the configuration wizard of LifeType. These are some basic checks of your current
   9        system in order to ensure that LifeType can run properly.<br/><br/>
  10        Unfortunately, not all the checks were successful. Please have a look at the output below and correct these problems. The
  11        installation process will not proceed until all the checks are successful.
  12        </p>
  13      </div> 
  14     {else}
  15       <div class="wizardInfo">
  16        <img src="imgs/admin/icon_info-16.png" alt="Info" class="wizardInfoIcon" />
  17        <p class="wizardInfoText">Welcome to the configuration wizard of LifeType. These are some basic checks of your current
  18        system in order to ensure that LifeType can run properly.
  19        <br/><br/>
  20        <b>IMPORTANT NOTE:</b>If you upgraded from LifeType 1.1.x to 1.2.0, there are some changes that need to be done to some of your resources. 
  21        This is a known issue in the upgrade process of LifeType 1.1.x to 1.2.0 that did not convert the name of some preview files correctly. 
  22         In order to have this issue fixed, click <a href="?nextStep=Fix120">here</a> and let the browser window reload.</p>
  23       </div>
  24     {/if}
  25     
  26     {foreach from=$checkGroups item=checks key=checkGroup}
  27         <div class="checkCategory">{$checkGroup}</div>
  28         {foreach from=$checks item=check key=checkId}
  29          {** loop through the checks and show an error message if not passed, unless not critical **}
  30          {if $check->isValid()}
  31              <img src="imgs/summary/icon_accept-16.png" class="checkImage" alt="PASSED" />
  32          {else}
  33              {if $check->isCritical()}
  34                  <img src="imgs/summary/icon_cancel-16.png" class="checkImage" alt="ERROR" />
  35              {else}
  36                  <img src="imgs/summary/icon_warning-16.png" class="checkImage" alt="NOT CRITICAL" />
  37              {/if}
  38          {/if}
  39          <div class="checkItem">
  40          {$check->getDesc()} {if !$check->isCritical()}(optional){/if}
  41          {if !$check->isValid()}
  42              <div class="checkError">
  43              {if $check->isCritical()}
  44                  <span style="color: red;">{$check->getSolution()}</span>
  45              {else}
  46                  <span style="color: green;">{$check->getSolution()}</span>
  47              {/if}
  48              </div>
  49          {/if}
  50          </div>
  51         {/foreach}
  52     {/foreach}
  53  
  54     </fieldset>
  55     <div class="buttons">
  56      {if $ok}
  57        <input type="hidden" name="nextStep" value="Intro"/>
  58        <input type="submit" name="Next" value="Next &raquo;"/>
  59      {else}
  60        <input type="hidden" name="nextStep" value="Checks"/>
  61        <input type="submit" name="Next" value="Retry"/>    
  62      {/if}
  63     </div> 
  64   </form>
  65  {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