source: branches/version-2_5-dev/data/Smarty/templates/admin/system/bkup.tpl @ 19715

Revision 19715, 4.5 KB checked in by nanasess, 13 years ago (diff)

#382(管理画面XHTMLに変更)

  • UI を改善
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
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.
22 */
23*}-->
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<div id="system" class="contents-main">
28    <p class="remark">
29        データベースのバックアップを行います。<br />
30        テンプレートファイル等はバックアップされません。
31        </p>
32    <table class="form">
33        <tr>
34            <th>バックアップ名<span class="attention"> *</span></th>
35            <td>
36                <!--{if $arrErr.bkup_name}-->
37                <span class="attention"><!--{$arrErr.bkup_name}--></span>
38                <!--{/if}-->
39                <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="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
40            </td>
41        </tr>
42        <tr>
43            <th>バックアップメモ</th>
44            <td>
45                <!--{if $arrErr.bkup_memo}-->
46                <span class="attention"><!--{$arrErr.bkup_memo}--></span>
47                <!--{/if}-->
48                <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>
49                <span class="attention"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span>
50            </td>
51        </tr>
52    </table>
53
54    <div class="btn"><button type="button" name="cre_bkup" onClick="document.body.style.cursor = 'wait'; form1.mode.value='bkup'; submit();"><span>バックアップデータを作成する</span></button></div>
55
56    <h2>バックアップ一覧</h2>
57    <!--{* 一覧が存在する場合のみ表示する *}-->
58    <!--{if count($arrBkupList) > 0 }-->
59    <table class="list">
60        <tr>
61            <th>バックアップ名</th>
62            <th>バックアップメモ</th>
63            <th>作成日</th>
64            <th>リストア</th>
65            <th>ダウンロード</th>
66            <th>削除</th>
67        </tr>
68        <!--{section name=cnt loop=$arrBkupList}-->
69        <tr>
70            <td ><!--{$arrBkupList[cnt].bkup_name}--></td>
71            <td ><!--{$arrBkupList[cnt].bkup_memo}--></td>
72            <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td>
73            <td align="center"><a href="#" onclick="document.body.style.cursor = 'wait'; fnModeSubmit('restore','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">リストア</a></td>
74            <td align="center"><a href="#" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">ダウンロード</a></td>
75            <td align="center">
76                <a href="#" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">削除</a>
77            </td>
78        </tr>
79        <!--{/section}-->
80    </table>
81    <!--{/if}-->
82
83   
84    <!--{if $restore_msg != ""}-->
85    <h2>実行結果</h2>
86    <div class="message">
87        <!--{if $restore_err == false}-->
88        <div class="btn"><button type="button" name="restore_config" onClick="document.body.style.cursor = 'wait'; form1.mode.value='restore_config'; form1.list_name.value='<!--{$restore_name}-->'; submit();"><span>テーブル構成を無視してリストアする</span></button></div>
89        <!--{/if}-->
90        <!--{$restore_msg}-->
91    </div>
92    <!--{/if}-->
93   
94</div>
95</form>
Note: See TracBrowser for help on using the repository browser.