修改 \templets\default\article_article.htm
将以下代码
用户名:<input name="username" class="username" type="text" maxlength="20" value="guest" onmouseover="this.select();" onclick="if(this.value=='guest'){this.value=''}"/>
密码:<input name="pwd" class="password" type="password" maxlength="20" value="guest" onmouseover="this.select();" onclick="if(this.value=='guest'){this.value=''}"/>
</dd>
<dd></dd>
<dd class="mtop"><input name="notuser" type="checkbox" value="1" checked="checked"/>匿名评论</dd>
<dd><input name="sb" type="button" class="submit" value="" onclick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");'/>
</dd>
<dd class="mtop"><a href="{dede:field name='memberurl'/}/index_do.php?fmdo=user&dopost=regnew" target="_blank"><img src="/templets/images/register.gif" alt="立即注册账号" /></a></dd>
更换为
签名:<input name="username" class="username" type="text" maxlength="20" value="" onmouseover="this.select();" onclick="if(this.value=='guest'){this.value=''}"/>
<!--密码:<input name="pwd" class="password" type="password" maxlength="20" value="guest" onmouseover="this.select();" onclick="if(this.value=='guest'){this.value=''}"/>-->
</dd>
<dd></dd>
<!--<dd class="mtop"><input name="notuser" type="checkbox" value="1" checked="checked"/>匿名评论</dd>-->
<dd><input name="sb" type="button" class="submit" value="" onclick='javascript:if(document.feedback.msg.value!="") document.feedback.submit(); else alert("评论内容不能为空!");'/>
</dd>
<!-- <dd class="mtop"><a href="{dede:field name='memberurl'/}/index_do.php?fmdo=user&dopost=regnew" target="_blank"><img src="/templets/images/register.gif" alt="立即注册账号" /></a></dd>-->
更改的方法:
将“用户名:”改为“签名”,并将后面的默认值设为空,这样别人更容易留名,其他不需要的部分给注释掉。
最新评论
By DKLJSAJKFL
By DKLJSAJKFL
By rishi513
By rishi083
By leanbiome supplement
By leanbiome website