source: trunk/data/Smarty/templates/default/admin/system/bkup.tpl @ 18758

Revision 18758, 10.2 KB checked in by kajiwara, 14 years ago (diff)

EC-CUBE Ver2.4.4 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=223

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<!--★★メインコンテンツ★★-->
23<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
24<form name="form1" id="form1" method="post" action="" onsubmit="return false;">
25<input type="hidden" name="mode" value="edit">
26<input type="hidden" name="list_name" value="">
27    <tr valign="top">
28        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
29            <!--▼SUB NAVI-->
30            <!--{include file=$tpl_subnavi}-->
31            <!--▲SUB NAVI-->
32        </td>
33        <td class="mainbg">
34            <!--▼登録テーブルここから-->
35            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
36                <!--メインエリア-->
37                <tr>
38                    <td align="center">
39                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
40                            <tr><td height="14"></td></tr>
41                            <tr>
42                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
43                            </tr>
44                            <tr>
45                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
46                                <td bgcolor="#cccccc">
47
48                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
49                                    <tr>
50                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
51                                    </tr>
52                                    <tr>
53                                        <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>
54                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->バックアップ作成</span></td>
55                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
56                                    </tr>
57                                    <tr>
58                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
59                                    </tr>
60                                    <tr>
61                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
62                                    </tr>
63                                </table>
64
65                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
66                                    <tr class="fs12n">
67                                        <td colspan="3" bgcolor="#f2f1ec">
68                                        <ul>
69                                            <li>データベースのバックアップを行います。</li>
70                                            <li>テンプレートファイル等はバックアップされません。</li>
71                                        </ul>
72                                        </td>
73                                    </tr>
74                                    <tr align="center" class="fs12n">
75                                        <td bgcolor="#f2f1ec" width="130">バックアップ名<span class="red"> *</span></td>
76                                        <td bgcolor="#ffffff" width="548" align=left>
77                                            <span class="red12"><!--{$arrErr.bkup_name}--></span>
78                                            <input type="text" name="bkup_name" value="<!--{$arrForm.bkup_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.bkup_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> ime-mode: disabled;" /><span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
79                                        </td>
80                                    </tr>
81                                    <tr align="center" class="fs12n">
82                                        <td bgcolor="#f2f1ec" width="130">バックアップメモ</td>
83                                        <td bgcolor="#ffffff" width="548" align=left>
84                                            <span class="red12"><!--{$arrErr.bkup_memo}--></span>
85                                            <textarea name="bkup_memo" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" cols="60" rows="5" class="area60" style="<!--{if $arrErr.bkup_memo != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" ><!--{$arrForm.bkup_memo|escape}--></textarea>
86                                            <span class="red"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span>
87                                        </td>
88                                    </tr>
89                                </table>
90
91                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
92                                    <tr>
93                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
94                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
95                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
96                                    </tr>
97                                    <tr>
98                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
99                                        <td bgcolor="#e9e7de" align="center">
100                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
101                                            <tr>
102                                                <td><input type="button" name="cre_bkup" value="バックアップデータを作成する" onClick="document.body.style.cursor = 'wait'; form1.mode.value='bkup'; submit();" /></td>
103                                            </tr>
104                                        </table>
105                                        </td>
106                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
107                                    </tr>
108                                    <tr>
109                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
110                                    </tr>
111                                </table>
112
113                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
114                                    <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
115                                </table>
116
117                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
118                                    <tr>
119                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
120                                    </tr>
121                                    <tr>
122                                        <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>
123                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->バックアップ一覧</span></td>
124                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
125                                    </tr>
126                                    <tr>
127                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
128                                    </tr>
129                                    <tr>
130                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
131                                    </tr>
132                                </table>
133
134                                <!--{* 一覧が存在する場合のみ表示する *}-->
135                                <!--{if count($arrBkupList) > 0 }-->
136                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
137                                    <tr bgcolor="#f2f1ec" align="center" class="fs12n">
138                                        <td width="150" align="center">バックアップ名</td>
139                                        <td width="338">バックアップメモ</td>
140                                        <td width="170">作成日</td>
141                                        <td width="50">リストア</td>
142                                        <td width="90">ダウンロード</td>
143                                        <td width="50" align="center">削除</td>
144                                    </tr>
145                                    <!--{section name=cnt loop=$arrBkupList}-->
146                                    <tr bgcolor="#ffffff" class="fs12">
147                                        <td ><!--{$arrBkupList[cnt].bkup_name}--></td>
148                                        <td ><!--{$arrBkupList[cnt].bkup_memo}--></td>
149                                        <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td>
150                                        <td align="center"><a href="#" onclick="document.body.style.cursor = 'wait'; fnModeSubmit('restore','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">restore</a></td>
151                                        <td align="center"><a href="#" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">download</a></td>
152                                        <td align="center">
153                                            <a href="#" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">delete</a>
154                                        </td>
155                                    </tr>
156                                    <!--{/section}-->
157                                </table>
158                                <!--{/if}-->
159
160
161                                <!--{if $restore_msg != ""}-->
162                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
163                                    <tr>
164                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
165                                    </tr>
166                                </table>
167
168                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
169                                    <tr bgcolor="#ffffff" class="fs12">
170                                        <td>
171                                            ▼実行結果<br>
172                                            <!--{if $restore_err == false}--><input type="button" name="restore_config" value="テーブル構成を無視してリストアする" onClick="document.body.style.cursor = 'wait'; form1.mode.value='restore_config'; form1.list_name.value='<!--{$restore_name}-->'; submit();" /><br><!--{/if}-->
173                                            <!--{$restore_msg}-->
174                                        </td>
175                                    </tr>
176                                </table>
177                                <!--{/if}-->
178
179                                </td>
180                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
181                            </tr>
182                            <tr>
183                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
184                            </tr>
185                            <tr><td height="30"></td></tr>
186                        </table>
187                    </td>
188                </tr>
189                <!--メインエリア-->
190            </table>
191            <!--▲登録テーブルここまで-->
192        </td>
193    </tr>
194</form>
195</table>
196<!--★★メインコンテンツ★★-->
Note: See TracBrowser for help on using the repository browser.