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

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  {*?template charset=latin1?*}
   3  <div align="center">
   4    <h1>{"Outgoing Email"|i18n("design/standard/setup/init")}</h1>
   5  </div>
   6  
   7  <p>
   8    {"This section is used to configure how eZ publish delivers its outgoing Email."|i18n("design/standard/setup/init")}
   9  </p>
  10  
  11  {section show=eq($system.type,"unix")}
  12  <p>
  13  {"There are two options:<br>- Direct delivery through transfer agent (must be available on the server).<br>- Indirect delivery using an SMTP relay server."|i18n("design/standard/setup/init")}
  14  {* {"You can choose from either"|i18n("design/standard/setup/init")} <i>{"sendmail"|i18n("design/standard/setup/init")}</i> {"which must be available on the server or"|i18n("design/standard/setup/init")} <i>{"SMTP"|i18n("design/standard/setup/init")}</i> {"which will relay the emails. If unsure what to use, ask your webhost. Some webhosts do not support"|i18n("design/standard/setup/init")} <i>{"sendmail"|i18n("design/standard/setup/init")}</i>. *}
  15  </p>
  16  {section-else}
  17  <p>
  18  {"SMTP is recommended for MS Windows users."|i18n("design/standard/setup/init")}
  19  </p>
  20  {/section}
  21  
  22  <p>
  23  
  24  <form method="post" action="{$script}">
  25  <fieldset>
  26  <legend>{"Email delivery"|i18n("design/standard/setup/init")}:</legend>
  27  <table cellspacing="3" cellpadding="0" border="0">
  28  {section show=eq($system.type,"unix")}
  29  <tr>
  30    <td class="normal">
  31      <input type="radio" id="eZSetupEmailMTA" name="eZSetupEmailTransport" value="1" {section show=eq( $email_info.type, 1 )}checked="checked"{/section} /></td>
  32      <td class="normal"><label class="radio" for="eZSetupEmailMTA">{"Sendmail/MTA"|i18n("design/standard/setup/init")}</label>
  33    </td>
  34  </tr>
  35  {/section}
  36  <tr>
  37    <td class="normal">
  38      {section show=eq($system.type,"unix")}
  39        <input type="radio" id="eZSetupEmailSMTP" name="eZSetupEmailTransport" value="2" {section show=eq( $email_info.type, 2 )}checked="checked"{/section} /></td>
  40      {section-else}
  41        <input type="hidden" name="eZSetupEmailTransport" value="2" /></td>
  42      {/section}
  43      <td class="normal"><label class="radio" for="eZSetupEmailSMTP">{"SMTP"|i18n("design/standard/setup/init")}</label>
  44    </td>
  45  </tr>
  46  <tr>
  47    <td></td><td class="normal"><label for="eZSetupSMTPServer" class="textfield">{"Server name: "|i18n("design/standard/setup/init")}</label></td>
  48    <td class="normal"><input type="text" size="25" id="eZSetupSMTPServer" name="eZSetupSMTPServer" value="{$email_info.server|wash}"></td>
  49  </tr>
  50  <tr>
  51    <td></td><td class="normal"><label for="eZSetupSMTPUser" class="textfield">{"Username (optional): "|i18n("design/standard/setup/init")}</label></td>
  52    <td class="normal"><input type="text" size="25" id="eZSetupSMTPUser" name="eZSetupSMTPUser" value="{$email_info.user|wash}"></td>
  53  </tr>
  54  <tr>
  55    <td></td><td class="normal"><label for="eZSetupSMTPPassword" class="textfield">{"Password (optional): "|i18n("design/standard/setup/init")}</label></td>
  56    <td class="normal"><input type="password" size="25" id="eZSetupSMTPPassword" name="eZSetupSMTPPassword" value="{$email_info.password|wash}"></td>
  57  </tr>
  58  </table>
  59  </fieldset>
  60  
  61    {include uri='design:setup/init/navigation.tpl'}
  62    {include uri='design:setup/persistence.tpl'}
  63  </form>
  64  
  65  </p>


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