注册 | 登录 |
地方论坛门户及新闻和人才网址大全

Discuz-内容页-发帖按钮

时间:2021-07-21人气:-


下面是Disucz的发帖菜单按钮

<!--{if $_G['forum']['threadsorts']}-->                        <!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->                                <button id="newspecial" class="pn pnc" onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id'"><strong>{lang i_want}$name</strong></button>                        <!--{/loop}-->                <!--{else}-->                        <!--{if !$_G['forum_thread']['is_archived']}--><a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->                <!--{/if}-->复制代码



上篇:DiscuzX3.2开发手机登录流程 禁止转载

下篇:discuz登陆跳转方法