Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
12
返回列表 发新帖

[解决中] discuz!附件大小的变量是什么啊?

[复制链接]
亚光耐普罗 发表于 2010-3-17 17:01:18 | 显示全部楼层
换什么位置?
回复

使用道具 举报

 楼主| jpzlove 发表于 2010-3-17 17:08:04 | 显示全部楼层
换到同一页面上,自己写个

该附件大小:XXXX KB
回复

使用道具 举报

 楼主| jpzlove 发表于 2010-3-17 17:13:02 | 显示全部楼层
$attach['downloadnums'] 下载次数
$attach[filenametitle] 附件名称
$attach['size']  附件大小

看上去都很像。


$attach[filename]  附件名称
$attach[attachsize]) 附件大小
$attach[downloads] 下载次数

这些就更像!!
回复

使用道具 举报

 楼主| jpzlove 发表于 2010-3-17 17:53:27 | 显示全部楼层
<!--{eval
function tpl_hide_credits_hidden($creditsrequire) {
global $hideattach;
}-->
<!--{block return}--><div class="locked">{lang post_hide_credits_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_hide_credits($creditsrequire, $message) {
global $hideattach;
}-->
<!--{block return}--><div class="locked">{lang post_hide_credits}</div>
$message<br /><br />
<br /><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_codedisp($discuzcodes, $code) {
}-->
<!--{block return}--><div class="blockcode"><div id="code$discuzcodes[codecount]"><ol><li>$code</ol></div><em onclick="copycode($('code$discuzcodes[codecount]'));">{lang discuzcode_copyclipboard}</em></div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_quote() {
}-->
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_free() {
}-->
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_hide_reply() {
global $hideattach;
}-->
<!--{block return}--><div class="showhide"><h4>{lang post_hide_reply_hidden}</h4>\\1</div>
<!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_hide_reply_hidden() {
}-->
<!--{block return}--><div class="locked">{lang post_hide_reply_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function attachlist($attach) {
global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $authkey, $attachimgpost, $fid;
$attach['refcheck'] = (!$attach['remote'] && $attachrefcheck) || ($attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp')));
$aidencode = aidencode($attach[aid]);
}-->
<!--{block return}-->










<p class="attachname">
                                <!--{if !$attach['price'] || $attach['payed']}-->
                                        <a href="attachment.php?aid=$aidencode"  onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" id="aid$attach[aid]" target="_blank"{if $GLOBALS[attachcredits]} onclick="return creditconfirm('{$GLOBALS
[attachcredits]}');"{/if}>$attach[filename]</a>
                                <!--{else}-->
                                        <a href="misc.php?action=attachpay&amp;aid=$attach[aid]" onclick="showWindow('attachpay', this.href);return false;">$attach[filename]</a>
                                <!--{/if}-->
                                ($attach[attachsize])
                                <div  class="attach_popup" id="aid$attach[aid]_menu" style="display: none">
                                        <div class="cornerlayger">
                                                <p>{lang downloads}attach[downloads]</p>
                                                <p>$attach[dateline]</p>
                                                <!--{if $GLOBALS[attachcredits]}--><p>{lang attachcredits} $GLOBALS[attachcredits]</p><!--{/if}-->
                                        </div>
                                        <div class="minicorner"></div>
                                </div>
                        </p>
回复

使用道具 举报

 楼主| jpzlove 发表于 2010-3-17 19:56:54 | 显示全部楼层
我还没解决
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-7-6 09:03 , Processed in 0.138089 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表