<h1><?php echo $this->translate('mailtemplate.title.view_detail'); ?></h1>

<h2><?php echo $this->translate('mailtemplate.caption.detail'); ?></h2>

<?php echo $this->translate('mailtemplate.message.delete_confirm'); ?>
<table class="form_2col">
<tbody>
<tr>
<th><?php echo $this->translate('mailtemplate.label.name'); ?></th>
<td>
<?php echo $this->escape($this->mailtemplate['name']); ?>
</td>
</tr>

<tr>
<th><?php echo $this->translate('mailtemplate.label.mail_from'); ?></th>
<td>
<?php echo $this->escape($this->mailtemplate['mail_from']); ?>
</td>
</tr>

<tr>
<th><?php echo $this->translate('mailtemplate.label.subject'); ?></th>
<td class="subject">
<?php echo $this->escape($this->mailtemplate['subject']); ?>
</td>
</tr>
<tr>
<th><?php echo $this->translate('mailtemplate.label.content'); ?></th>
<td class="status">
<?php echo nl2br($this->mailtemplate['content']); ?>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2">
<form action="<?php echo $this->appPath('controller'); ?>/delete_commit" method="POST">
<input type="hidden" name="service_id" value="<?php echo $this->service_id; ?>">
<input type="hidden" name="mailtemplate_id" value="<?php echo $this->mailtemplate['id']; ?>">
<input type="submit" value="<?php echo $this->translate('common.operation.delete'); ?>">
</form>
</td> 
</tr>
</tfoot>
</table>

<br/>
<ul>
<li>&gt;&nbsp;&nbsp;<a href="mailtemplate/view_detail/mailtemplate_id/<?php echo $this->mailtemplate['id']; ?>"><?php echo $this->translate('mailtemplate.operation.back_detail'); ?></a></li>
<li>&gt;&gt;&nbsp;&nbsp;<a href="mailtemplate/view_list/service_id/<?php echo $this->service_id; ?>"><?php echo $this->translate('mailtemplate.operation.back_list'); ?></a></li>
</ul>
