Location: PHPKode > projects > VuFind > vufind-1.0.1/web/interface/themes/classic/Record/email.tpl
<div align="left">
  {if $message}<div class="error">{$message|translate}</div>{/if}

  <form action="{$url}/Record/{$id|escape:"url"}/Email" method="post" id="popupForm" name="popupForm"
        onSubmit='SendEmail(&quot;{$id|escape}&quot;, this.elements[&quot;to&quot;].value,
        this.elements[&quot;from&quot;].value, this.elements[&quot;message&quot;].value,
        {* Pass translated strings to Javascript -- ugly but necessary: *}
        {literal}{{/literal}sending: &quot;{translate text='email_sending'}&quot;, 
         success: &quot;{translate text='email_success'}&quot;,
         failure: &quot;{translate text='email_failure'}&quot;{literal}}{/literal}
        ); return false;'>
    <b>{translate text='To'}:</b><br>
    <input type="text" name="to" size="40" id="to"><br>
    <b>{translate text='From'}:</b><br>
    <input type="text" name="from" size="40" id="from"><br>
    <b>{translate text='Message'}:</b><br>
    <textarea name="message" rows="3" cols="40" id="message"></textarea><br>
    <input type="submit" name="submit" value="{translate text='Send'}">
  </form>
</div>
Return current item: VuFind