enqueteMailSetting.html.svn-base 7.22 KB
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
#set($title = "アンケートメール設定")
#set($menukubun = "3")
#parse( "/WEB-INF/view/common/header_admin.vm" )

<script language="JavaScript" type="text/JavaScript">

	function enqueteBack(){
		location.href="#q('/admin/enquete/enqueteSearch/back/')";
	}

    <!--
    /* function mailRegist(eid){
    	location.href="#q('/admin/enquete/enqueteRegist/questionRegistIndex')?eid="+eid;
	} */
    -->
</script>

<div id="contents">
	<div id="contents_main">
			<div id="breadcrumbsWrap">
							<!-- <div id="breadcrumbs" class="fs01 clearfix">
								<ul class="crumbs">
									<li><a href="#q('/admin/enquete/')">アンケート管理</a>&nbsp;></li>
									<li><a href="#q('/admin/enquete/enqueteSearch/')">アンケート検索</a>&nbsp;></li>
									<li><em>アンケートメール設定</em></li>
								</ul>
							</div>[ /breadcrumbs ] -->
			</div><!--[ /breadcrumbsWrap ]-->
			<div id="main" class="clearfix">


<form method="POST" action="#q('/admin/enquete/enqueteMailSetting/confirm/')"  name="frm">
<input type="hidden" name="eid"         value="$!enqueteMailSettingForm.eid" />
<input type="hidden" name="enqueteName" value="$!{enqueteMailSettingForm.enqueteName}" />
<input type="hidden" name="adminEnqueteId" value="$!{enqueteMailSettingForm.eid}"/>
<input type="hidden" name="memberEnqueteId" value="$!{enqueteMailSettingForm.eid}"/>



<h2 class="contents_title">アンケートメール設定</h2>

							<div id="right_contents">
							#if($tools.getMsgs()!="")
							<font color="red" size="2">入力エラーがあります。</font>
							#end
															<table border="0" cellspacing="0" cellpadding="0" class="stripe">
								<tr class="gray">
									<td class="w130">アンケート名</td>
									<td>
										<input type="text"  class="w420" value="$!{enqueteMailSettingForm.enqueteName}" disabled="disabled">
									</td>
								</tr>
								</table>
								<BR>


								<h3 class="table_title">管理者用通知メール設定</h3>
								<table border="0" cellspacing="0" cellpadding="0" class="stripe">

								<tr class="gray">
									<td class="w130">通知メール送信</td>
									<td>
										<input type="radio" name="adminNotifyMailSendFlg"   value="1" #if($!{enqueteMailSettingForm.adminNotifyMailSendFlg} == "1") checked #end/>送信する
										#if($!{enqueteMailSettingForm.adminNotifyMailSendFlg} )
										<input type="radio" name="adminNotifyMailSendFlg"   value="0" #if($!{enqueteMailSettingForm.adminNotifyMailSendFlg} == "0") checked #end />送信しない
										#else
										<input type="radio" name="adminNotifyMailSendFlg"   value="0"  checked />送信しない
										#end

									</td>
								</tr>

								<!-- adminNotifyMailSendFlg
								adminNotifyMailSendTo
								adminNotifyMailSendBcc
								adminSubject
								adminMailBody -->

								<tr class="gray">
									<td class="w130">通知メール送信先</td>
									<td>
										<input type="text" name="adminNotifyMailSendTo" id="textfield"  class="w420"  value="$!{enqueteMailSettingForm.adminNotifyMailSendTo}"/>
										#if($!tools.getMsg("adminNotifyMailSendTo")) <BR> $tools.getMsg("adminNotifyMailSendTo") #end
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">通知メール送信先CC</td>
									<td>
										<input type="text" name="adminNotifyMailSendCc" id="textfield"  class="w420" value="$!{enqueteMailSettingForm.adminNotifyMailSendCc}"/>
										#if($!tools.getMsg("adminNotifyMailSendCc")) <BR> $tools.getMsg("adminNotifyMailSendCc") #end
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">通知メール送信元</td>
									<td>
										<input type="text" name="textfield" id="textfield"  class="w420" value='${sinaburo.get("DEFAULT_MAIL_FROM_ADDRESS")}' disabled="disabled"/>
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">サブジェクト</td>
									<td>
										<input type="text" name="adminSubject" id="textfield"  class="w420" value="$!escape.html($!{enqueteMailSettingForm.adminSubject})"/>
										#if($!tools.getMsg("adminSubject")) <BR> $!tools.getMsg("adminSubject") #end
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">メール本文</td>
									<td>
										<textArea rows="5"  name="adminMailBody"  class="w420" name="adminMailBody">$!{enqueteMailSettingForm.adminMailBody}</textArea>
										#if($!tools.getMsg("adminMailBody")) <BR> $tools.getMsg("adminMailBody") #end
									</td>
								</tr>
								</table>
								<BR>

								<h3 class="table_title">回答ユーザ用通知メール設定</h3>
								<table border="0" cellspacing="0" cellpadding="0" class="stripe">

								<tr class="gray">
									<td class="w130">通知メール送信</td>
									<td>
										<input type="radio" name="memberNotifyMailSendFlg"   value="1" #if($!{enqueteMailSettingForm.memberNotifyMailSendFlg} == "1") checked #end />送信する
										#if($!{enqueteMailSettingForm.memberNotifyMailSendFlg})
										<input type="radio" name="memberNotifyMailSendFlg"   value="0" #if($!{enqueteMailSettingForm.memberNotifyMailSendFlg} == "0") checked #end />送信しない
										#else
											<input type="radio" name="memberNotifyMailSendFlg"  value="0" checked >送信しない
										#end
									</td>
								</tr>


								<tr class="gray">
									<td class="w130">通知メール送信先BCC</td>
									<td>
										<input type="text" name="memberNotifyMailSendBcc"  class="w420" value="$!{enqueteMailSettingForm.memberNotifyMailSendBcc}" />
										#if($!tools.getMsg("memberNotifyMailSendBcc")) <BR> $tools.getMsg("memberNotifyMailSendBcc") #end
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">通知メール送信元</td>
									<td>
										<input type="text"  class="w420"  value='${sinaburo.get("DEFAULT_MAIL_FROM_ADDRESS")}' disabled="disabled" />
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">サブジェクト</td>
									<td>
										<input type="text" name="memberSubject" id="textfield"  class="w420" value="$!escape.html($!{enqueteMailSettingForm.memberSubject})" />
										#if($!tools.getMsg("memberSubject")) <BR> $tools.getMsg("memberSubject") #end
									</td>
								</tr>

								<tr class="gray">
									<td class="w130">メール本文</td>
									<td>
										<textArea rows="5"  name="memberMailBody"  class="w420" >$!{enqueteMailSettingForm.memberMailBody}</textArea>
										#if($!tools.getMsg("memberMailBody")) <BR> $tools.getMsg("memberMailBody") #end
									</td>
								</tr>
								</table>
										<BR>
										<div class="btn_area2">
											<a href="#" onclick="enqueteBack();" >
											 <input type="button" class="button" value="戻る"  onclick="enqueteBack();"/>
											</a>

											<a href="#" onclick="document.frm.submit()" >
												<input type="button" class="button" value="更新" />
											</a>
										</div>
								</div><!--right contents-->
					</div><!--main-->
	<div id="contents_bottom">
		<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" />
	</div>
</div><!--contents_main-->

</form>

</div><!--contents-->

 </div>
#parse( "/WEB-INF/view/common/footer_admin.vm" )