{* DO NOT EDIT THIS FILE! Use an override template instead. *}
<div class="maincontentheader">
<h1>{"Tip a friend"|i18n("design/standard/content/tipafriend")}</h1>
</div>

{switch name=Sw match=$action}
  {case match="confirm"}
    <div class="feedback">
      <h2>{"The message was sent."|i18n("design/standard/content/tipafriend")}</h2>
      <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>
    </div>
  {/case}
  {case match="error"}
    <div class="warning">
      <h2>{"The message was not sent."|i18n("design/standard/content/tipafriend")}</h2>
      <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>
      <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>
    </div>
  {/case}
  {case}

{section show=$error_strings}
<div class="warning">
<h2>{"Please correct the following errors"|i18n("design/standard/content/tipafriend")}:</h2>
{section loop=$error_strings}
<p>{$:item}</p>
{/section}
</div>
{/section}

<form action={"/content/tipafriend/"|ezurl} method="post">

<div class="block">
<label>{"Your name"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
<input class="box" type="text" size="40" name="YourName" value="{$your_name|wash}" />
</div>

<div class="block">
<label>{"Your email address"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
<input class="box" type="text" size="40" name="YourEmail" value="{$your_email|wash}" />
</div>

<br/>

{*
<div class="block">
<label>{"Receivers name"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
<input class="box" type="text" size="40" name="ReceiversName" value="{$receivers_name|wash}" />
</div>
*}

<div class="block">
<label>{"Receivers email address"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
<input class="box" type="text" size="40" name="ReceiversEmail" value="{$receivers_email|wash}" />
</div>

<br/>

{*<div class="block">*}
{*<label>{"Subject"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>*}
<input {*class="box"*} type="hidden" size="40" name="Subject" value="{$subject|wash}" />
{*</div>*}

<div class="block">
<label>{"Comment"|i18n("design/standard/content/tipafriend")}</label><div class="labelbreak"></div>
<textarea class="box" cols="40" rows="10" name="Comment">{$comment|wash}</textarea>
</div>

<br/>

<div class="buttonblock">
<input class="button" type="submit" name="SendButton" value="{'Send'|i18n('design/standard/content/tipafriend')}" />
<input class="button" type="submit" name="CancelButton" value="{'Cancel'|i18n('design/standard/content/tipafriend')}" />
</div>

<input type="hidden" name="NodeID" value="{$node_id}" />

</form>

  {/case}
{/switch}
