移除原来的文档链接信息
This commit is contained in:
parent
02a03b911a
commit
f76cd74bd3
|
@ -91,15 +91,7 @@ else
|
|||
<?php if (!empty($md->timebegin)) : ?>
|
||||
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($this->doc)) : ?>
|
||||
<li id="datadoc"><a href="<?php $wikiTitle = $this->doc;
|
||||
if(strpos($wikiTitle,'http://wiki.westgis.ac.cn/index.php/')!==false){
|
||||
$title=str_replace('http://wiki.westgis.ac.cn/index.php/','',$wikiTitle);
|
||||
echo "/metainfo/$title";
|
||||
}else{
|
||||
echo $this->doc;
|
||||
}?>">数据说明文档</a></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->attachments) : ?>
|
||||
<li>相关文档:
|
||||
<?php foreach ($this->attachments as $k=>$a) : ?>
|
||||
|
|
Loading…
Reference in New Issue