- 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/system/bkup.tpl
r16583 r17351 1 1 <!--{* 2 /* 2 3 * This file is part of EC-CUBE 3 4 * 4 * Copyright(c) 2000-200 7LOCKON CO.,LTD. All Rights Reserved.5 * Copyright(c) 2000-2008 LOCKON CO.,LTD. All Rights Reserved. 5 6 * 6 7 * http://www.lockon.co.jp/ … … 19 20 * along with this program; if not, write to the Free Software 20 21 * 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=" "> 22 */ 23 *}--> 24 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 <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 align="center" class="fs12n"> 67 <td bgcolor="#f2f1ec" width="130">バックアップ名<span class="red"> *</span></td> 68 <td bgcolor="#ffffff" width="548" align=left> 69 <span class="red12"><!--{$arrErr.bkup_name}--></span> 70 <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> 71 </td> 72 </tr> 73 <tr align="center" class="fs12n"> 74 <td bgcolor="#f2f1ec" width="130">バックアップメモ</td> 75 <td bgcolor="#ffffff" width="548" align=left> 76 <span class="red12"><!--{$arrErr.bkup_memo}--></span> 77 <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> 78 <span class="red"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span> 79 </td> 80 </tr> 81 </table> 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> 82 50 83 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 84 <tr> 85 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 86 <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> 87 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> 88 </tr> 89 <tr> 90 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 91 <td bgcolor="#e9e7de" align="center"> 92 <table border="0" cellspacing="0" cellpadding="0" summary=" "> 93 <tr> 94 <td><input type="button" name="cre_bkup" value="バックアップデータを作成する" onClick="document.body.style.cursor = 'wait'; form1.mode.value='bkup'; submit();" /></td> 95 </tr> 96 </table> 97 </td> 98 <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> 99 </tr> 100 <tr> 101 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> 102 </tr> 103 </table> 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> 104 52 105 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 106 <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> 107 </table> 108 109 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 110 <tr> 111 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> 112 </tr> 113 <tr> 114 <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> 115 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->バックアップ一覧</span></td> 116 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 117 </tr> 118 <tr> 119 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> 120 </tr> 121 <tr> 122 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 123 </tr> 124 </table> 125 126 <!--{* 一覧が存在する場合のみ表示する *}--> 127 <!--{if count($arrBkupList) > 0 }--> 128 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 129 <tr bgcolor="#f2f1ec" align="center" class="fs12n"> 130 <td width="150" align="center">バックアップ名</td> 131 <td width="338">バックアップメモ</td> 132 <td width="170">作成日</td> 133 <td width="50">リストア</td> 134 <td width="90">ダウンロード</td> 135 <td width="50" align="center">削除</td> 136 </tr> 137 <!--{section name=cnt loop=$arrBkupList}--> 138 <tr bgcolor="#ffffff" class="fs12"> 139 <td ><!--{$arrBkupList[cnt].bkup_name}--></td> 140 <td ><!--{$arrBkupList[cnt].bkup_memo}--></td> 141 <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td> 142 <td align="center"><a href="#" onclick="document.body.style.cursor = 'wait'; fnModeSubmit('restore','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">restore</a></td> 143 <td align="center"><a href="#" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">download</a></td> 144 <td align="center"> 145 <a href="#" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">delete</a> 146 </td> 147 </tr> 148 <!--{/section}--> 149 </table> 150 <!--{/if}--> 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}--> 151 79 152 153 <!--{if $restore_msg != ""}--> 154 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 155 <tr> 156 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 157 </tr> 158 </table> 159 160 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 161 <tr bgcolor="#ffffff" class="fs12"> 162 <td> 163 ▼実行結果<br> 164 <!--{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}--> 165 <!--{$restore_msg}--> 166 </td> 167 </tr> 168 </table> 169 <!--{/if}--> 170 171 </td> 172 <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 173 </tr> 174 <tr> 175 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> 176 </tr> 177 <tr><td height="30"></td></tr> 178 </table> 179 </td> 180 </tr> 181 <!--メインエリア--> 182 </table> 183 <!--▲登録テーブルここまで--> 184 </td> 185 </tr> 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> 186 92 </form> 187 </table>188 <!--★★メインコンテンツ★★-->
Note: See TracChangeset
for help on using the changeset viewer.