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

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


<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>
</table>

<br/>
<ul>
<li>&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath('controller'); ?>/copy/service_id/<?php echo $this->service_id; ?>/mailtemplate_id/<?php echo $this->mailtemplate['id']; ?>">複製を作る</a></li>
<?php if($this->can_modify_common) : ?>
<li>&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath('controller'); ?>/modify_input/mailtemplate_id/<?php echo $this->mailtemplate['id']; ?>">設定を変更する</a></li>
<?php endif; ?>
<?php if($this->can_delete_common) : ?>
<li>&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath('controller'); ?>/delete_confirm/mailtemplate_id/<?php echo $this->mailtemplate['id']; ?>">このテンプレートを削除する</a></li>
<?php endif; ?>
<li>&gt;&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath(''); ?>/mailtemplate/view_list/service_id/<?php echo $this->service_id; ?>"><?php echo $this->translate('mailtemplate.operation.back_list'); ?></a></li>
</ul>
