[ 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/ -> database_init.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {*?template charset=latin1?*}
   3  
   4  <div align="center">
   5    <h1>{"Database initialization"|i18n("design/standard/setup/init")}</h1>
   6  </div>
   7  
   8  {section show=$db_error}
   9    <blockquote class="error">
  10    <p>
  11        {$db_error.text}
  12    </p>
  13    {section show=$db_error.url}
  14        <a href="{$db_error.url.href}" target="_other">{$db_error.url.text|wash}</a>
  15    {/section}
  16    </blockquote>
  17  {/section}
  18  
  19  <p>
  20  {"Please input database access information in the form below."|i18n("design/standard/setup/init")}
  21  </p>
  22  
  23  <form method="post" action="{$script}">
  24  
  25  {section show=eq( $db_not_empty, 1 )}
  26  <h2>{"Warning"|i18n("design/standard/setup/init")}</h2>
  27  <p>
  28   {"Your database already contains data."|i18n("design/standard/setup/init")}
  29   {"The setup can continue with the initialization but may damage the present data."|i18n("design/standard/setup/init")}
  30  </p>
  31  <p>
  32   {"What do you want the setup to do?"|i18n("design/standard/setup/init")}
  33  </p>
  34  
  35  <blockquote class="note">
  36  <p>
  37   <b>{"Note"|i18n("design/standard/setup/init")}:</b>
  38   {"The setup will not do an upgrade from older eZ publish versions (such as 2.2.7) if you leave the data as it is. This is only meant for people who have existing data that they don't want to lose. If you have existing eZ publish 3.0 data (such as from an RC release) you should skip DB initialization, however you will then need to do a manual upgrade."|i18n("design/standard/setup/init")}
  39  </p>
  40  </blockquote>
  41  
  42  <fieldset>
  43  <legend>{"Database choice"|i18n( 'design/standard/setup/init' )}:</legend>
  44  
  45  <table cellspacing="3" cellpadding="0" border="0">
  46  <tr>
  47   <td class="normal">
  48    <p>{"Continue but leave the data as it is."|i18n("design/standard/setup/init")}</p>
  49   </td>
  50   <td rowspan="4" class="normal">
  51    &nbsp;&nbsp;
  52   </td>
  53   <td class="normal">
  54    <input type="radio" name="eZSetupDatabaseDataChoice" value="1" />
  55   </td>
  56  </tr>
  57  <tr>
  58   <td class="normal">
  59    <p>{"Continue but remove the data first."|i18n("design/standard/setup/init")}</p>
  60   </td>
  61   <td class="normal">
  62    <input type="radio" name="eZSetupDatabaseDataChoice" value="2"  checked="checked" />
  63   </td>
  64  </tr>
  65  <tr>
  66   <td class="normal">
  67    <p>{"Keep data and skip database initialization."|i18n("design/standard/setup/init")}</p>
  68   </td>
  69   <td class="normal">
  70    <input type="radio" name="eZSetupDatabaseDataChoice" value="3" />
  71   </td>
  72  </tr>
  73  <tr>
  74   <td class="normal">
  75    <p>{"Let me choose a new database."|i18n("design/standard/setup/init")}</p>
  76   </td>
  77   <td class="normal">
  78    <input type="radio" name="eZSetupDatabaseDataChoice" value="4" />
  79   </td>
  80  </tr>
  81  </table>
  82  </fieldset>
  83  {/section}
  84  
  85  <fieldset>
  86  <legend>{'Database'|i18n( 'design/standard/setup/init' )}:</legend>
  87  <table border="0" cellspacing="3" cellpadding="0">
  88  <tr>
  89    <th class="label" colspan="3"></th>
  90  </tr>
  91  <tr>
  92    <td class="normal"><label class="textfield">{"Type"|i18n("design/standard/setup/init")}</label></td>
  93    <td rowspan="7" class="normal">&nbsp;&nbsp;</td>
  94    <td class="normal">
  95    {$database_info.info.name|wash}
  96    </td>
  97  </tr>
  98  
  99  <tr>
 100    <td class="normal"><label class="textfield">{"Servername"|i18n("design/standard/setup/init")}:</label></td>
 101    <td class="normal"><input type="text" name="eZSetupDatabaseServer" size="16" value="{$database_info.server|wash}" /></td>
 102  </tr>
 103  <tr>
 104    <td class="normal"><label class="textfield">{"Username"|i18n("design/standard/setup/init")}:</label></td>
 105    <td class="normal"><input type="text" name="eZSetupDatabaseUser" size="16" value="{$database_info.user|wash}" /></td>
 106  </tr>
 107  <tr>
 108    <td class="normal"><label class="textfield">{"Password"|i18n("design/standard/setup/init")}:</label></td>
 109    <td class="normal"><input type="password" name="eZSetupDatabasePassword" size="16" value="{$database_info.password|wash}" /></td>
 110  </tr>
 111  {section show=eq($database_info.info.driver,'ezmysql')}
 112  <tr>
 113    <td class="normal"><label class="textfield">{"Socket (optional)"|i18n("design/standard/setup/init")}:</label></td>
 114    <td class="normal"><input type="text" name="eZSetupDatabaseSocket" size="16" value="{$database_info.socket|wash}" /></td>
 115  </tr>
 116  {/section}
 117  </table>
 118  </fieldset>
 119    {include uri='design:setup/init/navigation.tpl'}
 120    {include uri="design:setup/persistence.tpl"}
 121  </form>


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