<h1><?php echo $this->translate("mailtemplate.title.{$this->action_prefix}confirm"); ?></h1>

<h2><?php echo $this->translate("mailtemplate.caption.{$this->template_type}");  ?>&nbsp;&nbsp;[<?php echo $this->service['name']; ?>]</h2>

<form name="frmCI" action="<?php echo $this->appPath('controller') . '/' . $this->action_prefix; ?>commit" method="post">
<input type="hidden" name="mailtemplate_id" value="<?php echo $this->escape($this->form_input['mailtemplate_id']); ?>"/>
<input type="hidden" name="service_id" value="<?php echo $this->escape($this->form_input['service_id']); ?>">
<table class="form_2col">
<tbody>

<tr>
<th><?php echo $this->translate('mailtemplate.label.name'); ?></th>
<td>
<?php echo $this->escape($this->form_input['name']); ?>
<input type="hidden" name="name" value="<?php echo $this->escape($this->form_input['name']); ?>">
</td>
</tr>

<tr>
<th><?php echo $this->translate('mailtemplate.label.mail_from'); ?></th>
<td>
<?php echo $this->escape($this->form_input['mail_from']); ?>
<input type="hidden" name="mail_from" value="<?php echo $this->escape($this->form_input['mail_from']); ?>">
</td>
</tr>

<tr>
<th><?php echo $this->translate('mailtemplate.label.subject'); ?></th>
<td>
<?php echo $this->escape($this->form_input['subject']); ?>
<input type="hidden" name="subject" value="<?php echo $this->escape($this->form_input['subject']); ?>">
</td>
</tr>

<tr>
<th><?php echo $this->translate('mailtemplate.label.content'); ?></th>
<td>
<?php echo nl2br($this->form_input['content']); ?>
<input type="hidden" name="content" value="<?php echo $this->escape($this->form_input['content']); ?>">
</td>
</tr>

</tbody>

<tfoot>
<tr>
<td colspan="2">
<input type='submit' style="width:80px;" value="<?php echo $this->translate('common.operation.register'); ?>">&nbsp;&nbsp;
<input type="button" style="width:80px;" onclick="this.form.action='<?php echo $this->appPath('controller'). '/' . $this->action_prefix; ?>input';this.form.submit();" value="<?php echo $this->translate('common.operation.back'); ?>">
</td>
</tr>
</tfoot>

</table>

</form>

&gt;&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath('controller'); ?>/view_list/service_id/<?php echo $this->service['id']; ?>"><?php echo $this->translate('mailtemplate.operation.back_list'); ?></a>
<br/>
&gt;&gt;&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath(''); ?>"><?php echo $this->translate('common.operation.back_toppage'); ?></a>
