查看完整版本: [-- DZ7.0禁用URL识别设置默认打勾 --]

SEO研究协会 -> SEO问题咨询 - SEO Advisory -> DZ7.0禁用URL识别设置默认打勾 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

李唐 2009-08-13 12:25

DZ7.0禁用URL识别设置默认打勾

準備修改
include\js\viewthread.js
templates\default\post.htm
templates\default\viewthread_fastpost.htm
+++++++++++++++++++++++
include\js\viewthread.js
  1. theform.message.value = parseurl(theform.message.value);

改:让他不起作用
  1. //theform.message.value = parseurl(theform.message.value);

\templates\default\post.htm
  1. <p><input type="checkbox" name="parseurloff" id="parseurloff" value="1" $urloffcheck tabindex="1" /><label for="parseurloff">{lang disable} {lang post_parseurl}</label></p>

替换:
  1. <p><input type="checkbox" name="parseurloff" id="parseurloff" value="1" <!--{if $action == 'newthread'  || $action == 'reply'}-->checked="checked"<!--{/if}--> $urloffcheck tabindex="1" /><label for="parseurloff">{lang disable} {lang post_parseurl}</label></p>

mplates\default\viewthread_fastpost.htm
  1. <input type="hidden" name="usesig" value="$usesigcheck" />

下面加:
  1. <input type="hidden" name="parseurloff" value="1"/>

更新缓存,OK~~~~~~~~~

yezi988 2009-08-14 10:44
什么东东,看不懂啦


查看完整版本: [-- DZ7.0禁用URL识别设置默认打勾 --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Time 0.039224 second(s),query:6 Gzip enabled