By: alan888.com/Discuz/index.php
希望可以把本主题置顶
控制面版不能更改性别为"女"
memcp.php
- $gendernew = empty($gendernew) ? 0 : 1;
复制代码
换为:
[quote]$gendernew = empty($gendernew) ? 0 : $gendernew;
[/quote]
利用刷新可以大量投票:
misc.php
- if(strexists('\t'.$pollarray['voterids'].'\t', '\t'.$voterids.'\t'))
复制代码
换为:
- if(strexists("\t".$pollarray['voterids']."\t", "\t".$voterids."\t"))
复制代码
後台自动跳转失效:
admin/global.func.php
- $message .= "<script>setTimeout("redirect('$url_forward');", 30000000);</script>";
复制代码
换为:
- $message .= "<script>setTimeout("redirect('$url_forward');", 3000);</script>";
复制代码
或
- $message .= "<script>setTimeout("redirect('$url_forward');", 1250);</script>";
复制代码
前者为3秒跳转,後者为1.25秒跳转 缓存时出现错误信息
include/cache.func.php
- $cssfile = template('css', $styleid);
复制代码
换为:
- $cssfile = template('css', $styleid, $data['tpldir']);
复制代码 风格 header / category 等不能用图片作背景
include/cache.func.php
- if(!$cachename || $cachename == 'styles') {
复制代码
下加:
找(共3处)
换为:
- url("$boardurl/$data[imgdir]/
复制代码 後台界面风格提交旁多出的小按钮
admin/styles.inc.php
- value="<?=$lang['csscache_update']?>">
复制代码
换为:
- value="<?=$lang['updatecss']?>">
复制代码
admincp.lang.php 语言包
- 'new_windows' => '打开新窗口',
复制代码
下加:
- 'updatecss' => '更新 css 快取档',
复制代码
By: alan888.com/Discuz/index.php
[ 本帖最后由 社区功能 于 2006-7-25 10:06 编辑 ] |