- 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/design/template.tpl
r16717 r17351 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 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 63 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">64 <tr bgcolor="#f2f1ec" class="fs12n">65 <td>66 テンプレートを選択し、「この内容で登録する」ボタンを押すと、<br>67 選択したテンプレートへデザインを変更することが出来ます。<br>68 </td>69 </tr>70 <tr bgcolor="#ffffff" class="fs12n">71 <td>72 <table width="650" bgcolor="#cccccc" border="0" cellspacing="1" cellpadding="5" summary=" ">73 <tr bgcolor="#f2f1ec" align="center" class="fs12n">74 <td width="">選択</td>75 <td width="">名前</td>76 <td width="">保存先</td>77 <td width="">ダウンロード</td>78 <td width="50">削除</td>79 </tr>80 <!--{foreach from=$templates item=tpl}-->81 <!--{assign var=tplcode value=$tpl.template_code}-->82 <tr bgcolor="#ffffff" align="center" class="fs12">83 <td width="" ><input type="radio" name="template_code" value="<!--{$tplcode|escape}-->" <!--{if $tplcode == $tpl_select}-->checked<!--{/if}-->></td>84 <td width=""><!--{$tpl.template_name|escape}--></td>85 <td width="" align="left">data/Smarty/templates/<!--{$tplcode|escape}-->/</td>86 <td width=""><span class="icon_confirm"><a href="" onClick="fnModeSubmit('download','template_code_temp','<!--{$tplcode}-->');return false;">ダウンロード</a></span></td>87 <td width=""><span class="icon_delete"><a href="" onClick="fnModeSubmit('delete','template_code_temp','<!--{$tplcode}-->');return false;">削除</a></span></td>88 </tr>89 <!--{/foreach}-->90 36 91 </table> 92 </td> 93 </tr> 94 </table> 95 96 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 97 <tr> 98 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 99 <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> 100 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 101 </tr> 102 <tr> 103 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 104 <td bgcolor="#e9e7de" align="center"> 105 <table border="0" cellspacing="0" cellpadding="0" summary=" "> 106 <tr> 107 <td> 108 <a href="" onClick="submitRegister();return false;"> 109 <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"> 110 </a> 111 </td> 112 </tr> 113 </table> 114 </td> 115 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 116 </tr> 117 <tr> 118 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> 119 </tr> 120 </table> 121 </td> 122 <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 123 </tr> 124 <tr> 125 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> 126 </tr> 127 <tr><td height="30"></td></tr> 128 </table> 129 </td> 130 </tr> 131 <!--メインエリア--> 132 </table> 133 <!--▲登録テーブルここまで--> 134 </td> 135 </tr> 37 <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 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> 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> 136 70 </form> 137 </table>138 <!--★★メインコンテンツ★★-->
Note: See TracChangeset
for help on using the changeset viewer.