<?php include_once( "../../../spider.inc.php" ); ?>
{charset:UTF-8}
{template:admin_default.tpl}
{module:system.tools.notify.mailbody.Form}
{preset:page_title 'システム設定 > パスワードリマインダー メール文言編集'}

	<div class="panc">
		<a href="../../">管理パネルトップ</a>
		&gt; <a href="../">システム設定</a>
		&gt; パスワードリマインダー メール文章編集
	</div>
	<h1>
		管理パネルトップ
		&gt; システム設定
		&gt; パスワードリマインダー メール文章編集
	</h1>
	
	{if:IS_ERROR}
	<ul class="error">
	{foreach:errors error}
		<li>{write:error}</li>
	{/foreach}
	</ul>
	{/if}
	
	<form name="cform" action="./confirm.php?agent={write:system.tools.notify.mailbody.agent}" method="post">
	<div style="width:95%;margin:0 auto;">
	<div class="mailbody-menutab">
		<ul>{foreach:SYSTEM_TOOLS_NOTIFY_MAIL_BODY_HASH agentKey agentName}{if:system.tools.notify.mailbody.agent==agentKey}<li
			><span>&nbsp;{write:agentName}&nbsp;</span></li
			>{else}<li
			><a href="./form.php?agent={write:agentKey}">&nbsp;{write:agentName}&nbsp;</a></li
			>{/if}{/foreach}</ul>
	</div><div style="padding:3px;border-style:solid;border-width:1px;border-color:#606060;">
		<table style="width:100%;border-style:none;">
		<tr>
			<td style="border-style:none;">
				<input type="text" name="subject" size="70" value="{write:system.tools.notify.mailbody.mail_hash['subject']}"/>
			</td>
		</tr>
		<tr>
			<td style="border-style:none;">
				<textarea style="font-size:1em;font-family: monospace;" name="body" cols="70" rows="35">{write:system.tools.notify.mailbody.mail_hash['body']}</textarea>
			</td>
		</tr>
		</table>
		<p style="text-align:center;">
			<input type="submit" value="入力確認"
			/><input type="button" value="初期状態に戻す" onclick="window.location.href='./form.php?agent={write:system.tools.notify.mailbody.agent}&amp;cmd=init'"
			/>
		</p>
		<br/>
		</form>
	</div>
	<br />
	</div>
<script language="JavaScript" type="text/javascript" src="/js/textformer/textformer.js"></script>  
<script language="JavaScript" type="text/javascript"><!--
var textFormerObject;
if(window.attachEvent){
	window.attachEvent('onload',systemToolsNotifyMailInit);
}else{
	window.addEventListener('DOMContentLoaded',systemToolsNotifyMailInit,false);
}
function systemToolsNotifyMailInit() {
	textFormerObject	= new TextFormer(document.cform.body,"systemToolsNotifyMailConfirm()");
}
function systemToolsNotifyMailConfirm() {
	document.cform.submit();
}
//--></script>
<style type="text/css"><!--
div.mailbody-menutab ul {
	margin: 0px;
	padding 0px;
}
div.mailbody-menutab ul li {
	margin: 0px;
	padding 0px;
	display: inline;
}
div.mailbody-menutab ul li a:link, div.mailbody-menutab ul li a:visited {
	display: inline-block;
	width: 150px;
	margin: 0px 0px -1px 0px;
	padding 10px;
	text-decoration: none;
	background-color: #D0D0D0;
	border-style: solid solid none solid;
	border-width: 1px;
	border-color: #808080;
	line-height: 2em;
	text-align:center;
}
div.mailbody-menutab ul li a:hover, div.mailbody-menutab ul li a:active {
	display: inline-block;
	width: 150px;
	margin: 0px 0px -1px 0px;
	text-decoration: none;
	background-color: #FFE0E0;
	border-style: solid solid none solid;
	border-width: 1px;
	border-color: #808080;
	line-height: 2em;
	text-align:center;
}
div.mailbody-menutab ul li span {
	display: inline-block;
	width: 150px;
	margin: 0px 0px -1px 0px;
	text-decoration: none;
	background-color: #FFFFFF;
	border-style: solid solid none solid;
	border-width: 1px;
	border-color: #808080;
	line-height: 2em;
	text-align:center;
}
--></style>