Nguồn:CP
ACP - Ganeral - Messages and e-mails - Configuration - Messages - Allow Quick Reply : Yes
ACP - Modules - HTML & JAVASCRIPT - Javascript codes management:
Title: Quick reply
Placement: In the topics
Javascript Code:
ACP - Display - Templates - Ganeral - viewtopic_body
ACP - Ganeral - Messages and e-mails - Configuration - Messages - Allow Quick Reply : Yes
ACP - Modules - HTML & JAVASCRIPT - Javascript codes management:
Title: Quick reply
Placement: In the topics
Javascript Code:
- Code:
$(function(){$("form#quick_reply input.mainoption").click(function(){$('<iframe name="replyreload" height="0px" width="0px" frameborder="0"></iframe>').insertBefore('form#quick_reply');$('form#quick_reply').attr('target','replyreload');$('form#quick_reply').submit(function(){var t=setTimeout("fmreply()",1000);});});});function fmreply(){window.location.replace(location.href)}
ACP - Display - Templates - Ganeral - viewtopic_body
- Code:
<script type="text/javascript">$(function(){$("form#quick_reply input.mainoption").click(function(){$('<iframe name="replyreload" height="0px" width="0px" frameborder="0"></iframe>').insertBefore('form#quick_reply');$('form#quick_reply').attr('target','replyreload');$('form#quick_reply').submit(function(){var t=setTimeout("fmreply()",1000);});});});function fmreply(){window.location.replace("{FORUM_URL}{TOPIC_URL}")}</script>