首页 > CMS > Phpwind > 正文

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

2024-09-07 15:54:06
字体:
来源:转载
供稿:网友

效果预览图
 
  
以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
-->     


       

           




       

       

       

           




       

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表