mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 13:25:32 +08:00
45 lines
1.7 KiB
HTML
45 lines
1.7 KiB
HTML
<!--
|
||
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
||
|
||
Licensed under the Apache License, Version 2.0 (the "License");
|
||
you may not use this file except in compliance with the License.
|
||
You may obtain a copy of the License at
|
||
|
||
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
Unless required by applicable law or agreed to in writing, software
|
||
distributed under the License is distributed on an "AS IS" BASIS,
|
||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
See the License for the specific language governing permissions and
|
||
limitations under the License.
|
||
-->
|
||
|
||
<meta charset="utf-8">
|
||
<div class="tableform">
|
||
<p class="notice"><{t}>说明:您可以在此处备份商店的整站数据库结构和数据,一旦商店数据意外损坏,您可以通过数据库恢复功能恢复所备份的数据。<{/t}><br />
|
||
<span class="loud"><{t}>备份分卷大小:1024 K<{/t}></span><br><span class="loud"><{t}>备份过程中请勿进行其他页面操作。<{/t}></span><br/>
|
||
<span class="loud"><{t}>上次备份时间:<{/t}><{if !$time}><{t}>从未备份<{/t}><{else}><{$time}><{/if}></span>
|
||
|
||
</p>
|
||
|
||
<div id="BackupProgess" align='center'></div>
|
||
|
||
|
||
|
||
|
||
<div id="backupbtn" class="table-action">
|
||
<{button type='button' label=$___desktop='开始备份'|t:'desktop' onclick='runbackup(0)'}>
|
||
</div>
|
||
|
||
</div>
|
||
<script>
|
||
function runbackup(url){
|
||
if(!url) {
|
||
$('BackupProgess').innerHTML = '<{t}>正在备份,请勿进行其他页面操作。<{/t}>';
|
||
$('backupbtn').innerHTML = '';
|
||
}
|
||
if(!url) url = 'index.php?app=desktop&ctl=backup&act=backup_sdf';
|
||
new Request({url:url,update:'BackupProgess',data:'a=a',evalScripts:true}).send();
|
||
}
|
||
</script>
|