mailEditConfirm.html.svn-base 4.83 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
#set($title = "メール編集確認")
#set($menukubun = "2")
#parse( "/WEB-INF/view/common/header_admin.vm" )
<style type="text/css">
#loading {
  display: none;
  text-align: center;
  background: #fff;
  height: 50px;
  line-height: 50px;
}
</style>
<script language="JavaScript">
  <!--
    function ReturnPage()
    {
		document.forms[0].action="#q('/admin/mail/mailEdit/back/')";
		document.forms[0].submit();
	}

	function editRegist()
    {
    	document.mainForm.submit();
		return false;
	}


    //-->
</script>
<script type="text/javascript">
$(function() {
	$("#registMail").one('click', function() {
		$("#loading").show();
		centerPopup();
//		$("#pics").load('test.html', function() {
//			$("#loading").fadeOut(function() {
//				$("#pics").show();
//			});
//		});
	});
});

function centerPopup(){
  var windowWidth = document.documentElement.clientWidth;
  var windowHeight = document.documentElement.clientHeight;
  var popupHeight = $("#loading").height();
  var popupWidth = $("#loading").width();
  $("#loading").css({
    "position": "absolute",
    "top": windowHeight/2-popupHeight/2,
    "left": 600
  });

//    $("#right_contents").css({
//    "position": "absolute",
//    "backgroundColor": "#000"
//  });

//  $("#backgroundPopup").css({
//    "height": windowHeight
//  });
}
</script>
<div id="contents">
<div id="contents_main">
<div id="breadcrumbsWrap">

</div><!--[ /breadcrumbsWrap ]-->
<div id="main" class="clearfix">


<h2 class="contents_title">メール編集確認</h2>

<div id="right_contents">

<h3 class="table_title">入力内容確認</h3>
<table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb30 w850">
<tr>
		<td id="xxxx">・入力した内容を確認して、よろしければ下の登録ボタンを押してください。<br>
		・※注意!まだ登録は完了ではありません。
		</td>
</tr>
</table>
<div id="loading"><img src="/em/images/loadin1g.gif" width="100" height="100" /></div>
#set($mail-url = $tools.getSecureUrl('/admin/mail/mailEdit/regist/'))
<form name="mainForm" action="$!mail-url" method="post">
<table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb10 w850" style="word-wrap:break-word;word-break:break-all;">
	<tr>
		<td  class="w160">ステータス</td>
		<td>&nbsp;
			#if($!mailRegistForm.status == 0)未配信
			#elseif($!mailRegistForm.status == 1)配信済
			#else 一時保存
			#end
		</td>
	</tr>
##<input type="hidden" name="status" value="$!mailRegistForm.status">
##<input type="hidden" name="enqueteMailId" value="$!mailRegistForm.enqueteMailId">-->
	<tr>
		<td class="w140">メール件名</td>
		<td class="w610">$!escape.html($!mailRegistForm.subject)</td>
		##<input type="hidden" name="subject" value="$!mailRegistForm.subject">
	</tr>
	<tr>
		<td>配信先</td>
		<td>$!escape.html($!mailRegistForm.groupName)</td>
		##<input type="hidden" name="deliveryGroupId" value="$!mailRegistForm.deliveryGroupId">
	</tr>
	#if ($!mailRegistForm.sendType == "1")
	<tr>
		<td>アンケート名</td>
		<td>$!escape.html($!mailRegistForm.enqueteName)</td>
	</tr>
	#end
	<tr>
		<td>差出人名(From)</td>
		<td>$!escape.html($!mailRegistForm.sender)</td>
		##<input type="hidden" name="sender" value="$!mailRegistForm.sender">
	</tr>
	<tr>
		<td style="vertical-align:top">本文</td>
		<td>$tools.newLineToBr($escape.html($!mailRegistForm.mailBody))</td>
	</tr>
	#if ($!mailRegistForm.sendType != "1")
	<tr>
		<td>配信対象</td>
		<td>
		#if ($!mailRegistForm.deliveryTargetType == "0")
			PC用のアドレスのみ
		#else
			携帯用のアドレスのみ
		#end
		</td>
		##<input type="hidden" name="deliveryTargetType" value="$!mailRegistForm.deliveryTargetType">
	</tr>
	#end
	<tr>
		<td  class="w140">配信方法</td>
		<td>
		#if ($!mailRegistForm.deliveryTargetMethod == "0")
			時間指定 &nbsp;&nbsp; $!mailRegistForm.deliveryDate $!mailRegistForm.deliveryHour:$!mailRegistForm.deliveryMin
		#else
			即時配信
		#end</td>
		##<input type="hidden" name="deliveryTargetMethod" value="$!mailRegistForm.deliveryTargetMethod">
		##<input type="hidden" name="deliveryDate" value="$!mailRegistForm.deliveryDate">
		##<input type="hidden" name="deliveryHour" value="$!mailRegistForm.deliveryHour">
		##<input type="hidden" name="deliveryMin" value="$!mailRegistForm.deliveryMin">
	</tr>

</table>
<div class="btn_area2" style="width:840px;">
		<button class="button" onClick="javascript:ReturnPage(); return false;">戻る</button>&nbsp;&nbsp;&nbsp;
		<button id="registMail" class="button" onclick="editRegist(); return false;">メール送信</button>
</div>
## 	<div style="visibility: hidden;">
## 	<textArea name="mailBody">$!{mailRegistForm.mailBody}</textArea>
## 	</div>
#makeToken()
</form>
</div>
</div>
<div id="contents_bottom">
<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div>
</div>
</div>
</div>

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