fix ticket #114. 改变投影展示方式
This commit is contained in:
parent
8a86a91a11
commit
2ee8e4195b
|
@ -49,7 +49,18 @@
|
|||
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
||||
<?php endif; ?>
|
||||
<li id="viewtimes">浏览量:<?php echo $this->viewed; ?>次</li>
|
||||
<li id="projection" title="<?= $this->projection; ?>">数据投影:<?php if (is_numeric($md->projection)) echo 'EPSG_CODE_'; echo $md->projection; ?></li>
|
||||
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
||||
<?php
|
||||
$p=explode(" ",$this->projection);
|
||||
$p=explode("=",$p[0]);
|
||||
if (!empty($p[1]))
|
||||
echo $p[1];
|
||||
else
|
||||
{
|
||||
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
||||
echo $md->projection;
|
||||
}
|
||||
?></li>
|
||||
<?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; ?>
|
||||
|
|
Loading…
Reference in New Issue