merge heihedata branch from r4221 to r4235 into trunk

This commit is contained in:
wlx 2014-02-26 01:55:33 +00:00
parent e5e8f4b9d1
commit 336882754a
2 changed files with 8 additions and 10 deletions

View File

@ -313,12 +313,9 @@ class ServiceController extends Zend_Controller_Action
{ {
$citation=$row['mcitation']; $citation=$row['mcitation'];
} else if ($row['citation']) } else if ($row['citation'])
{
if (empty($row['datadoi']))
{ {
$citation=$row['citation']; $citation=$row['citation'];
} if (!empty($row['datadoi']) && !strpos($row['citation'],$row['datadoi']))
elseif (!strpos($row['citation'],$row['datadoi']))
{ {
$citation='<li>文章引用:'.$row['citation'].'</li>'; $citation='<li>文章引用:'.$row['citation'].'</li>';
$citation.="<li>数据的引用:"; $citation.="<li>数据的引用:";
@ -721,12 +718,9 @@ class ServiceController extends Zend_Controller_Action
{ {
$cit=$row['mcitation']; $cit=$row['mcitation'];
} else if ($row['citation']) } else if ($row['citation'])
{
if (empty($row['datadoi']))
{ {
$cit=$row['citation']; $cit=$row['citation'];
} if (!empty($row['datadoi']) && !strpos($row['citation'],$row['datadoi']))
elseif (!strpos($row['citation'],$row['datadoi']))
{ {
$cit='文章引用:'.$row['citation']; $cit='文章引用:'.$row['citation'];
$cit.="\r\n数据的引用:"; $cit.="\r\n数据的引用:";

View File

@ -111,6 +111,10 @@
<li>结束时间:<xsl:value-of select="end"/></li> <li>结束时间:<xsl:value-of select="end"/></li>
</xsl:for-each> </xsl:for-each>
</ol> </ol>
<ol><xsl:for-each select="//Metadata/dataIdInfo/dataExt/tempEle/TempExtent/exTemp/TM_GeometricPrimitive/TM_Instant">
<li>日期:<xsl:value-of select="//tmPosition/TM_CalDate/calDate"/></li>
</xsl:for-each>
</ol>
</li> </li>
<li><h4 style="background-color:#DEE2E4">本数据的引用</h4> <li><h4 style="background-color:#DEE2E4">本数据的引用</h4>
<ol> <ol>