PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/source/plugin/renren/template/spacecp_newblog.htm

https://bitbucket.org/renren_platform/renren-api-discuz-sdk/
HTML | 22 lines | 16 code | 0 blank | 6 comment | 0 complexity | f0ea13a7a77a7b47ea6f9d29011c44f8 MD5 | raw file
 1<!--{block return}-->
 2<!--{if $_G['cache']['plugin']['renren']['rr_customfeed']}-->
 3<script type="text/javascript">
 4function rrpermcheck() {
 5	var rrfeedbox = document.getElementById("rrfeed");
 6	if(rrfeedbox.checked){
 7	XN.Connect.showPermissionDialog('publish_feed',function(ok){if(!ok){rrfeedbox.checked="";}});
 8	}
 9}
10</script>
11<!--{/if}-->
12	<p class="mbn"><input type="checkbox" id="rrfeed" name="rrfeed" class="pc" value="1"<!--{if $iffeed[0]}--> checked="checked"<!--{/if}--><!--{if $_G['cache']['plugin']['renren']['rr_customfeed']}--> onclick="rrpermcheck();"<!--{/if}--> /><label for="rrfeed"> {lang renren:rr_feedthread} </label><img    src="source/plugin/renren/template/image/rr.png" /></p>
13<!--{if !$perm}-->
14<script type="text/javascript">
15if(document.all) {
16	window.attachEvent('onload',rrpermcheck);
17} else {
18	window.addEventListener('load',rrpermcheck,false);
19}
20</script>
21<!--{/if}-->
22<!--{/block}-->