SCLUB免費論壇申請-使用者論壇's Archiver

bonimon 發表於 2012-11-27 15:25

【蓝氏原创】发帖按钮处的提示代码 FOR:DZ7.2/SCLUB

[attach]17296[/attach]

具体操作: 1、放在发帖页面模板目录post.htm找到[code]<button type="submit" id="postsubmit" prompt="post_submit" value="true" name="{if $action == 'newthread'}topicsubmit{elseif $action == 'reply'}replysubmit{elseif $action == 'edit'}editsubmit{/if}" tabindex="1">
<!--{if $action == 'newthread'}-->
<!--{if $special == 0}-->{lang post_newthread}
<!--{elseif $special == 1}-->{lang post_newthreadpoll}
<!--{elseif $special == 2}-->{lang post_newthreadtrade}
<!--{elseif $special == 3}-->{lang post_newthreadreward}
<!--{elseif $special == 4}-->{lang post_newthreadactivity}
<!--{elseif $special == 5}-->{lang post_newthreaddebate}
<!--{elseif $special == 127}-->
<!--{if $buttontext}-->$buttontext<!--{else}-->{lang post_newthread}<!--{/if}-->
<!--{/if}-->
<!--{elseif $action == 'reply' && !empty($addtrade)}-->{lang trade_add_post}
<!--{elseif $action == 'reply'}-->{lang join_thread}
<!--{elseif $action == 'edit'}-->{lang edit_thread}
<!--{/if}-->
</button>[/code]在其下面添加:
**** Hidden Message *****

2.在快速回覆处添加:
模板目录viewthread_fastpost.htm找到[code]<p><button type="submit" name="replysubmit" id="fastpostsubmit" value="replysubmit"
tabindex="5">{lang post_newreply}</button>
<!--{if $ordertype != 1}-->
<input id="fastpostrefresh" type="checkbox" /> <label for="fastpostrefresh">{lang
post_fastreply_gotolast}</label></p><script type="text/javascript">if(getcookie('discuz_fastpostrefresh') == 1)
{$('fastpostrefresh').checked=true;}</script>
<!--{/if}-->
</p>[/code]在其下面添加:
**** Hidden Message *****

liangweisee 發表於 2012-11-27 15:30

接着坐沙发…

mybpcity 發表於 2012-11-27 17:34

不错!回帖支持一下!

Emotion 發表於 2012-11-27 17:44

谢谢分享{:9_400:}

419894904 發表於 2012-11-27 18:21

看起来不错,回复支持

pigeon 發表於 2012-11-27 19:28

貌似 很复杂。

4rphotoclub 發表於 2012-11-27 21:13

這代碼真是很棒啊

學習~學習~

达人小G 發表於 2012-11-28 11:11

谢谢分享!不错的代码!

SEKO 發表於 2012-11-28 14:36

不错不错!收下了!

alishunki 發表於 2013-2-16 19:00

感謝分享~

3526639 發表於 2013-3-28 17:42

看看好不好用

流传动 發表於 2013-4-6 00:14

不错的代码

秋枫 發表於 2013-4-6 13:09

谢谢分享

cqflss 發表於 2013-4-6 13:31

看看怎么弄的

491444322 發表於 2013-4-15 13:47

不错!回帖支持一下

葱葱 發表於 2015-2-20 02:27

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=130095&ptid=20163]1#[/url] [i]bonimon[/i] [/b]


    帖支持一下

lumea98 發表於 2015-8-30 20:56

謝謝分享 :)

911 發表於 2015-10-27 23:02

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=130095&ptid=20163]1#[/url] [i]bonimon[/i] [/b]


    挺吓人的啊···还敢发帖了么

kaixin666 發表於 2021-5-29 22:49

感谢分享~

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.