					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="---" align="absbottom" />
					<form name="edit" method="post" action="<?php e($this->_vars['action']['url']); ?>"><?php HTML::requires(); ?>
						<div class="listrow"><h2><img src="<?php e(BASE_URL); ?>resource/img/icons/list_edit.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Message Template'); ?></h2></div>
<?php if ($this->_vars['action']['complete'] || $this->_vars['action']['deleted']): ?>
						<div class="listplain">
							<?php e($this->_vars['action']['complete']?  _('Updated'):_('Deleted')); ?><br /><br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php elseif ($this->_vars['action']['confirm'] || $this->_vars['action']['delete']): ?>
						<div class="listrow">
							<label class="column"><?php _e('Language'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['sys_msgtpl']['language']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Code'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['sys_msgtpl']['code']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Subject'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['sys_msgtpl']['subject']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('E-mail'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['sys_msgtpl']['email']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Name'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['sys_msgtpl']['name']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Body'); ?>:</label>
							<div class="fdata"><?php HTML::nl2br($this->_vars['sys_msgtpl']['body']); ?></div>
						</div>
						<div class="listplain">
							<input type="submit" name="manip" value="<?php e($this->_vars['action']['confirm']?  _('Submit'):_('Delete')); ?>" style="width:120px;" />&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="submit" name="<?php e($this->_vars['action']['goback']); ?>" value="<?php _e('Go back'); ?>" style="width:100px;" />
						</div>
<?php else: ?>
						<div class="listrow">
							<label class="column"><?php _e('Language'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['language'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="language" value="<?php e($this->_vars['sys_msgtpl']['language']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Code'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['code'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<?php e($this->_vars['sys_msgtpl']['code']); ?>
								<input type="hidden" name="code" value="<?php e($this->_vars['sys_msgtpl']['code']); ?>" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Subject'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['subject'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="subject" value="<?php e($this->_vars['sys_msgtpl']['subject']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('E-mail'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['email'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="email" value="<?php e($this->_vars['sys_msgtpl']['email']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Name'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['name'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="name" value="<?php e($this->_vars['sys_msgtpl']['name']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Body'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['body'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<textarea name="body" cols="40" rows="10"><?php e($this->_vars['sys_msgtpl']['body']); ?></textarea>
							</div>
						</div>
						<div class="listplain"><input type="submit" name="confirm" value="<?php _e('Confirm'); ?>" style="width:120px;" /></div>
<?php endif; ?>
					</form>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="___" align="top" />