修改了 mdview中相关附件的调用
This commit is contained in:
parent
9df01d3cbe
commit
afeacd1c83
|
@ -89,7 +89,14 @@ else
|
||||||
}else{
|
}else{
|
||||||
echo $this->doc;
|
echo $this->doc;
|
||||||
}?>">数据说明文档</a></li>
|
}?>">数据说明文档</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; ?>
|
<?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>
|
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="javascript:void(0);" id="show-list" onclick="getFileList()" title="">文件列表</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -298,7 +305,8 @@ if($auth->hasIdentity())
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
</div>
|
||||||
<div id="window-outter" style="display:none;">
|
<div id="window-outter" style="display:none;">
|
||||||
<div id="window-inner">
|
<div id="window-inner">
|
||||||
<div id="window-closer-container">[<a href="#" id="window-closer" onclick="$('#window-outter').hide()">关闭</a>]</div>
|
<div id="window-closer-container">[<a href="#" id="window-closer" onclick="$('#window-outter').hide()">关闭</a>]</div>
|
||||||
|
|
Loading…
Reference in New Issue