- Timestamp:
- 2011/02/23 16:23:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/admin/mail/input_confirm.tpl
r20116 r20343 22 22 */ 23 23 *}--> 24 <script type="text/javascript"> 25 <!-- 26 function winSubmitMail(URL,formName,Winname,Wwidth,Wheight){ 27 var WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no"); 28 document.forms[formName].target = Winname; 29 document.forms[formName].submit(); 30 WIN.focus(); 31 } 32 //--> 33 </script> 24 34 <form name="form1" id="form1" method="post" action="?"> 25 <!--{foreach key=key item=val from=$arrHidden}--> 26 <input type="hidden" name="<!--{$key}-->" value="<!--{$val|h}-->" /> 35 <input type="hidden" name="mode" value="template"> 36 <input type="hidden" name="subject" value="<!--{$arrForm.subject.value|h}-->"> 37 <input type="hidden" name="body" value="<!--{$arrForm.body.value|h}-->"> 38 <input type="hidden" name="mail_method" value="<!--{$arrForm.mail_method.value|h}-->"> 39 <input type="hidden" name="template_id" value="<!--{$arrForm.template_id.value|h}-->"> 40 <!--{foreach key=key item=item from=$arrHidden}--> 41 <!--{if is_array($item)}--> 42 <!--{foreach item=c_item from=$item}--> 43 <input type="hidden" name="<!--{$key}-->[]" value="<!--{$c_item|h}-->" /> 44 <!--{/foreach}--> 45 <!--{else}--> 46 <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> 47 <!--{/if}--> 27 48 <!--{/foreach}--> 28 49 <div id="mail" class="contents-main"> 29 50 <table class="form"> 30 <!--{if $smarty.const.MELMAGA_BATCH_MODE}-->31 <tr>32 <th>配信時間設定<span class="attention"> *</span></th>33 <td>34 <!--{$list_data.send_year}-->年<!--{$list_data.send_month}-->月<!--{$list_data.send_day}-->日35 <!--{$list_data.send_hour}-->時<!--{$list_data.send_minutes}-->分36 </td>37 </tr>38 <!--{/if}-->39 <!--▼インクルードここから-->40 <!--{if $list_data.template_id}-->41 51 <tr> 42 52 <th>Subject<span class="attention"> *</span></th> 43 <td><!--{$ list_data.subject|h}--></td>53 <td><!--{$arrForm.subject.value|h}--></td> 44 54 </tr> 45 <!--{if $ list_data.mail_methodne 2}-->46 <tr>47 <td colspan="2"><a href="#" onClick="return document.form2.submit();">HTMLで確認</a></td>48 </tr>55 <!--{if $arrForm.mail_method.value ne 2}--> 56 <tr> 57 <td colspan="2"><a href="javascript:;" onClick="winSubmitMail('','form2','preview',650,700); return false;">HTMLで確認</a></td> 58 </tr> 49 59 <!--{/if}--> 50 <!--{if $smarty.post.template_mode ne "html_template"}-->51 60 <tr> 52 61 <th>本文<span class="attention"> *</span><br />(名前差し込み時は {name} といれてください)</th> 53 <td><!--{$ list_data.body|h|nl2br}--></td>62 <td><!--{$arrForm.body.value|h|nl2br}--></td> 54 63 </tr> 55 <!--{/if}-->56 <!--{/if}-->57 <!--▲インクルードここまで-->58 64 </table> 59 65 … … 61 67 <ul> 62 68 <li><a class="btn-action" href="javascript:;" name="subm02" onclick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_back', '' ); return false;"><span class="btn-prev">テンプレート設定画面へ戻る</span></a></li> 63 <!--{if $smarty.const.MELMAGA_BATCH_MODE}--> 64 <li><a class="btn-action" href="javascript:;" name="subm03" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_complete', '' ); return false;" <!--{$list_data.template_id|sfGetEnabled}-->><span class="btn-next">配信を予約する</span></a></li> 65 <!--{else}--> 66 <li><a class="btn-action" href="javascript:;" name="subm03" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_complete', '' ); return false;" <!--{$list_data.template_id|sfGetEnabled}-->><span class="btn-next">配信する</span></a></li> 67 <!--{/if}--> 69 <li><a class="btn-action" href="javascript:;" name="subm03" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_complete', '' ); return false;"><span class="btn-next">配信する</span></a></li> 68 70 </ul> 69 71 </div> 70 72 </div> 71 <input type="hidden" name="mode" value="template">72 73 </form> 73 <form name="form2" id="form2" method="post" action="./preview.php" target="_blank">74 <input type="hidden" name="subject" value="<!--{$list_data.subject|h}-->" />75 <input type="hidden" name="body" value="<!--{$list_data.body|h}-->" />76 </form>
Note: See TracChangeset
for help on using the changeset viewer.
