📄 list_backup.tpl
字号:
<script language='javascript'>
<!--
function deleteBackup(sDate)
{
if(confirm('即将删除 [' + sDate + '] 日备份的数据, 是否继续?'))
{
window.location = "{CurrentURL}&code=delete&Date=" + sDate;
}
}
function restoreBackup(sDate)
{
if(confirm('即将恢复 [' + sDate + '] 日的备份数据, 恢复后原数据将覆盖现有数据, 是否继续?'))
{
window.location = "{CurrentURL}&code=restore&Date=" + sDate;
}
}
function downloadBackup(sDate)
{
window.location = "{CurrentURL}&code=download&Date=" + sDate;
}
//-->
</script>
<table width="100%" border="0" cellspacing=0 cellpadding=5 class=adminlist>
<tr class='info_title'>
<th>备份日期</th>
<th width=140>备份选项</th>
<th width=140>备份大小</th>
<th width=80>操作</th>
</tr>
<!-- beginRow BackupList -->
<tr align="center" class='list_content' onmouseover='highlightrow2(this, true);' onmouseout='highlightrow2(this, false);'>
<td>{BackupList.Date}</td>
<td>数据库:{BackupList.IncludeDB} 图片:{BackupList.IncludePicture}</td>
<td>{BackupList.Size}</td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="operate">
<tr align="center">
<td><img class=btn_image alt='下载' title='下载' src='images/btn_down.gif' onClick='downloadBackup("{BackupList.Date}");'></td>
<td><img class=btn_image alt='删除' title='删除' src='images/btn_del.gif' onClick='deleteBackup("{BackupList.Date}");'></td>
<td><img class=btn_image alt='恢复' title='恢复' src='images/btn_unknown.png' onClick='restoreBackup("{BackupList.Date}");'></td>
</tr>
</table>
</td>
</tr>
<!-- endRow BackupList -->
<tr class='info_bottom'>
<td colspan=4 align=right> <input type="button" onClick='doSomething("backup");' value="创建备份"></td></tr>
</table>
<br>
<br>
<!--
<form action='{ACTION}' enctype='multipart/form-data' method='POST'>
<table width="100%" border="0" cellspacing=0 cellpadding=5 class=adminlist>
<tr class='info_title'>
<td colspan=3><b>导入备份文件</b></td>
</tr>
<tr class='info_content'>
<td>选择文件</td>
<td>
<input type=file size=60 name=backup>
</td>
<td>
从本地选择原有的备份文件
</td>
</tr>
<tr class='info_bottom'>
<td colspan=3 align=center>
<input type=submit value='导入备份文件'>
</td>
</tr>
</table>
</form>
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -