PhpWind教程:删除帖子标题处的小图标及图标框 V6.0以上版本_PhpWind教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

效果预览图
 
  
以wind风格为例。
打开template/wind/post.htm


<div >
<span
onmouseover="this.className='iconhover'" onmouseout="this.className=''">无</span>

<img onmouseover="this.className='iconhover'" onmouseout="this.className=''" align="absmiddle" src="$imgpath/post/emotion/$icon" />


            <img align="absmiddle" src="$imgpath/post/emotion/$icon.gif" />
            </span><img align="absmiddle" src="$imgpath/$stylepath/menu-down.gif" />
            <input onkeydown="if(icontab==0){show_icontab()}" onFocus="if(icontab==0){show_icontab();}" onBlur="if(icontab==0 || icontab==1){show_icontab();}" name="atc_title" value="$atc_title" tabindex="1" title="请输入标题" />
        </div></div>
        <div ></div>
        <div onmouseover="if(icontab==1)icontab=2;" onmouseout="if(icontab==2)icontab=1;" >
            <input type="hidden" name="atc_iconid" value="$icon" />
            <div >
            <img onmouseover="this.className='iconhover'" onmouseout="this.className=''" align="absmiddle" src="$imgpath/post/emotion/0.gif" />
<!--
EOT;
foreach($icondb as $key=>$value){print <<<EOT
-->
<img onmouseover="this.className='iconhover'" onmouseout="this.className=''" align="absmiddle" src="$imgpath/post/emotion/$value" />
<!--
EOT;
}print <<<EOT
-->

替换成:
-->
            <input onkeydown="if(icontab==0){show_icontab()}" onFocus="if(icontab==0){show_icontab();}" onBlur="if(icontab==0 || icontab==1){show_icontab();}" name="atc_title" value="$atc_title" tabindex="1" title="请输入标题" />
        </div></div>
        <div ></div>
        <div >
            <div >
<!--
EOT;
foreach($icondb as $key=>$value){print <<<EOT
-->
<!--
EOT;
}print <<<EOT
-->     


       

           




       

       

       

           




       

查看更多 PhpWind教程  PhpWind模板风格

来源:Phpwind//所属分类:PhpWind教程/更新时间:2012-06-04
相关PhpWind教程