修改了 mdview中相关附件的调用

This commit is contained in:
Li Jianxuan 2011-11-28 02:55:54 +00:00
parent 9df01d3cbe
commit afeacd1c83
1 changed files with 10 additions and 2 deletions

View File

@ -89,7 +89,14 @@ else
}else{
echo $this->doc;
}?>">数据说明文档</a></li>
<li>附件:<?php echo $this->attachment;?></li>
<?php endif; ?>
<?php if ($this->attachments) : ?>
<li class="attach">相关文档:
<?php foreach ($this->attachments as $k=>$a) : ?>
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><?php echo ($k+1); ?></a>
<?php endforeach; ?>
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
</li>
<?php endif; ?>
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="javascript:void(0);" id="show-list" onclick="getFileList()" title="">文件列表</a></li>
</ul>
@ -298,7 +305,8 @@ if($auth->hasIdentity())
<?php endif; ?>
</div>
</div>
<div>
</div>
<div id="window-outter" style="display:none;">
<div id="window-inner">
<div id="window-closer-container">[<a href="#" id="window-closer" onclick="$('#window-outter').hide()">关闭</a>]</div>