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

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <div class="maincontentheader">
   3  <h1>{"Tip a friend"|i18n("design/standard/content/tipafriend")}</h1>
   4  </div>
   5  
   6  {switch name=Sw match=$action}
   7    {case match="confirm"}
   8      <div class="feedback">
   9        <h2>{"The message was sent."|i18n("design/standard/content/tipafriend")}</h2>
  10        <p><a href={concat("/content/view/full/",$node_id)|ezurl}>{"Click here to return to the original page."|i18n("design/standard/content/tipafriend")}</a></p>
  11      </div>
  12    {/case}
  13    {case match="error"}
  14      <div class="warning">
  15        <h2>{"The message was not sent."|i18n("design/standard/content/tipafriend")}</h2>
  16        <p>{"The message was not sent due to an unknown error. Please notify the site administrator about this error."|i18n("design/standard/content/tipafriend")}</p>
  17        <p><a href={concat("/content/view/full/",$node_id)|ezurl}>{"Click here to return to the original page."|i18n("design/standard/content/tipafriend")}</a></p>
  18      </div>
  19    {/case}
  20    {case}
  21  
  22  {section show=$error_strings}
  23  <div class="warning">
  24  <h2>{"Please correct the following errors"|i18n("design/standard/content/tipafriend")}:</h2>
  25  {section loop=$error_strings}
  26  <p>{$:item}</p>
  27  {/section}
  28  </div>
  29  {/section}
  30  
  31  <form action={"/content/tipafriend/"|ezurl} method="post">
  32  
  33  <div class="block">
  34  <label>{"Your name"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
  35  <input class="box" type="text" size="40" name="YourName" value="{$your_name|wash}" />
  36  </div>
  37  
  38  <div class="block">
  39  <label>{"Your email address"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
  40  <input class="box" type="text" size="40" name="YourEmail" value="{$your_email|wash}" />
  41  </div>
  42  
  43  <br/>
  44  
  45  {*
  46  <div class="block">
  47  <label>{"Receivers name"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
  48  <input class="box" type="text" size="40" name="ReceiversName" value="{$receivers_name|wash}" />
  49  </div>
  50  *}
  51  
  52  <div class="block">
  53  <label>{"Receivers email address"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
  54  <input class="box" type="text" size="40" name="ReceiversEmail" value="{$receivers_email|wash}" />
  55  </div>
  56  
  57  <br/>
  58  
  59  {*<div class="block">*}
  60  {*<label>{"Subject"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>*}
  61  <input {*class="box"*} type="hidden" size="40" name="Subject" value="{$subject|wash}" />
  62  {*</div>*}
  63  
  64  <div class="block">
  65  <label>{"Comment"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
  66  <textarea class="box" cols="40" rows="10" name="Comment">{$comment|wash}</textarea>
  67  </div>
  68  
  69  <br/>
  70  
  71  <div class="buttonblock">
  72  <input class="button" type="submit" name="SendButton" value="{'Send'|i18n('design/standard/content/tipafriend')}" />
  73  <input class="button" type="submit" name="CancelButton" value="{'Cancel'|i18n('design/standard/content/tipafriend')}" />
  74  </div>
  75  
  76  <input type="hidden" name="NodeID" value="{$node_id}" />
  77  
  78  </form>
  79  
  80    {/case}
  81  {/switch}


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