Files
EasySoft-ZenTaoPMS/module/upgrade/view/execute.html.php
2022-01-24 13:19:13 +08:00

37 lines
1.4 KiB
PHP

<?php
/**
* The html template file of execute method of upgrade module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package upgrade
* @version $Id: execute.html.php 5119 2013-07-12 08:06:42Z wyd621@gmail.com $
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<div class='container'>
<div class='modal-dialog'>
<div class='modal-header'>
<strong><?php echo $lang->upgrade->result;?></strong>
</div>
<div class='modal-body'>
<?php if($result == 'fail'):?>
<div class='alert alert-danger mgb-10'><strong><?php echo $lang->upgrade->fail?></strong></div>
<?php echo html::textarea('errors', join("\n", $errors), "rows='10' class='form-control' readonly");?>
<?php endif;?>
</div>
<?php if($result == 'fail'):?>
<div class='modal-footer text-left'><?php echo $lang->upgrade->afterDeleted;?> <?php echo html::a('#', $this->lang->refresh, '', "class='btn btn-sm' onclick='refreshPage(this)'");?></div>
<?php endif;?>
</div>
</div>
<script>
function refreshPage(obj)
{
$(obj).attr('disabled', true);
location.reload()
}
</script>
<?php include '../../common/view/footer.lite.html.php';?>