切换文档显示为图片

This commit is contained in:
wlx 2012-05-17 13:32:13 +00:00
parent 96063181ef
commit df6f199909
1 changed files with 2 additions and 2 deletions

View File

@ -92,9 +92,9 @@ else
}?>">数据说明文档</a></li> }?>">数据说明文档</a></li>
<?php endif; ?> <?php endif; ?>
<?php if ($this->attachments) : ?> <?php if ($this->attachments) : ?>
<li class="attach">相关文档: <li id="attach"><span>相关文档:</span>
<?php foreach ($this->attachments as $k=>$a) : ?> <?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> <a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><img src="/images/document.png"></a>
<?php endforeach; ?> <?php endforeach; ?>
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a> <a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
</li> </li>