蓝雨 发表于 2009-12-29 12:13:46

发帖分类在标题输入框前面 PHPWind7.5

发帖的时候应该先选择分类然后再输入标题。。这样才符合习惯。。看着不爽。。改了

打开post.html
找到:
<span class=\"fr gray\" style=\"padding:0 0 0 .4em;\">
改为:
<spanstyle=\"padding:0 0 0 .4em;\">
去掉表情选择:
找到:
<span id=\"icon_button\" onclick=\"show_icontab()\" style=\"cursor:pointer;padding-left:3px\">
<img align=\"absmiddle\" src=\"$imgpath/post/emotion/$icon.gif\" />
</span>
<img style=\"cursor:pointer;padding:3px\" onclick=\"show_icontab()\" align=\"absmiddle\" src=\"$imgpath/$stylepath/menu-down.gif\" />

删掉!


对于7.5 还需要修改分类信息和辩论帖:
<!--
EOT;
}elseif(($action == \"reply\" || $action == \"quote\") && $tpcarray == 5){
$input_w = 395;
print <<<EOT
-->
<span class=\"fr gray\" style=\"padding:0 0 0 .4em;\">
<select name=\"standpoint\" style=\"width:80px\">
<!--
EOT;
if($debatestand != 2){
print <<<EOT
-->
<option value=\"1\" $debate_1>正方观点</option>

<!--
EOT;
}if($debatestand != 1){
print <<<EOT
-->
<option value=\"2\" $debate_2>反方观点</option>
<!--
EOT;
}print <<<EOT
-->
<option value=\"0\" $debate_0>闲聊一下</option>
</select>
</span>
<!--
EOT;
}print <<<EOT
-->

<input style=\"border:0;font-size:14px; font-family:Tahoma;width:{$input_w}px;\" name=\"atc_title\" value=\"$atc_title\" tabindex=\"1\" title=\"请输入标题\" />
</div>
<!--
EOT;
if($forumcate==2 || $forumcate==3){print<<<EOT
-->
$selectmodelhtml
<!--
EOT;
}print <<<EOT
-->

修改为:
<!--
EOT;
}elseif(($action == \"reply\" || $action == \"quote\") && $tpcarray == 5){
$input_w = 395;
print <<<EOT
-->
<span style=\"padding:0 0 0 .4em;\">
<select name=\"standpoint\" style=\"width:80px\">
<!--
EOT;
if($debatestand != 2){
print <<<EOT
-->
<option value=\"1\" $debate_1>正方观点</option>

<!--
EOT;
}if($debatestand != 1){
print <<<EOT
-->
<option value=\"2\" $debate_2>反方观点</option>
<!--
EOT;
}print <<<EOT
-->
<option value=\"0\" $debate_0>闲聊一下</option>
</select>
</span>
<!--
EOT;
}if($forumcate==2 || $forumcate==3){print<<<EOT
-->
$selectmodelhtml
<!--
EOT;
}print <<<EOT
-->

<input style=\"border:0;font-size:14px; font-family:Tahoma;width:{$input_w}px;\" name=\"atc_title\" value=\"$atc_title\" tabindex=\"1\" title=\"请输入标题\" />
</div>
页: [1]
查看完整版本: 发帖分类在标题输入框前面 PHPWind7.5