修改调用信息为文件名
This commit is contained in:
parent
5f18fd4259
commit
34b097239c
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue