|
|
<extend name="Public/base"/>
|
|
|
|
|
|
<block name="body">
|
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
<ul class="tabnav1711 fr jstabnav">
|
|
|
<li data-tab="tab1" class="current"><a href="javascript:void(0);" >阿里云OSS设置</a></li>
|
|
|
<li data-tab="tab2"><a href="javascript:void(0);" >七牛设置</a></li>
|
|
|
<li data-tab="tab3"><a href="javascript:void(0);" >腾讯云设置</a></li>
|
|
|
<li data-tab="tab4"><a href="javascript:void(0);" >百度云设置</a></li>
|
|
|
<!-- <li data-tab="tab5"><a href="javascript:void(0);" >金山云设置</a></li> -->
|
|
|
</ul>
|
|
|
<h3 class="page_title">{$meta_title}</h3>
|
|
|
<p class="description_text"></p>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<div class="tab-wrap">
|
|
|
|
|
|
<div class="infomation information1711">
|
|
|
<p>说明①:文件存储即第三方云存储功能,此功能可存储本服务器图片、安装包等到第三方平台</p>
|
|
|
<p>说明②:----软件提供四种平台选择使用,确定存储平台后,可到相应官网创建相关参数信息填写到此处</p>
|
|
|
<p>阿里云:<a href="https://www.aliyun.com/product/oss?spm=5176.8142029.388261.242.N8NWVX" target="_blank">https://www.aliyun.com/product/oss?spm=5176.8142029.388261.242.N8NWVX</a></p>
|
|
|
<p>七牛云:<a href="https://www.qiniu.com/products/kodo" target="_blank">https://www.qiniu.com/products/kodo</a></p>
|
|
|
<p>腾讯云:<a href="https://cloud.tencent.com/product/cos" target="_blank">https://cloud.tencent.com/product/cos</a></p>
|
|
|
<p>百度云:<a href="https://cloud.baidu.com/product/bos.html" target="_blank">https://cloud.baidu.com/product/bos.html</a></p>
|
|
|
</div>
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
|
<div id="tab1" class="tab-pane in tab1">
|
|
|
<form action="{:U('saveTool')}" method="post" class="form-horizontal OSS form_info_ml">
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">bucket名称</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[bucket]" type="text" value="{$oss_storage['bucket']}" class="">
|
|
|
<span class="notice-text">oss的bucket名称</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeyId</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[accesskeyid]" type="text" value="{$oss_storage['accesskeyid']}" class="">
|
|
|
<span class="notice-text">从OSS获得的AccessKeyId</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeySecr</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[accesskeysecr]" type="text" value="{$oss_storage['accesskeysecr']}" class="">
|
|
|
<span class="notice-text">从OSS获得的AccessKeySecr</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">访问域名</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[domain]" type="text" value="{$oss_storage['domain']}" class="">
|
|
|
<span class="notice-text">您选定的OSS数据中心访问域名,例如oss-cn-hangzhou.al</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">启用状态</td>
|
|
|
<td class="r table_radio">
|
|
|
<span class="form_radio">
|
|
|
<label><input type="radio" name="status" value="0" <eq name="oss_storage_data['status']" value="0">checked="checked"</eq>> 禁用</label>
|
|
|
<label><input type="radio" name="status" value="1" <eq name="oss_storage_data['status']" value="1">checked="checked"</eq>> 启用
|
|
|
</label></span>
|
|
|
<span class="notice-text">OSS和七牛同时开启的话默认OSS</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<input type="hidden" name="name" value="oss_storage">
|
|
|
<input type="submit" id="submit" value="保存" target-form="OSS" class="submit_btn form_btn ajax-post mlspacing">
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
|
<div id="tab2" class="tab-pane tab2">
|
|
|
<form action="{:U('saveTool')}" method="post" class="form-horizontal qiniu form_info_ml">
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">bucket名称</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[bucket]" type="text" value="{$qiniu_storage['bucket']}" class="">
|
|
|
<span class="notice-text">七牛的bucket名称</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeyId</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[AccessKey]" type="text" value="{$qiniu_storage['AccessKey']}" class="">
|
|
|
<span class="notice-text">从七牛获得的AccessKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeySecr</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[SecretKey]" type="text" value="{$qiniu_storage['SecretKey']}" class="">
|
|
|
<span class="notice-text">从七牛获得的SecretKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">访问域名</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[domain]" type="text" value="{$qiniu_storage['domain']}" class="">
|
|
|
<span class="notice-text">您选定的七牛数据中心访问域名,例如oss-cn-hangzhou.al</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">启用状态</td>
|
|
|
<td class="r table_radio">
|
|
|
<span class="form_radio">
|
|
|
<label><input type="radio" name="status" value="0" <eq name="qiniu_storage_data['status']" value="0">checked="checked"</eq>> 禁用</label>
|
|
|
<label><input type="radio" name="status" value="1" <eq name="qiniu_storage_data['status']" value="1">checked="checked"</eq>> 启用
|
|
|
</label></span>
|
|
|
<span class="notice-text">OSS和七牛同时开启的话默认OSS</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
|
|
|
<input type="hidden" name="name" value="qiniu_storage">
|
|
|
<input type="submit" id="submit" value="保存" target-form="qiniu" class="submit_btn form_btn ajax-post mlspacing">
|
|
|
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
|
<div id="tab3" class="tab-pane tab3">
|
|
|
<form action="{:U('saveTool')}" method="post" class="form-horizontal qiniu2 form_info_ml">
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">bucket名称</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[bucket]" type="text" value="{$cos_storage['bucket']}" class="">
|
|
|
<span class="notice-text">腾讯云的bucket名称</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">appId</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[AccessKey]" type="text" value="{$cos_storage['AccessKey']}" class="">
|
|
|
<span class="notice-text">从腾讯cos获取的appId</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">secretId</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[SecretId]" type="text" value="{$cos_storage['SecretId']}" class="">
|
|
|
<span class="notice-text">从腾讯cos获取的secretId</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">secretKey</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[SecretKey]" type="text" value="{$cos_storage['SecretKey']}" class="">
|
|
|
<span class="notice-text">从腾讯cos获取的secretKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">设置区域</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[domain]" type="text" value="{$cos_storage['domain']}" class="">
|
|
|
<span class="notice-text">设置COS所在的区域,如gz   对应关系如下 华南(gz) 华中(sh) 华北(tj) 华东(sh)</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">启用状态</td>
|
|
|
<td class="r table_radio">
|
|
|
<span class="form_radio">
|
|
|
<label><input type="radio" name="status" value="0" <eq name="cos_storage_data['status']" value="0">checked="checked"</eq>> 禁用</label>
|
|
|
<label><input type="radio" name="status" value="1" <eq name="cos_storage_data['status']" value="1">checked="checked"</eq>> 启用
|
|
|
</label></span>
|
|
|
<span class="notice-text">OSS和七牛同时开启的话默认OSS</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
|
|
|
|
|
|
<input type="hidden" name="name" value="cos_storage">
|
|
|
<input type="submit" id="submit" value="保存" target-form="qiniu2" class="submit_btn form_btn ajax-post mlspacing">
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
|
<div id="tab4" class="tab-pane tab4">
|
|
|
<form action="{:U('saveTool')}" method="post" class="form-horizontal qiniu3 form_info_ml">
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">bucket名称</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[bucket]" type="text" value="{$bos_storage['bucket']}" class="">
|
|
|
<span class="notice-text">百度云的bucket名称</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeyId</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[AccessKey]" type="text" value="{$bos_storage['AccessKey']}" class="">
|
|
|
<span class="notice-text">从百度云获得的AccessKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeySecr</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[SecretKey]" type="text" value="{$bos_storage['SecretKey']}" class="">
|
|
|
<span class="notice-text">从百度云获得的SecretKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">访问域名</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[domain]" type="text" value="{$bos_storage['domain']}" class="">
|
|
|
<span class="notice-text">您选定的百度云数据中心访问域名,例如su.bcebos.com</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">启用状态</td>
|
|
|
<td class="r table_radio">
|
|
|
<span class="form_radio">
|
|
|
<label><input type="radio" name="status" value="0" <eq name="bos_storage_data['status']" value="0">checked="checked"</eq>> 禁用</label>
|
|
|
<label><input type="radio" name="status" value="1" <eq name="bos_storage_data['status']" value="1">checked="checked"</eq>> 启用
|
|
|
</label></span>
|
|
|
<span class="notice-text">OSS和七牛同时开启的话默认OSS</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
|
|
|
<input type="hidden" name="name" value="bos_storage">
|
|
|
<input type="submit" id="submit" value="保存" target-form="qiniu3" class="submit_btn form_btn ajax-post mlspacing">
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- <div class="tab-content tabcon1711 tabcon17112">
|
|
|
<div id="tab5" class="tab-pane tab5">
|
|
|
<form action="{:U('saveTool')}" method="post" class="form-horizontal qiniu4 form_info_ml">
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">bucket名称</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[bucket]" type="text" value="{$ks3_storage['bucket']}" class="">
|
|
|
<span class="notice-text">金山云的bucket名称</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeyId</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[AccessKey]" type="text" value="{$ks3_storage['AccessKey']}" class="">
|
|
|
<span class="notice-text">从金山云获得的AccessKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">AccessKeySecr</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[SecretKey]" type="text" value="{$ks3_storage['SecretKey']}" class="">
|
|
|
<span class="notice-text">从金山云获得的SecretKey</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">访问域名</td>
|
|
|
<td class="r table_radio">
|
|
|
<input name="config[domain]" type="text" value="{$ks3_storage['domain']}" class="">
|
|
|
<span class="notice-text">您选定的金山云数据中心访问域名,例如ks3-cn-beijing.ksyun.com</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="l noticeinfo">启用状态</td>
|
|
|
<td class="r table_radio">
|
|
|
<span class="form_radio">
|
|
|
<label><input type="radio" name="status" value="0" <eq name="ks3_storage_data['status']" value="0">checked="checked"</eq>> 禁用</label>
|
|
|
<label><input type="radio" name="status" value="1" <eq name="ks3_storage_data['status']" value="1">checked="checked"</eq>> 启用
|
|
|
</label></span>
|
|
|
<span class="notice-text">OSS和七牛同时开启的话默认OSS</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
|
|
|
<input type="hidden" name="name" value="ks3_storage">
|
|
|
<input type="submit" id="submit" value="保存" target-form="qiniu4" class="submit_btn form_btn ajax-post">
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
</div>
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="common_settings">
|
|
|
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
|
|
<form class="addShortcutIcon">
|
|
|
<input type="hidden" name="title" value="{$m_title}">
|
|
|
<input type="hidden" name="url" value="{$m_url}">
|
|
|
</form>
|
|
|
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|
<block name="script">
|
|
|
<script type="text/javascript">
|
|
|
//导航高亮
|
|
|
highlight_subnav('{:U('Tool/storage')}');
|
|
|
$(function(){
|
|
|
//支持tab
|
|
|
showTab();
|
|
|
})
|
|
|
</script>
|
|
|
</block>
|