修改调用信息为文件名

This commit is contained in:
Li Jianxuan 2011-11-07 08:44:22 +00:00
parent 5f18fd4259
commit 34b097239c
1 changed files with 7 additions and 4 deletions

View File

@ -23,11 +23,14 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div><a href="/admin/data/md/att/1/uuid/<?php echo $this->uuid;?>/addatts/1/mdtitle/<?php echo $this->mdtitle ;?>">为此元数据添加附件</a></div> <div class="ctrlplan">
<a href="/admin/data/md/att/1/uuid/<?php echo $this->uuid;?>/addatts/1/mdtitle/<?php echo $this->mdtitle ;?>">为此元数据选择附件</a>
<a href="/admin/data/attachments/add/1/uuid/<?php echo $this->uuid;?>">为此元数据添加附件</a>
</div>
<table> <table class="stylized">
<thead><tr> <thead><tr>
<th width='300'>描述</th> <th width='300'>文件名</th>
<th width='80'>类型</th> <th width='80'>类型</th>
<th width='80'>大小</th> <th width='80'>大小</th>
<th width='80'>下载次数</th> <th width='80'>下载次数</th>
@ -41,7 +44,7 @@
if($v['filesize']<1048576) $v['filesize'] = round(($v['filesize']/1024),2).'KB'; else $v['filesize'] = round(($v['filesize']/1024/1024),2).'MB'; if($v['filesize']<1048576) $v['filesize'] = round(($v['filesize']/1024),2).'KB'; else $v['filesize'] = round(($v['filesize']/1024/1024),2).'MB';
echo ' echo '
<tr> <tr>
<td>'.$v['filedesc'].'</td> <td>'.$v['realname'].'</td>
<td>'.$v['filetype'].'</td> <td>'.$v['filetype'].'</td>
<td>'.$v['filesize'].'</td> <td>'.$v['filesize'].'</td>
<td>'.$v['downtimes'].'</td> <td>'.$v['downtimes'].'</td>