source: branches/comu-ver2/data/Smarty/templates/default/admin/system/bkup.tpl @ 17351

Revision 17351, 4.1 KB checked in by pineray, 16 years ago (diff)
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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="">
25<input type="hidden" name="mode" value="edit" />
26<input type="hidden" name="list_name" value="" />
27<div id="system" class="contents-main">
28  <h2>バックアップ作成</h2>
29  <table class="form">
30    <tr>
31      <th>バックアップ名<span class="attention"> *</span></th>
32      <td>
33        <!--{if $arrErr.bkup_name}-->
34        <span class="attention"><!--{$arrErr.bkup_name}--></span>
35        <!--{/if}-->
36        <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>
37      </td>
38    </tr>
39    <tr>
40      <th>バックアップメモ</th>
41      <td>
42        <!--{if $arrErr.bkup_memo}-->
43        <span class="attention"><!--{$arrErr.bkup_memo}--></span>
44        <!--{/if}-->
45        <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>
46        <span class="attention"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span>
47      </td>
48    </tr>
49  </table>
50
51  <div class="btn"><button type="button" name="cre_bkup" onClick="document.body.style.cursor = 'wait'; form1.mode.value='bkup'; submit();"><span>バックアップデータを作成する</span></button></div>
52
53  <h2>バックアップ一覧</h2>
54  <!--{* 一覧が存在する場合のみ表示する *}-->
55  <!--{if count($arrBkupList) > 0 }-->
56  <table class="list">
57    <tr>
58      <th>バックアップ名</th>
59      <th>バックアップメモ</th>
60      <th>作成日</th>
61      <th>リストア</th>
62      <th>ダウンロード</th>
63      <th>削除</th>
64    </tr>
65    <!--{section name=cnt loop=$arrBkupList}-->
66    <tr>
67      <td ><!--{$arrBkupList[cnt].bkup_name}--></td>
68      <td ><!--{$arrBkupList[cnt].bkup_memo}--></td>     
69      <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td>
70      <td align="center"><a href="#" onclick="document.body.style.cursor = 'wait'; fnModeSubmit('restore','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">restore</a></td>
71      <td align="center"><a href="#" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">download</a></td>
72      <td align="center">
73        <a href="#" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">delete</a>
74      </td> 
75    </tr>
76    <!--{/section}-->
77  </table>
78  <!--{/if}-->
79
80 
81  <!--{if $restore_msg != ""}-->
82  <h2>実行結果</h2>
83  <div class="message">
84    <!--{if $restore_err == false}-->
85    <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>
86    <!--{/if}-->
87    <!--{$restore_msg}-->
88  </div>
89  <!--{/if}-->
90 
91</div>
92</form>
Note: See TracBrowser for help on using the repository browser.