[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/setup/init/ -> system_check.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {*?template charset=latin1?*}
   3  {let has_warnings=false()}
   4  
   5    <form method="post" action="{$script}">
   6  
   7  {section loop=$test.results}
   8  {section-exclude match=true()}
   9  {section-include match=is_set($:item.2.warnings)}
  10   {set has_warnings=true()}
  11  {/section}
  12  
  13  {section show=$has_warnings}
  14  <div class="warning">
  15  {section name=Result loop=$test.results}
  16  {section-exclude match=true()}
  17  {section-include match=is_set($Result:item.2.warnings)}
  18  <h2>Warning</h2>
  19  <ul>
  20   {section name=Warning loop=$Result:item.2.warnings}
  21    {section show=is_array($:item.text)}
  22   <li>{$:item.name}
  23   <ul>
  24    {section name=Text loop=$:item.text}
  25    <li>{$:item}</li>
  26    {/section}
  27   </ul>
  28    {section-else}
  29   <li>{$:item.text}</li>
  30    {/section}
  31   {/section}
  32  </ul></li>
  33  {/section}
  34  </div>
  35  {/section}
  36  
  37  {section show=$test.result|eq(1)}
  38    <p>{"No problems was found with your system, you can continue by clicking the"|i18n("design/standard/setup/init")} <i>{"Next &gt;"|i18n("design/standard/setup/init")}</i> {"button."|i18n("design/standard/setup/init")}</p>
  39  
  40      <div class="buttonblock">
  41        <input type="hidden" name="ChangeStepAction" value="" />
  42        <input class="defaultbutton" type="submit" name="StepButton_4" value="{'Next'|i18n('design/standard/setup/init')} >>" />
  43        <input class="button" type="submit" name="StepButton_3" value="{'Finetune System'|i18n('design/standard/setup/init')} >" />
  44      </div>
  45      {include uri='design:setup/persistence.tpl'}
  46  
  47  {section-else}
  48  
  49    <h1>{"System check"|i18n("design/standard/setup/init")}</h1>
  50    <p>
  51  {"There are some important issues that have to be resolved. A list of issues / problems is presented below. Each section contains a description and a suggested / recommended solution."|i18n("design/standard/setup/init")}
  52  </p><p>
  53  {"Once the problems / issues are fixed, you may click the <i>Next</i> button to continue. The system check will be run again. If everything is okay, the setup will go to the next stage. If there are problems, the system check page will reappear."|i18n("design/standard/setup/init")}
  54  </p><p>
  55  {"Some issues may be ignored by checking the <i>Ignore this test</i> checkbox(es); however, this is not recommended."|i18n("design/standard/setup/init")}
  56  </p>
  57  {section show=eq( $optional_test.result, 2 )}
  58  <p>
  59  {"It is also possible to do some finetuning of your system, click <i>Finetune</i> instead <i>Next</i> if you want to see the finetuning hints."|i18n("design/standard/setup/init")}
  60  </p>
  61  {/section}
  62  
  63  {*  {"The system check found some issues that need to be resolved before the setup can continue."|i18n("design/standard/setup/init")}
  64    {"Please have a look through the results below for more information on what the problems are."|i18n("design/standard/setup/init")}
  65    {"Each problem will give you instructions on how to fix the problem."|i18n("design/standard/setup/init")}
  66    </p>
  67    <p>{"After you have fixed the problems click the %1 button to re-run the system checking. You may also ignore specific tests by clicking the check boxes."|i18n("design/standard/setup/init",,array(concat("<i>","Next"|i18n("design/standard/setup/init"),"</i>")))}</p> *}
  68  
  69    <h1>{"Issues"|i18n("design/standard/setup/init")}</h1>
  70    <table width="100%" border="0" cellpadding="0" cellspacing="0">
  71    {section name=Result loop=$test.results}
  72    {section-exclude match=$:item[0]|ne(2)}
  73    <tr>
  74      <td>{include uri=concat('design:setup/tests/',$:item[1],'_error.tpl') test_result=$:item result_number=$:number}</td>
  75    </tr>
  76    <tr>
  77      <td><input type="checkbox" name="{$:item[1]}_Ignore" id="ignore_test_{$:item[1]}" value="1" /><label class="checkbox" for="ignore_test_{$:item[1]}">{"Ignore this test"|i18n("design/standard/setup/init")}</label>
  78      </td>
  79    </tr>
  80  
  81    {delimiter}
  82    <tr><td>&nbsp;</td></tr>
  83    {/delimiter}
  84  
  85    {/section}
  86    </table>
  87      {include uri='design:setup/init/navigation.tpl' finetune=eq( $optional_test.result, 2 )}
  88      {include uri='design:setup/persistence.tpl'}
  89    </form>
  90  
  91  {/section}
  92  {/let}


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7