- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/data/Smarty/templates/admin/contents/index.tpl
r12157 r15078 10 10 11 11 function func_regist(url) { 12 res = confirm(' ¤³¤ÎÆâÍƤÇ<!--{if $edit_mode eq "on"}-->ÊÔ½¸<!--{else}-->ÅÐÏ¿<!--{/if}-->¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');12 res = confirm('この内容で<!--{if $edit_mode eq "on"}-->編集<!--{else}-->登録<!--{/if}-->しても宜しいですか?'); 13 13 if(res == true) { 14 14 document.form1.mode.value = 'regist'; … … 26 26 27 27 function func_del(news_id) { 28 res = confirm(' ¤³¤Î¿·Ãå¾ðÊó¤òºï½ü¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');28 res = confirm('この新着情報を削除しても宜しいですか?'); 29 29 if(res == true) { 30 30 document.form1.mode.value = "delete"; … … 59 59 60 60 if ( j > 1) { 61 alert( ' °ÜÆ°½ç°Ì¤Ï£±¤Ä¤À¤±ÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );61 alert( '移動順位は1つだけ入力してください。' ); 62 62 return false; 63 63 } else if( ! val ) { 64 alert( ' °ÜÆ°½ç°Ì¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );64 alert( '移動順位を入力してください。' ); 65 65 return false; 66 66 } else if( val.length > 4){ 67 alert( ' °ÜÆ°½ç°Ì¤Ï4·å°ÊÆâ¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );67 alert( '移動順位は4桁以内で入力してください。' ); 68 68 return false; 69 69 } else if( val.match(/[0-9]+/g) != val){ 70 alert( ' °ÜÆ°½ç°Ì¤Ï¿ô»ú¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );70 alert( '移動順位は数字で入力してください。' ); 71 71 return false; 72 72 } else if( val == rank ){ 73 alert( ' °ÜÆ°¤µ¤»¤ëÈֹ椬½ÅÊ£¤·¤Æ¤¤¤Þ¤¹¡£' );73 alert( '移動させる番号が重複しています。' ); 74 74 return false; 75 75 } else if( val == 0 ){ 76 alert( ' °ÜÆ°½ç°Ì¤Ï0°Ê¾å¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );76 alert( '移動順位は0以上で入力してください。' ); 77 77 return false; 78 78 } else if( val > max_rank ){ 79 alert( ' ÆþÎϤµ¤ì¤¿½ç°Ì¤Ï¡¢ÅÐÏ¿¿ô¤ÎºÇÂçÃͤòĶ¤¨¤Æ¤¤¤Þ¤¹¡£' );79 alert( '入力された順位は、登録数の最大値を超えています。' ); 80 80 return false; 81 81 } else { … … 91 91 </script> 92 92 93 <!-- ¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->93 <!--★★メインコンテンツ★★--> 94 94 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> 95 95 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> … … 99 99 <tr valign="top"> 100 100 <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402"> 101 <!-- ¢§SUB NAVI-->101 <!--▼SUB NAVI--> 102 102 <!--{include file=$tpl_subnavi}--> 103 <!-- ¢¥SUB NAVI-->103 <!--▲SUB NAVI--> 104 104 </td> 105 105 <td class="mainbg"> 106 <!-- ¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->106 <!--▼登録テーブルここから--> 107 107 <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> 108 <!-- ¥á¥¤¥ó¥¨¥ê¥¢-->108 <!--メインエリア--> 109 109 <tr> 110 110 <td align="center"> … … 124 124 <tr> 125 125 <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 126 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!-- ¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¿·µ¬ÅÐÏ¿</span></td>126 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->新規登録</span></td> 127 127 <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 128 128 </tr> … … 135 135 </table> 136 136 137 <!-- ¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->137 <!--▼登録テーブルここから--> 138 138 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 139 139 <thead> 140 140 <tr class="fs12n"> 141 <td bgcolor="#f2f1ec" width="78"> ÆüÉÕ<span class="red"> *</span></td>141 <td bgcolor="#f2f1ec" width="78">日付<span class="red"> *</span></td> 142 142 <td bgcolor="#ffffff" width="600"><span class="red"><!--{$arrErr.year}--><!--{$arrErr.month}--><!--{$arrErr.day}--></span> 143 143 <select name="year" <!--{if $arrErr.year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->> 144 144 <option value="" selected>----</option> 145 145 <!--{html_options options=$arrYear selected=$selected_year}--> 146 </select> ǯ146 </select>年 147 147 <select name="month" <!--{if $arrErr.month}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->> 148 148 <option value="" selected>--</option> 149 149 <!--{html_options options=$arrMonth selected=$selected_month}--> 150 </select> ·î150 </select>月 151 151 <select name="day" <!--{if $arrErr.day}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->> 152 152 <option value="" selected>--</option> 153 153 <!--{html_options options=$arrDay selected=$selected_day}--> 154 </select> Æü155 </td> 156 </tr> 157 <tr> 158 <td bgcolor="#f2f1ec" width="" class="fs12n"> ¥¿¥¤¥È¥ë<span class="red"> *</span></td>154 </select>日 155 </td> 156 </tr> 157 <tr> 158 <td bgcolor="#f2f1ec" width="" class="fs12n">タイトル<span class="red"> *</span></td> 159 159 <td bgcolor="#ffffff" width="" class="fs12n"><!--{if $arrErr.news_title}--><span class="red"><!--{$arrErr.news_title}--></span><!--{/if}--> 160 <textarea name="news_title" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" <!--{if $arrErr.news_title}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->><!--{$news_title|escape}--></textarea><br/><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.MTEXT_LEN}-->ʸ»ú¡Ë</span>160 <textarea name="news_title" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" <!--{if $arrErr.news_title}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->><!--{$news_title|escape}--></textarea><br/><span class="red"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span> 161 161 </td> 162 162 </tr> … … 165 165 <tr> 166 166 <td bgcolor="#f2f1ec" width="38" class="fs12n">URL</td> 167 <td bgcolor="#ffffff" width="600" class="fs12n"><span class="red"><!--{$arrErr.news_url}--></span><input type="text" name="news_url" size="60" class="box60" value="<!--{$news_url|escape}-->" <!--{if $arrErr.news_url}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.URL_LEN}-->"/><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.URL_LEN}-->ʸ»ú¡Ë</span>167 <td bgcolor="#ffffff" width="600" class="fs12n"><span class="red"><!--{$arrErr.news_url}--></span><input type="text" name="news_url" size="60" class="box60" value="<!--{$news_url|escape}-->" <!--{if $arrErr.news_url}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.URL_LEN}-->"/><span class="red"> (上限<!--{$smarty.const.URL_LEN}-->文字)</span> 168 168 </td> 169 169 </tr> 170 170 <tr class="fs12n"> 171 <td bgcolor="#f2f1ec" width="78"> ¥ê¥ó¥¯</td>172 <td bgcolor="#ffffff" width="600"><input type="checkbox" name="link_method" value="2" <!--{if $link_method eq 2}--> checked <!--{/if}--> > ÊÌ¥¦¥£¥ó¥É¥¦¤Ç³«¤¯</td>173 </tr> 174 <tr> 175 <td bgcolor="#f2f1ec" width="38" class="fs12n"> ËÜʸºîÀ®</td>176 <td bgcolor="#ffffff" width="600" class="fs12n"><!--{if $arrErr.news_comment}--><span class="red"><!--{$arrErr.news_comment}--></span><!--{/if}--><textarea name="news_comment" cols="60" rows="8" wrap="soft" class="area60" maxlength="<!--{$smarty.const.LTEXT_LEN}-->" style="background-color:<!--{if $arrErr.news_comment}--><!--{$smarty.const.ERR_COLOR|escape}--><!--{/if}-->"><!--{$news_comment|escape}--></textarea><br/><span class="red"> ¡Ê¾å¸Â3000ʸ»ú¡Ë</span>171 <td bgcolor="#f2f1ec" width="78">リンク</td> 172 <td bgcolor="#ffffff" width="600"><input type="checkbox" name="link_method" value="2" <!--{if $link_method eq 2}--> checked <!--{/if}--> >別ウィンドウで開く</td> 173 </tr> 174 <tr> 175 <td bgcolor="#f2f1ec" width="38" class="fs12n">本文作成</td> 176 <td bgcolor="#ffffff" width="600" class="fs12n"><!--{if $arrErr.news_comment}--><span class="red"><!--{$arrErr.news_comment}--></span><!--{/if}--><textarea name="news_comment" cols="60" rows="8" wrap="soft" class="area60" maxlength="<!--{$smarty.const.LTEXT_LEN}-->" style="background-color:<!--{if $arrErr.news_comment}--><!--{$smarty.const.ERR_COLOR|escape}--><!--{/if}-->"><!--{$news_comment|escape}--></textarea><br/><span class="red"> (上限3000文字)</span> 177 177 </td> 178 178 </tr> 179 179 </tfoot> 180 180 </table> 181 <!-- ¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->181 <!--▲登録テーブルここまで--> 182 182 183 183 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> … … 192 192 <table border="0" cellspacing="0" cellpadding="0" summary=" "> 193 193 <tr> 194 <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt=" ¤³¤ÎÆâÍƤÇÅÐÏ¿¤¹¤ë" border="0" name="subm" onclick="return func_regist();"></td>194 <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" onclick="return func_regist();"></td> 195 195 </tr> 196 196 </table> … … 214 214 <tr> 215 215 <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 216 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!-- ¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->ÅÐÏ¿ºÑ¤ß¿·Ãå¾ðÊó</span></td>216 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->登録済み新着情報</span></td> 217 217 <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 218 218 </tr> … … 225 225 </table> 226 226 227 <!-- ¢§°ìÍ÷ɽ¼¨¥¨¥ê¥¢¤³¤³¤«¤é-->227 <!--▼一覧表示エリアここから--> 228 228 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 229 229 <form name="move" id="move" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> … … 234 234 <input type="hidden" name="rank" value=""> 235 235 <tr bgcolor="#f2f1ec" align="center" class="fs12n"> 236 <td width="30"> ½ç°Ì</td>237 <td width="76"> ÆüÉÕ</td>238 <td width="269"> ¥¿¥¤¥È¥ë</td>239 <td width="50"> ÊÔ½¸</td>240 <td width="50"> ºï½ü</td>241 <td width="100"> °ÜÆ°</td>236 <td width="30">順位</td> 237 <td width="76">日付</td> 238 <td width="269">タイトル</td> 239 <td width="50">編集</td> 240 <td width="50">削除</td> 241 <td width="100">移動</td> 242 242 </tr> 243 243 <!--{if $arrErr.moveposition}--> … … 257 257 <!--{/if}--> 258 258 </td> 259 <td width="" align="center"><a href="#" onclick="return func_edit('<!--{$list_data[data].news_id|escape}-->');"> ÊÔ½¸</a></td>260 <td width="" align="center"><a href="#" onclick="return func_del('<!--{$list_data[data].news_id|escape}-->');"> ºï½ü</a></td>259 <td width="" align="center"><a href="#" onclick="return func_edit('<!--{$list_data[data].news_id|escape}-->');">編集</a></td> 260 <td width="" align="center"><a href="#" onclick="return func_del('<!--{$list_data[data].news_id|escape}-->');">削除</a></td> 261 261 <td width="" align="center"> 262 262 <!--{if count($list_data) != 1}--> 263 <input type="text" name="pos-<!--{$list_data[data].news_id}-->" size="3" class="box3" /> ÈÖÌܤØ<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnFormModeSubmit('move', 'moveRankSet','news_id', '<!--{$list_data[data].news_id}-->'); return false;">°ÜÆ°</a><br />263 <input type="text" name="pos-<!--{$list_data[data].news_id}-->" size="3" class="box3" />番目へ<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnFormModeSubmit('move', 'moveRankSet','news_id', '<!--{$list_data[data].news_id}-->'); return false;">移動</a><br /> 264 264 <!--{/if}--> 265 <!--{if $list_data[data].rank ne $max_rank}--><a href="#" onclick="return func_rankMove('up', '<!--{$list_data[data].news_id|escape}-->', '<!--{$max_rank|escape}-->');"> ¾å¤Ø</a><!--{/if}-->¡¡<!--{if $list_data[data].rank ne 1}--><a href="#" onclick="return func_rankMove('down', '<!--{$list_data[data].news_id|escape}-->', '<!--{$max_rank|escape}-->');">²¼¤Ø</a><!--{/if}-->265 <!--{if $list_data[data].rank ne $max_rank}--><a href="#" onclick="return func_rankMove('up', '<!--{$list_data[data].news_id|escape}-->', '<!--{$max_rank|escape}-->');">上へ</a><!--{/if}--> <!--{if $list_data[data].rank ne 1}--><a href="#" onclick="return func_rankMove('down', '<!--{$list_data[data].news_id|escape}-->', '<!--{$max_rank|escape}-->');">下へ</a><!--{/if}--> 266 266 </td> 267 267 </tr> 268 268 <!--{sectionelse}--> 269 269 <tr bgcolor="#ffffff" class="fs12n"> 270 <td colspan="6"> ¸½ºß¥Ç¡¼¥¿¤Ï¤¢¤ê¤Þ¤»¤ó¡£</td>270 <td colspan="6">現在データはありません。</td> 271 271 </tr> 272 272 <!--{/section}--> 273 273 </form> 274 274 </table> 275 <!-- ¢¥°ìÍ÷ɽ¼¨¥¨¥ê¥¢¤³¤³¤Þ¤Ç-->275 <!--▲一覧表示エリアここまで--> 276 276 277 277 </td> … … 285 285 </td> 286 286 </tr> 287 <!-- ¥á¥¤¥ó¥¨¥ê¥¢-->287 <!--メインエリア--> 288 288 </table> 289 <!-- ¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->289 <!--▲登録テーブルここまで--> 290 290 </td> 291 291 </tr> 292 292 </table> 293 <!-- ¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->293 <!--★★メインコンテンツ★★-->
Note: See TracChangeset
for help on using the changeset viewer.