修改前:
修改后:
教程开始:
1、进入网站根目录打开文件——template——default 或 当前使用模板 ——forum——Discuzcode
2、搜索代码将下面代码- $attach[attachicon]
- <span style="white-space: nowrap" id="attach_$attach[aid]" {if $_GET['from'] != 'preview'}onmouSEOver="showMenu({'ctrlid':this.id,'pos':'12'})"{/if}>
- <!--{if !$attach['price'] || $attach['payed']}-->
- <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" target="_blank">$attach[filename]</a>
- <!--{else}-->
- <a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow('attachpay', this.href)">$attach[filename]</a>
- <!--{/if}-->
- <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads]<!--{if $attach['price']}-->, {lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}<!--{/if}-->)</em>
- </span>
复制代码 修改为亲爱的游客 3、进入网站后台——工具——更新缓存即可。
附懒人包,特别说明,此懒人包修改了dz帖子图片自动居中(本地图片有效)及其他部分功能修改,请自行查看。
discuzcode.php
(20.07 KB, 下载次数: 0, 售价: 500 兔币)
|