移除原来的文档链接信息

This commit is contained in:
wlx 2011-11-26 14:30:57 +00:00
parent 02a03b911a
commit f76cd74bd3
1 changed files with 1 additions and 9 deletions

View File

@ -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) : ?>