- Timestamp:
- 2008/06/16 12:13:09 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/Smarty/templates/default/admin/mail/template_input.tpl
r16582 r17351 1 <!--{*1 <!--{* 2 2 /* 3 3 * This file is part of EC-CUBE 4 4 * 5 * Copyright(c) 2000-200 7LOCKON CO.,LTD. All Rights Reserved.5 * Copyright(c) 2000-2008 LOCKON CO.,LTD. All Rights Reserved. 6 6 * 7 7 * http://www.lockon.co.jp/ … … 25 25 <!-- 26 26 function lfnCheckSubmit(){ 27 28 fm = document.form1; 29 var err = ''; 30 31 if ( ! fm["subject"].value ){ 32 err += 'Subjectを入力して下さい。'; 33 } 34 if ( ! fm["body"].value ){ 35 if ( err ) err += '\n'; 36 err += '本文を入力して下さい。'; 37 } 38 if ( err ){ 39 alert(err); 40 return false; 41 } else { 42 if(window.confirm('内容を登録しても宜しいですか')){ 43 return true; 44 }else{ 45 return false; 46 } 47 } 27 28 fm = document.form1; 29 var err = ''; 30 31 if ( ! fm["subject"].value ){ 32 err += 'Subjectを入力して下さい。'; 33 } 34 if ( ! fm["body"].value ){ 35 if ( err ) err += ' 36 '; 37 err += '本文を入力して下さい。'; 38 } 39 if ( err ){ 40 alert(err); 41 return false; 42 } else { 43 if(window.confirm('内容を登録しても宜しいですか')){ 44 return true; 45 }else{ 46 return false; 47 } 48 } 48 49 } 49 50 //--> 50 51 </script> 51 52 52 <!--★★メインコンテンツ★★--> 53 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> 53 54 54 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" onSubmit="return lfnCheckSubmit();"> 55 <input type="hidden" name="mode" value="<!--{$mode}-->"> 56 <input type="hidden" name="template_id" value="<!--{$arrForm.template_id}-->"> 57 <tr valign="top"> 58 <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> 59 <!--▼SUB NAVI--> 60 <!--{include file=$tpl_subnavi}--> 61 <!--▲SUB NAVI--> 62 </td> 63 <td class="mainbg"> 64 <!--▼登録テーブルここから--> 65 <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> 66 <!--メインエリア--> 67 <tr> 68 <td align="center"> 69 <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> 70 <tr><td height="14"></td></tr> 71 <tr> 72 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> 73 </tr> 74 <tr> 75 <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 76 <td bgcolor="#cccccc"> 77 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 78 <tr> 79 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> 80 </tr> 81 <tr> 82 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 83 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->配信内容設定:<!--{$title}--></span></td> 84 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 85 </tr> 86 <tr> 87 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> 88 </tr> 89 <tr> 90 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 91 </tr> 92 </table> 55 <input type="hidden" name="mode" value="<!--{$mode}-->" /> 56 <input type="hidden" name="template_id" value="<!--{$arrForm.template_id}-->" /> 57 <div id="mail" class="contents-main"> 58 <h2>配信内容設定:<!--{$title}--></h2> 59 <table class="form"> 60 <tr> 61 <th>メール形式<span class="attention"> *</span></th> 62 <td> 63 <span <!--{if $arrErr.mail_method}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{html_radios name="mail_method" options=$arrMagazineType separator=" " selected=$arrForm.mail_method}--></span> 64 <!--{if $arrErr.mail_method}--><br /><span class="attention"><!--{$arrErr.mail_method}--></span><!--{/if}--> 65 </td> 66 </tr> 67 <tr> 68 <th>Subject<span class="attention"> *</span></th> 69 <td> 70 <input type="text" name="subject" size="65" class="box65" <!--{if $arrErr.subject}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.subject|escape}-->" /> 71 <!--{if $arrErr.subject}--><br /><span class="attention"><!--{$arrErr.subject}--></span><!--{/if}--> 72 </td> 73 </tr> 74 <tr> 75 <th>本文<span class="attention"> *</span><br />(名前差し込み時は {name} といれてください)</th> 76 <td> 77 <textarea name="body" cols="90" rows="40" class="area90" <!--{if $arrErr.body}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.body|escape}--></textarea> 78 <!--{if $arrErr.body}--><br /><span class="attention"><!--{$arrErr.body}--></span><!--{/if}--> 79 </td> 80 </tr> 81 </table> 82 <div class="btn"> 83 <button type="submit"><span>この内容で登録する</span></button> 84 <button type="button" onclick="fnCharCount('form1','body','cnt_footer');" name="next" id="next"><span>文字数カウント</span></button> 85 <span>今までに入力したのは<input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right" />文字です。</span> 86 </div> 87 </table> 93 88 94 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">95 <tr class="fs12n">96 <td bgcolor="#f2f1ec">メール形式<span class="red"> *</span></td>97 <td bgcolor="#ffffff"><span <!--{if $arrErr.mail_method}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{html_radios name="mail_method" options=$arrMagazineType separator=" " selected=$arrForm.mail_method}--></span>98 <!--{if $arrErr.mail_method}--><br><span class="red12"><!--{$arrErr.mail_method}--></span><!--{/if}-->99 </td>100 </tr>101 <tr>102 <td bgcolor="#f2f1ec" class="fs12n">Subject<span class="red"> *</span></td>103 <td bgcolor="#ffffff">104 <input type="text" name="subject" size="65" class="box65" <!--{if $arrErr.subject}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.subject|escape}-->" />105 <!--{if $arrErr.subject}--><br><span class="red12"><!--{$arrErr.subject}--></span><!--{/if}-->106 </td>107 </tr>108 <tr>109 <td bgcolor="#f2f1ec" colspan="2" class="fs12n">本文<span class="red"> *</span>(名前差し込み時は {name} といれてください)</td>110 </tr>111 <tr>112 <td bgcolor="#ffffff" colspan="2">113 <textarea name="body" cols="90" rows="40" class="area90" <!--{if $arrErr.body}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.body|escape}--></textarea>114 <!--{if $arrErr.body}--><br><span class="red12"><!--{$arrErr.body}--></span><!--{/if}-->115 </td>116 </tr>117 </table>118 119 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">120 <tr>121 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>122 <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>123 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>124 </tr>125 <tr>126 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>127 <td bgcolor="#e9e7de" align="center">128 <table border="0" cellspacing="0" cellpadding="0" summary=" ">129 <tr>130 <td width="30%"></td>131 <td width="40%" align = "center" valign="upper"><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm"></td>132 <td width="30%" align = "right" valign="upper"><input type="button" width="110" height="30" value="文字数カウント" onclick="fnCharCount('form1','body','cnt_footer');" border="0" name="next" id="next" />133 <br><span class="fs10n">今までに入力したのは<input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right">文字です。</span></td>134 </tr>135 </table>136 </td>137 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>138 </tr>139 <tr>140 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>141 </tr>142 </table>143 </td>144 <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>145 </tr>146 <tr>147 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>148 </tr>149 <tr><td height="30"></td></tr>150 </table>151 </td>152 </tr>153 <!--メインエリア-->154 </table>155 <!--▲登録テーブルここまで-->156 </td>157 </tr>158 </table>159 <!--★★メインコンテンツ★★-->
Note: See TracChangeset
for help on using the changeset viewer.