Change the hiwater view translation, fix doc thumburl problem.
This commit is contained in:
parent
224050096e
commit
c1def61678
|
@ -249,7 +249,7 @@ h3.gs_rt{font-size:110%;}
|
|||
<div class="control-group">
|
||||
<label class="control-label">Website</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://westdc.westgis.ac.cn/</span>
|
||||
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://card.westgis.ac.cn/</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
@ -315,7 +315,7 @@ endforeach;
|
|||
<?php if ($md->fileformat) : ?>
|
||||
<li><strong>File Format: </strong><?php echo $md->fileformat; ?></li>
|
||||
<?php endif; ?>
|
||||
<li><strong>Size: </strong><?php echo $md->filesize; ?>MB</li>
|
||||
<li><strong>Size: </strong><?php echo ($md->filesize>=1024)?($md->filesize/1024).' GB':$md->filesize.' MB'; ?></li>
|
||||
<?php if ($this->downloaded>9) :?>
|
||||
<li><strong>Downloaded: </strong><?php echo $this->downloaded; ?></li>
|
||||
<?php endif; ?>
|
||||
|
@ -344,7 +344,7 @@ endforeach;
|
|||
<?php foreach ($this->attachments as $k=>$a) : ?>
|
||||
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><img src="/images/document.png"></a>
|
||||
<?php endforeach; ?>
|
||||
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
||||
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="Download in Zip File"/></a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<li id="datatype"><strong>Sharing: </strong><?php if ($md->datatype) print "Offline"; else print "Online";?> </li>
|
||||
|
@ -381,7 +381,7 @@ endforeach;
|
|||
<div id="authors">
|
||||
<ul class="unstyled">
|
||||
<?php
|
||||
$party_zh=array('resourceProvider'=>'Resource Provider','custodian'=>'Custodian','owner'=>'Owner','user'=>'User','distributor'=>'Distributor','originator'=>'Originator','pointOfContact'=>'Point Of Contact','principalInvestigator'=>'Principal Investigator','processor'=>'Processor','publisher'=>'Publisher','author'=>'Author');
|
||||
$party_zh=array('resourceProvider'=>'Resource Provider','custodian'=>'Custodian','owner'=>'Owner','user'=>'User','distributor'=>'Distributor','originator'=>'Originator','pointOfContact'=>'Point Of Contact','principalInvestigator'=>'Participator','processor'=>'Processor','publisher'=>'Publisher','author'=>'Author');
|
||||
$r='';
|
||||
$i=0;
|
||||
foreach($this->authors as $k=>$author) :
|
||||
|
@ -392,7 +392,7 @@ endforeach;
|
|||
if ($k>0) echo '</li>';
|
||||
echo '<li>'.$party_zh[$author->role].':';
|
||||
}
|
||||
if ($i>0) echo ',';
|
||||
if ($i>0) echo ', ';
|
||||
$i+=1;
|
||||
if (!empty($author->email) && $r!='principalInvestigator')
|
||||
echo '<a href="mailto:'.$author->email.'">';
|
||||
|
@ -418,7 +418,7 @@ endforeach;
|
|||
</li>
|
||||
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||
<?php if($this->version->c>0):?>
|
||||
<li id="dataversion">Version: <a href="javascript:void(0);" onclick="dataVersion('<?php echo $md->uuid;?>')" title=""><?= $this->version->c ?> 个 <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||
<li id="dataversion">Versions: <a href="javascript:void(0);" onclick="dataVersion('<?php echo $md->uuid;?>')" title=""><?= $this->version->c ?> <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||
<?php endif;?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -248,7 +248,7 @@ h3.gs_rt{font-size:110%;}
|
|||
<div class="control-group">
|
||||
<label class="control-label">Website</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://westdc.westgis.ac.cn/</span>
|
||||
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://card.westgis.ac.cn/</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
@ -314,7 +314,7 @@ endforeach;
|
|||
<?php if ($md->fileformat) : ?>
|
||||
<li><strong>File Format: </strong><?php echo $md->fileformat; ?></li>
|
||||
<?php endif; ?>
|
||||
<li><strong>Size: </strong><?php echo $md->filesize; ?>MB</li>
|
||||
<li><strong>Size: </strong><?php echo ($md->filesize>=1024)?($md->filesize/1024).' GB':$md->filesize.' MB'; ?></li>
|
||||
<?php if ($this->downloaded>9) :?>
|
||||
<li><strong>Downloaded: </strong><?php echo $this->downloaded; ?></li>
|
||||
<?php endif; ?>
|
||||
|
@ -343,7 +343,7 @@ endforeach;
|
|||
<?php foreach ($this->attachments as $k=>$a) : ?>
|
||||
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><img src="/images/document.png"></a>
|
||||
<?php endforeach; ?>
|
||||
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
||||
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="Download in Zip File"/></a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<li id="datatype"><strong>Sharing: </strong><?php if ($md->datatype) print "Offline"; else print "Online";?> </li>
|
||||
|
@ -380,7 +380,7 @@ endforeach;
|
|||
<div id="authors">
|
||||
<ul class="unstyled">
|
||||
<?php
|
||||
$party_zh=array('resourceProvider'=>'Resource Provider','custodian'=>'Custodian','owner'=>'Owner','user'=>'User','distributor'=>'Distributor','originator'=>'Originator','pointOfContact'=>'Point Of Contact','principalInvestigator'=>'Principal Investigator','processor'=>'Processor','publisher'=>'Publisher','author'=>'Author');
|
||||
$party_zh=array('resourceProvider'=>'Resource Provider','custodian'=>'Custodian','owner'=>'Owner','user'=>'User','distributor'=>'Distributor','originator'=>'Originator','pointOfContact'=>'Point Of Contact','principalInvestigator'=>'Participator','processor'=>'Processor','publisher'=>'Publisher','author'=>'Author');
|
||||
$r='';
|
||||
$i=0;
|
||||
foreach($this->authors as $k=>$author) :
|
||||
|
@ -391,7 +391,7 @@ endforeach;
|
|||
if ($k>0) echo '</li>';
|
||||
echo '<li>'.$party_zh[$author->role].':';
|
||||
}
|
||||
if ($i>0) echo ',';
|
||||
if ($i>0) echo ', ';
|
||||
$i+=1;
|
||||
if (!empty($author->email) && $r!='principalInvestigator')
|
||||
echo '<a href="mailto:'.$author->email.'">';
|
||||
|
@ -417,7 +417,7 @@ endforeach;
|
|||
</li>
|
||||
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||
<?php if($this->version->c>0):?>
|
||||
<li id="dataversion">Version: <a href="javascript:void(0);" onclick="dataVersion('<?php echo $md->uuid;?>')" title=""><?= $this->version->c ?> 个 <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||
<li id="dataversion">Versions: <a href="javascript:void(0);" onclick="dataVersion('<?php echo $md->uuid;?>')" title=""><?= $this->version->c ?> <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||
<?php endif;?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
<div style="text-align:center;">
|
||||
<xsl:for-each select="//Metadata/dataIdInfo/graphOver">
|
||||
|
||||
<xsl:variable name="imgurl" select="concat('http://westdc.westgis.ac.cn/gndata/',$thumburl,'/public/',bgFileName)"/>
|
||||
<xsl:variable name="imgurl" select="concat('http://card.westgis.ac.cn/gndata/',$thumburl,'/public/',bgFileName)"/>
|
||||
<xsl:if test="bgFileDesc='large_thumbnail'">
|
||||
<img width="600" class="figure" align="center">
|
||||
<xsl:attribute name="src">
|
||||
|
|
Loading…
Reference in New Issue