|
|
|
|
<extend name="Public/base"/>
|
|
|
|
|
|
|
|
|
|
<block name="body">
|
|
|
|
|
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
|
|
|
|
|
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
|
|
<ul class="tabnav1711 fr jstabnav">
|
|
|
|
|
<li data-tab="tab1" ><a href="{:U('qq_thirdparty')}" >QQ登录</a></li>
|
|
|
|
|
<li data-tab="tab2"><a href="{:U('wx_thirdparty')}" >微信登录</a></li>
|
|
|
|
|
<!-- <li data-tab="tab3" class="current"><a href="{:U('wb_thirdparty')}" >微博登录</a></li> -->
|
|
|
|
|
<!-- <li data-tab="tab4"><a href="{:U('bd_thirdparty')}" >百度登录</a></li> -->
|
|
|
|
|
</ul>
|
|
|
|
|
<h3 class="page_title">{$meta_title}</h3>
|
|
|
|
|
<p class="description_text">用于配置相关第三方登录所用参数的功能</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="tab-wrap">
|
|
|
|
|
<div class="infomation information1711">
|
|
|
|
|
<div class="informationitem tab-pane tab3 in">
|
|
|
|
|
<p>新浪微博第三方登录在本系统有两处需使用,PC官网和手游SDK;PC官网需申请网页应用,手游SDK需申请移动应用。</p>
|
|
|
|
|
<p>网页应用申请地址:<a href="http://open.weibo.com/" target="_blank">http://open.weibo.com/(新浪微博开放平台)</a></p>
|
|
|
|
|
<p>移动应用申请地址:<a href="http://open.weibo.com/" target="_blank">http://open.weibo.com/</a></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
|
|
|
<div id="tab1" class="tab-pane in tab1">
|
|
|
|
|
<div class="tab-content-subtab jssubtab clearfix">
|
|
|
|
|
<a href="{:U('wb_thirdparty')}" class="tabcon-subtab tcst1 current">PC官网</a>
|
|
|
|
|
<a href="{:U('wb_param_lists')}" class="tabcon-subtab tcst2">SDK</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tab-content-subpan jssubpan clearfix current">
|
|
|
|
|
<form action="{:U('saveTool')}" method="post" class="form-horizontal sina_login form_info_ml">
|
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l noticeinfo">appkey</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input name="config[appkey]" type="text" value="{$sina_login['appkey']}" class="">
|
|
|
|
|
<span class="notice-text">微博appkey</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<!-- <tr>
|
|
|
|
|
<td class="l noticeinfo">redirecturl</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input name="config[callback]" type="text" value="{$sina_login['callback']}" class="">
|
|
|
|
|
<span class="notice-text">回调地址</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr> -->
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l noticeinfo">scope</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input name="config[scope]" type="text" value="{$sina_login['scope']}" class="">
|
|
|
|
|
<span class="notice-text"></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="sina_login_data['status']" value="0">checked="checked"</eq>> 禁用
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" name="status" value="1" <eq name="sina_login_data['status']" value="1">checked="checked"</eq>> 启用
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">微博开启状态</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<input type="hidden" name="name" value="sina_login">
|
|
|
|
|
<input type="submit" id="submit" value="保存" target-form="sina_login" class="submit_btn form_btn ajax-post ">
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
//导航高亮
|
|
|
|
|
highlight_subnav('{:U('Tool/qq_thirdparty')}');
|
|
|
|
|
$(function(){
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
//搜索功能
|
|
|
|
|
$("#search").click(function(){
|
|
|
|
|
var url = $(this).attr('url');
|
|
|
|
|
var query = $('.jssearch').find('input').serialize();
|
|
|
|
|
query += "&"+$('.jssearch').find('select').serialize();
|
|
|
|
|
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
|
|
|
|
|
query = query.replace(/^&/g,'');
|
|
|
|
|
if( url.indexOf('?')>0 ){
|
|
|
|
|
url += '&' + query;
|
|
|
|
|
}else{
|
|
|
|
|
url += '?' + query;
|
|
|
|
|
}
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
});
|
|
|
|
|
//支持tab
|
|
|
|
|
showTab();
|
|
|
|
|
|
|
|
|
|
$('.jssubtab a').click(function() {
|
|
|
|
|
var that=$(this),index = that.index(),pan = that.closest('.jssubtab').siblings('.jssubpan');
|
|
|
|
|
that.siblings().removeClass('current');
|
|
|
|
|
that.addClass('current');
|
|
|
|
|
pan.removeClass('current').eq(index).addClass('current');
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|