Files
OMS/app/ome/view/admin/data/logi.html
2026-01-04 19:08:31 +08:00

39 lines
1.5 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.
-->
<h5 class="head-title">清除数据</h5>
<div class="division">
只有超级管理员有此权限!
</div>
<div class="table-action">
<form method="post" action="index.php?app=ome&ctl=admin_data_clear&act=logi" id="submit_form">
<div>
<table>
<tr><td align="left" style="width: 150px">请输入超级管理员名称:</td><td align="left"><input type="text" name="name" vtype="required" value="<{$user}>" /></td></tr>
<tr><td align="left">请输入超级管理员密码:</td><td align="left"><input type="password" name="pwd" vtype="required" /></td></tr>
</table>
</div>
<div align="left" style="margin-left: 130px;margin-top: 30px"><{button class="btn-primary" label="提交" id="submit_btn" onclick='pre_submit()'}></div>
</form>
</div>
<script type="text/javascript">
function pre_submit(){
if(confirm('确认清除系统数据?')){
$('submit_form').fireEvent('submit',{stop:$empty});
}
}
</script>