source: branches/version-2_12-multilang/data/Smarty/templates/admin/system/bkup.tpl @ 22122

Revision 22122, 5.3 KB checked in by h_yoshimoto, 11 years ago (diff)

#1955 r22111r22120 間のコミットをmerge

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • 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-2012 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
25<script>
26    function fnRestore(list_name) {
27        if (window.confirm('<!--{t string="tpl_646"}-->')) {
28            document.body.style.cursor = 'wait';
29            fnModeSubmit('restore', 'list_name', list_name);
30        }
31    }
32</script>
33<form name="form1" id="form1" method="post" action="" onsubmit="return false;">
34<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
35<input type="hidden" name="mode" value="edit" />
36<input type="hidden" name="list_name" value="" />
37<div id="system" class="contents-main">
38    <p class="remark">
39        <!--{t string="tpl_647"}-->
40    </p>
41    <table class="form">
42        <tr>
43            <th><!--{t string="tpl_648"}--><span class="attention"> *</span></th>
44            <td>
45                <!--{if $arrErr.bkup_name}-->
46                <span class="attention"><!--{$arrErr.bkup_name}--></span>
47                <!--{/if}-->
48                <input type="text" name="bkup_name" value="<!--{$arrForm.bkup_name|h}-->" 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"> <!--{t string="tpl_023" T_FIELD=$smarty.const.STEXT_LEN}--></span>
49            </td>
50        </tr>
51        <tr>
52            <th><!--{t string="tpl_649"}--></th>
53            <td>
54                <!--{if $arrErr.bkup_memo}-->
55                    <span class="attention"><!--{$arrErr.bkup_memo}--></span>
56                <!--{/if}-->
57                <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}-->"><!--{"\n"}--><!--{$arrForm.bkup_memo|h}--></textarea>
58                <span class="attention"> <!--{t string="tpl_023" T_FIELD=$smarty.const.MTEXT_LEN}--></span>
59            </td>
60        </tr>
61    </table>
62
63    <div class="btn"><a class="btn-normal" href="javascript:;" name="cre_bkup" onclick="document.body.style.cursor = 'wait'; form1.mode.value='bkup'; document.form1.submit(); return false;"><span><!--{t string="tpl_650"}--></span></a></div>
64
65
66    <h2><!--{t string="tpl_651"}--></h2>
67
68
69    <!--{if $arrErr.list_name}-->
70    <span class="attention"><!--{$arrErr.list_name}--></span><br />
71    <!--{/if}-->
72    <!--{* 一覧が存在する場合のみ表示する *}-->
73    <!--{if count($arrBkupList) > 0}-->
74        <table class="list">
75            <tr>
76                <th><!--{t string="tpl_648"}--></th>
77                <th><!--{t string="tpl_649"}--></th>
78                <th><!--{t string="tpl_351"}--></th>
79                <th><!--{t string="tpl_652"}--></th>
80                <th><!--{t string="tpl_302"}--></th>
81                <th class="delete"><!--{t string="tpl_004"}--></th>
82            </tr>
83            <!--{section name=cnt loop=$arrBkupList}-->
84                <tr>
85                    <td ><!--{$arrBkupList[cnt].bkup_name}--></td>
86                    <td ><!--{$arrBkupList[cnt].bkup_memo}--></td>
87                    <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td>
88                    <td align="center"><a href="javascript:;" onclick="fnRestore('<!--{$arrBkupList[cnt].bkup_name}-->'); return false;"><!--{t string="tpl_652"}--></a></td>
89                    <td align="center"><a href="javascript:;" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;"><!--{t string="tpl_302"}--></a></td>
90                    <td align="center">
91                        <a href="javascript:;" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;"><!--{t string="tpl_004"}--></a>
92                    </td>
93                </tr>
94            <!--{/section}-->
95        </table>
96    <!--{/if}-->
97
98    <!--{if strlen($tpl_restore_msg) >= 1}-->
99        <h2><!--{t string="tpl_653"}--></h2>
100        <div class="message">
101            <!--{if $tpl_restore_err == false}-->
102                <div class="btn"><a class="btn-normal" href="javascript:;" name="restore_config" onClick="document.body.style.cursor = 'wait'; form1.mode.value='restore_config'; form1.list_name.value='<!--{$tpl_restore_name|h}-->'; submit(); return false;"><span><!--{t string="tpl_654"}--></span></a></div>
103            <!--{/if}-->
104            <!--{$tpl_restore_msg|h}-->
105        </div>
106    <!--{/if}-->
107
108</div>
109</form>
Note: See TracBrowser for help on using the repository browser.