mirror of
https://github.com/zyx0814/dzzoffice.git
synced 2025-04-04 22:33:37 +08:00
* 修复数据表格点击重置按钮后不按类型加载数据问题和添加刷新按钮 * 修复邮件发件人为空问题 * 修复分享文件在移动端无法打开文件夹问题 * 修复网盘应用在Linux环境下部分语言不能翻译的问题 * 重命名 dzz/explorer/language/zh-CN 为 dzz/explorer/language/zh-cn * 修改php版本要求 * 优化在线升级页面UI,网盘新增群组空间大小修改 * 修改php版本要求 * Update core_version.php
257 lines
9.5 KiB
HTML
257 lines
9.5 KiB
HTML
<!--{template lyear:header_simple_start}-->
|
||
<!--{template lyear:header_simple_end}-->
|
||
<main class="bs-main-container">
|
||
<div class="container-fluid">
|
||
<div class="card">
|
||
<!--{if $operation == 'patch' || $operation == 'cross'}-->
|
||
<header class="card-header">
|
||
<div class="card-title">
|
||
<strong>{lang upgrade}</strong>
|
||
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
|
||
<ol class="breadcrumb">
|
||
<!--{loop $steplang $key $value}-->
|
||
<!--{if $key>0 && $key<=5}-->
|
||
<li class="breadcrumb-item <!--{if $key==$step}-->active" style="color: var(--bs-primary);" aria-current="page<!--{/if}-->">{$key}.{$value}</li>
|
||
<!--{/if}-->
|
||
<!--{/loop}-->
|
||
</ol>
|
||
</nav>
|
||
</div>
|
||
</header>
|
||
<!--{/if}-->
|
||
<!--{if $operation=='check'}-->
|
||
<!--{if $msg}-->
|
||
<div class="card-body">
|
||
<div id="step4">
|
||
<div class="alert alert-warning text-center">
|
||
$msg
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--{else}-->
|
||
<div class="card-body">
|
||
<div class="text-center m-2">
|
||
<h2 class="text-success ml20">{lang upgrade_checking}</h2>
|
||
<div class="progress">
|
||
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" style="width: 0%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">
|
||
jQuery('.progress-bar').animate({ width: '100%' }, 3000, function() {
|
||
window.location.href = '{MOD_URL}&op=systemupgrade&operation=check&checking=1';
|
||
});
|
||
</script>
|
||
<!--{/if}-->
|
||
<!--{elseif $operation=='showupgrade'}-->
|
||
<!--{if $msg}-->
|
||
<div class="card-body">
|
||
<div id="step4">
|
||
<div class="alert alert-warning">
|
||
$msg
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--{else}-->
|
||
<div class="card-header">
|
||
<div class="card-title">{lang founder_upgrade_select_version}</div>
|
||
</div>
|
||
<div class="card-body">
|
||
<div class="table-responsive">
|
||
<table class="table table-hover align-middle">
|
||
<!--{loop $list $value}-->
|
||
<tr>
|
||
<td>$value[title]</td>
|
||
<td>$value[btn1]</td>
|
||
<!--{if $value[official]}-->
|
||
<td>$value[official]</td>
|
||
<!--{/if}-->
|
||
</tr>
|
||
<!--{/loop}-->
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<!--{/if}-->
|
||
<!--{elseif $operation=='patch' || $operation=='cross' }-->
|
||
<!--{if !$_G['setting']['bbclosed']}-->
|
||
<div class="card-body">
|
||
<div class="alert alert-warning text-center">
|
||
$msg
|
||
</div>
|
||
</div>
|
||
<!--{elseif $step==1}-->
|
||
<div class="card-header">
|
||
<div class="card-title">{lang founder_upgrade_preupdatelist}</div>
|
||
</div>
|
||
<div class="card-body">
|
||
<div class="table-responsive">
|
||
<table class="table table-hover align-middle">
|
||
<!--{loop $updatefilelist $value}-->
|
||
<tr>
|
||
<td> <i class="mdi mdi-file"></i> $value</td>
|
||
</tr>
|
||
<!--{/loop}-->
|
||
<thead>
|
||
<th colspan="5"> {lang founder_upgrade_store_directory} ./data/update/dzzoffice$version</th>
|
||
</thead>
|
||
<thead>
|
||
<th colspan="5"> <input type="button" class="btn btn-primary" onclick="window.location.href='$linkurl'" value="{lang founder_upgrade_download}">{eval echo upgradeinformation(0)}</th>
|
||
</thead>
|
||
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<!--{elseif $step==2}-->
|
||
<div class="card-body">
|
||
<div>$msg</div>
|
||
</div>
|
||
<!--{elseif $step==3}-->
|
||
<!--{if $msg}-->
|
||
<div class="card-body">
|
||
<div id="step4">
|
||
<div class="alert alert-warning text-center">
|
||
$msg
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--{else}-->
|
||
<div class="card-body">
|
||
<div class="alert alert-warning text-center">
|
||
{lang founder_upgrade_diff_show}
|
||
</div>
|
||
<div class="table-responsive">
|
||
<table class="table table-hover align-middle">
|
||
<!--{loop $updatefilelist $v}-->
|
||
<!--{if isset($ignorelist[$v])}-->
|
||
|
||
<!--{elseif isset($modifylist[$v])}-->
|
||
<tr>
|
||
<td class="text-danger"> {lang founder_upgrade_diff} <i class="mdi mdi-alert-circle"></i> $v</td>
|
||
</tr>
|
||
<!--{elseif isset($showlist[$v])}-->
|
||
<tr>
|
||
<td class="text-success"> {lang founder_upgrade_normal} <i class="mdi mdi-check-circle"></i> $v</td>
|
||
</tr>
|
||
<!--{elseif isset($newlist[$v])}-->
|
||
<tr>
|
||
<td class="text-info"> {lang founder_upgrade_new} <i class="mdi mdi-plus-circle"></i> $v</td>
|
||
</tr>
|
||
<!--{/if}-->
|
||
<!--{/loop}-->
|
||
<thead>
|
||
<th colspan="5">{lang founder_upgrade_download_file} ./data/update/dzzoffice{$version}</th>
|
||
</thead>
|
||
<thead>
|
||
<th colspan="5"> {lang founder_upgrade_backup_file} ./data/back/dzzoffice{CORE_VERSION} {lang founder_upgrade_backup_file2} </th>
|
||
</thead>
|
||
<thead>
|
||
<th colspan="5"> <input type="button" class="btn btn-primary" onclick="window.location.href='{$linkurl}';" value="<!--{if !empty($modifylist)}-->{lang founder_upgrade_force}<!--{else}-->{lang founder_upgrade_regular}<!--{/if}-->" /> {eval echo upgradeinformation(0)}</th>
|
||
</thead>
|
||
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<!--{/if}-->
|
||
<!--{elseif $step==4}-->
|
||
<!--{if $msg}-->
|
||
<div class="card-body">
|
||
<div id="step4">
|
||
<div class="alert alert-warning text-center">
|
||
$msg
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--{elseif $_GET['siteftpsetting']}-->
|
||
<div class="card-body">
|
||
<form name="aliform" class="form-horizontal" action="$action" method="post">
|
||
<input type="hidden" name="formhash" value="{FORMHASH}">
|
||
<p style="font-weight:bold;font-size:16px;">{lang upgrade_website_FTP_set}</p>
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2" for="siteftp[host]">FTP {lang server_address}</label>
|
||
<div class="col-sm-10">
|
||
<input type="text" class="form-control required" name="siteftp[host]" id="siteftp[host]" value="" placeholder="{lang host_IP_address}">
|
||
<span class="form-text">{lang FTP_server_IP_site_domain}</span>
|
||
</div>
|
||
</div>
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2" for="siteftp[port]">FTP {lang server_port}</label>
|
||
<div class="col-sm-10">
|
||
<input type="text" class="form-control required" name="siteftp[port]" id="siteftp[port]" value="21" placeholder="{lang port}">
|
||
<span class="form-text">{lang default_for_the_21st}</span>
|
||
</div>
|
||
</div>
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2" for="siteftp[username]">FTP {lang account}</label>
|
||
<div class="col-sm-10">
|
||
<input type="text" class="form-control required" name="siteftp[username]" id="siteftp[username]" value="" placeholder="{lang FTP_account_user_name}">
|
||
<span class="form-text">{lang accounts_supreme_authority}</span>
|
||
</div>
|
||
</div>
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2" for="siteftp[password]">FTP {lang password}</label>
|
||
<div class="col-sm-10">
|
||
<input type="password" class="form-control required" name="siteftp[password]" id="siteftp[password]" value="" placeholder="{lang FTP_account_user_password}">
|
||
</div>
|
||
</div>
|
||
<!--<div class="row mb-3">
|
||
<label class="col-sm-2" for="siteftp[charset]">编码</label>
|
||
<div class="col-sm-10">
|
||
<select class="form-control" name="siteftp[charset]" id="siteftp[charset]">
|
||
<option value="GBK" selected="selected">GBK</option>
|
||
<option value="UTF-8">UTF-8</option>
|
||
<option value="BIG5">BIG5</option>
|
||
</select>
|
||
<span class="form-text">根据FTP服务器的编码设置,不一致会导致乱码</span>
|
||
</div>
|
||
</div>-->
|
||
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2" for="siteftp[attachdir]">{lang sitepath}</label>
|
||
<div class="col-sm-10">
|
||
<input type="text" class="form-control required" name="siteftp[attachdir]" id="siteftp[attachdir]" value="">
|
||
<span class="form-text">{lang site_absolute_path_root_directory}</span>
|
||
</div>
|
||
</div>
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2"></label>
|
||
<div class="col-sm-10">
|
||
<div class="form-check">
|
||
<input class="form-check-input" type="checkbox" id="siteftp[pasv]" name="siteftp[pasv]" value="1">
|
||
<label class="form-check-label" for="siteftp[pasv]">{lang use_Passive_Mode}</label>
|
||
</div>
|
||
<span class="form-text">{lang general_condition_passive_mode}</span>
|
||
</div>
|
||
</div>
|
||
<div class="row mb-3">
|
||
<label class="col-sm-2"></label>
|
||
<div class="col-sm-10">
|
||
<div class="form-check">
|
||
<input class="form-check-input" type="checkbox" id="siteftp[ssl]" name="siteftp[ssl]" value="1">
|
||
<label class="form-check-label" for="siteftp[ssl]">{lang enable_secure_link}</label>
|
||
</div>
|
||
<span class="form-text">{lang notice_FTP_open_SSL}</span>
|
||
</div>
|
||
</div>
|
||
<dl class="mb-3 d-grid">
|
||
<input type="submit" class="btn btn-primary btn-round bodyloading" value="{lang confirms}">
|
||
</div>
|
||
</form>
|
||
</div>
|
||
<!--{/if}-->
|
||
<!--{elseif $step==5}-->
|
||
<div class="card-body">
|
||
<div class="alert alert-success text-center">
|
||
$msg
|
||
</div>
|
||
</div>
|
||
<!--{/if}-->
|
||
<!--{/if}-->
|
||
</div>
|
||
</div>
|
||
</main>
|
||
<script type="text/javascript">
|
||
function createIframe(src) {
|
||
document.getElementById('step4').innerHTML = '<iframe marginheight="0" marginwidth="0" allowtransparency="true" frameborder="0" src="' + src + '" style="width:100%;height:100%;min-height:400px;"></iframe>';
|
||
}
|
||
</script>
|
||
<!--{template lyear:footer_simple}--> |