首页 > 程序设计 > 更改discuz帖子列表高亮显示的颜色

更改discuz帖子列表高亮显示的颜色

1.PHP程序文件:
forumdisplay.php
misc.func.php
request.func.php
三个文件中的需要修改的是数组$colorarray,将各元素修改为需要的颜色代码。

2.Html模板文件topicadmin_moderate.htm中对应的颜色代码。
<td>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”0″ $colorcheck[0] /><em style=”background: {LINK};”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”1″ $colorcheck[1] /><em style=”background: red;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”2″ $colorcheck[2] /><em style=”background: orange;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”3″ $colorcheck[3] /><em style=”background: yellow;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”4″ $colorcheck[4] /><em style=”background: green;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”5″ $colorcheck[5] /><em style=”background: cyan;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”6″ $colorcheck[6] /><em style=”background: blue;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”7″ $colorcheck[7] /><em style=”background: white;”></em></label>  
 <label class=”highlight”><input class=”radio” type=”radio” name=”highlight_color” value=”8″ $colorcheck[8] /><em style=”background: gray;”></em></label>  
           </td>

原创文章,转载请注明: 转载自感叹忽然的部落格

本文链接地址: 更改discuz帖子列表高亮显示的颜色

  1. 还没有评论
评论提交中, 请稍候...

留言

您需要登录之后才能发表评论,如果您还没有账号,请先注册
可以使用的标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackbacks & Pingbacks ( 0 )
  1. 还没有 trackbacks
企业即时通讯