- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/Smarty/templates/default/admin/design/template.tpl
r18177 r18609 1 1 <!--{* 2 2 /* 3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 3 * This file is part of EC-CUBE 4 * 5 * Copyright(c) 2000-2008 LOCKON CO.,LTD. All Rights Reserved. 4 6 * 5 7 * http://www.lockon.co.jp/ 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License 11 * as published by the Free Software Foundation; either version 2 12 * of the License, or (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 6 22 */ 7 23 *}--> 8 24 <script type="text/javascript"><!-- 9 25 function submitRegister() { 10 11 var msg= "テンプレートを変更します。";26 var form = document.form1; 27 var msg = "テンプレートを変更します。"; 12 28 13 14 15 16 29 if (window.confirm(msg)) { 30 form['mode'].value = 'register'; 31 form.submit(); 32 } 17 33 } 18 34 // --> 19 35 </script> 20 <!--★★メインコンテンツ★★-->21 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">22 <form name="form1" method="post" action="">23 <input type="hidden" name="mode" value="">24 <input type="hidden" name="template_code_temp" value="">25 <input type="hidden" name="uniqid" value="<!--{$uniqid}-->">26 <tr valign="top">27 <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">28 <!--▼SUB NAVI-->29 <!--{include file=$tpl_subnavi}-->30 <!--▲SUB NAVI-->31 </td>32 <td class="mainbg">33 <!--▼登録テーブルここから-->34 <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">35 <!--メインエリア-->36 <tr>37 <td align="center">38 <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">39 <tr><td height="14"></td></tr>40 <tr>41 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>42 </tr>43 <tr>44 <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>45 <td bgcolor="#cccccc">46 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">47 <tr>48 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>49 </tr>50 <tr>51 <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>52 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->テンプレート設定</span></td>53 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>54 </tr>55 <tr>56 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>57 </tr>58 <tr>59 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>60 </tr>61 </table>62 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">63 <tr bgcolor="#f2f1ec" class="fs12n">64 <td>65 テンプレートを選択し、「この内容で登録する」ボタンを押すと、<br />66 選択したテンプレートへデザインを変更することが出来ます。<br />67 </td>68 </tr>69 <tr bgcolor="#ffffff" class="fs12n">70 <td>71 <table width="650" bgcolor="#cccccc" border="0" cellspacing="1" cellpadding="5" summary=" ">72 <tr bgcolor="#f2f1ec" align="center" class="fs12n">73 <td width="">選択</td>74 <td width="">名前</td>75 <td width="">保存先</td>76 <td width="">ダウンロード</td>77 <td width="50">削除</td>78 </tr>79 <!--{foreach from=$templates item=tpl}-->80 <!--{assign var=tplcode value=$tpl.template_code}-->81 <tr bgcolor="#ffffff" align="center" class="fs12">82 <td width="" ><input type="radio" name="template_code" value="<!--{$tplcode|escape}-->" <!--{if $tplcode == $tpl_select}-->checked<!--{/if}-->></td>83 <td width=""><!--{$tpl.template_name|escape}--></td>84 <td width="" align="left">data/Smarty/templates/<!--{$tplcode|escape}-->/</td>85 <td width=""><span class="icon_confirm"><a href="" onClick="fnModeSubmit('download','template_code_temp','<!--{$tplcode}-->');return false;">ダウンロード</a></span></td>86 <td width=""><span class="icon_delete"><a href="" onClick="fnModeSubmit('delete','template_code_temp','<!--{$tplcode}-->');return false;">削除</a></span></td>87 </tr>88 <!--{/foreach}-->89 36 90 </table> 91 </td> 92 </tr> 93 </table> 94 95 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 96 <tr> 97 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 98 <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> 99 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 100 </tr> 101 <tr> 102 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 103 <td bgcolor="#e9e7de" align="center"> 104 <table border="0" cellspacing="0" cellpadding="0" summary=" "> 105 <tr> 106 <td> 107 <a href="" onClick="submitRegister();return false;"> 108 <img 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"> 109 </a> 110 </td> 111 </tr> 112 </table> 113 </td> 114 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 115 </tr> 116 <tr> 117 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> 118 </tr> 119 </table> 120 </td> 121 <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 122 </tr> 123 <tr> 124 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> 125 </tr> 126 <tr><td height="30"></td></tr> 127 </table> 128 </td> 129 </tr> 130 <!--メインエリア--> 131 </table> 132 <!--▲登録テーブルここまで--> 133 </td> 37 <form name="form1" method="post" action="?"> 38 <input type="hidden" name="mode" value="" /> 39 <input type="hidden" name="template_code_temp" value="" /> 40 <input type="hidden" name="uniqid" value="<!--{$uniqid}-->" /> 41 <div id="design" class="contents-main"> 42 <h2>テンプレート設定</h2> 43 <p> 44 テンプレートを選択し、「この内容で登録する」ボタンを押すと、<br /> 45 選択したテンプレートへデザインを変更することが出来ます。 46 </p> 47 <table class="list center"> 48 <tr> 49 <th>選択</th> 50 <th>名前</th> 51 <th>保存先</th> 52 <th>ダウンロード</th> 53 <th>削除</th> 134 54 </tr> 55 <!--{foreach from=$templates item=tpl}--> 56 <!--{assign var=tplcode value=$tpl.template_code}--> 57 <tr class="center"> 58 <td><input type="radio" name="template_code" value="<!--{$tplcode|escape}-->" <!--{if $tplcode == $tpl_select}-->checked<!--{/if}--> /></td> 59 <td class="left"><!--{$tpl.template_name|escape}--></td> 60 <td class="left">data/Smarty/templates/<!--{$tplcode|escape}-->/</td> 61 <td><span class="icon_confirm"><a href="#" onClick="fnModeSubmit('download','template_code_temp','<!--{$tplcode}-->');return false;">ダウンロード</a></span></td> 62 <td><span class="icon_delete"><a href="#" onClick="fnModeSubmit('delete','template_code_temp','<!--{$tplcode}-->');return false;">削除</a></span></td> 63 </tr> 64 <!--{/foreach}--> 65 </table> 66 <div class="btn"> 67 <button type="submit" onclick="submitRegister();return false;"><span>この内容で登録する</span></button> 68 </div> 69 </div> 135 70 </form> 136 </table>137 <!--★★メインコンテンツ★★-->
Note: See TracChangeset
for help on using the changeset viewer.