参加了PHPCMS2008的模板大赛
作品在这里:
http://www.phpcms.cn/mbds/show.php?id=32
大家有空不妨关注一下大赛进展!如果感觉作品还行,敬请支持一下!
顺便给PHPCMS提了几个建议,我在发送模板压缩文件时也说明了以下问题:
************************
源程序文件修改及有关说明
ask/load.php
删除了以下代码:
style="height:300px;width:120px;" //固定了select标签的高度和宽度,这让模板显得很不灵活
<span style='position:relative;visibility: visible;bottom: 150px;'>→</span> //感觉这个箭头没什么用
注明:删除后改为在CSS中对select标签进行控制
digg/digg.php
删除了以下代码:
<link href=\"".$PHPCMS['siteurl'].SKIN_PATH."{$mod}.css\" rel=\"stylesheet\" type=\"text/css\" /> //在这儿加载真是不合时宜
注明:CSS样式直接写入content.css,减少客户端对服务器的文件请求
images/nophoto.gif
注明:替换了这个文件,让用户的默认头像显得更美观些
images/js/css.js
注释了以下代码:
// $("input[type='file']").blur(function () { this.className='input_blur'; } );
// $("input[type='file']").focus(function () { this.className='input_focus'; } );
// $("input[type='password']").blur(function () { this.className='input_blur'; } );
// $("input[type='password']").focus(function () { this.className='input_focus'; } );
// $("input[type='text']").blur(function () { this.className='input_blur'; } );
// $("input[type='text']").focus(function () { this.className='input_focus'; } );
// $("textarea").blur(function () { this.className='textarea_style'; } );
// $("textarea").focus(function () { this.className='textarea_focus'; } )
说明:这些触发动作虽然会改变用户点击input时的样式,但实际上很不适合整站的样式调整,因为不是每一个input和textarea样式都是一样高度的
include/global.func.php
把原来的722行修改为:
$pos .= ' > <a href="'.$url.'">'.$CATEGORY[$catid]['catname'].'</a>';
注明:只是在*$pos .= '*(*号中间)后面添加了一个* > *(*号中间),小改一下,让当前位置更清晰更易调用,省去给a标签写background样式这一麻烦
Comments(1)
