translate
This commit is contained in:
parent
888f9a0042
commit
06ad78e80b
|
@ -2,14 +2,14 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
|
|
||||||
$this->headTitle('高级搜索');
|
$this->headTitle('Advance Search');
|
||||||
if (!empty($this->codename)) $this->headTitle($this->codename);
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->headLink()->appendStylesheet('/css/search.css');
|
$this->headLink()->appendStylesheet('/css/search.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('高级搜索');
|
$this->breadcrumb('Advance Search');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
||||||
?>
|
?>
|
||||||
|
@ -35,25 +35,25 @@ foreach($this->metadata as $md) : ?>
|
||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
<div id="spatial">
|
<div id="spatial">
|
||||||
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/advancesearch" method="post">
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/advancesearch" method="post">
|
||||||
<fieldset><legend>时间范围</legend><ul>
|
<fieldset><legend>Temporal Extent</legend><ul>
|
||||||
<li><span>开始时间:</span>
|
<li><span>Start:</span>
|
||||||
<input name="start" type="text" id="start" />
|
<input name="start" type="text" id="start" />
|
||||||
</li>
|
</li>
|
||||||
<li><span>结束时间:</span>
|
<li><span>End:</span>
|
||||||
<input name="end" type="text" id="end" />
|
<input name="end" type="text" id="end" />
|
||||||
</li></ul></fieldset>
|
</li></ul></fieldset>
|
||||||
<fieldset><legend>空间范围</legend><ul>
|
<fieldset><legend>Spatial Extent</legend><ul>
|
||||||
<li><span>东:</span>
|
<li><span>East:</span>
|
||||||
|
|
||||||
<input name="e" id="e" type="text" /></li>
|
<input name="e" id="e" type="text" /></li>
|
||||||
<li><span>南:</span>
|
<li><span>South:</span>
|
||||||
<input name="s" id="s" type="text" /></li>
|
<input name="s" id="s" type="text" /></li>
|
||||||
<li><span>西:</span>
|
<li><span>West:</span>
|
||||||
<input name="w" id="w" type="text" /></li>
|
<input name="w" id="w" type="text" /></li>
|
||||||
<li><span>北:</span>
|
<li><span>North:</span>
|
||||||
<input name="n" id="n" type="text" /></li></ul></fieldset>
|
<input name="n" id="n" type="text" /></li></ul></fieldset>
|
||||||
<span>关键词:</span><input name="q" id="q" type="text" />
|
<span>关键词:</span><input name="q" id="q" type="text" />
|
||||||
<input id="search" type="submit" value="搜索" onclick="dosubmit()" />
|
<input id="search" type="submit" value="Search" onclick="dosubmit()" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ foreach($this->metadata as $md) : ?>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="help">
|
<div id="help">
|
||||||
<fieldset><legend>搜索说明</legend><ul><li>关键词:您可以使用一个关键词,比如“沙漠”,也可以使用多个关键词,中间用空格分开。</li>
|
<fieldset><legend>Note</legend><ul><li>关键词:您可以使用一个关键词,比如“沙漠”,也可以使用多个关键词,中间用空格分开。</li>
|
||||||
<li>空间范围:这是以度为单位的十进制数字。比如,东经125度30分,可以输入为125.5。您也可以通过下面的在线地图工具直接在图上拉框选择一个范围,空间坐标会自动转换到文本框中。</li>
|
<li>空间范围:这是以度为单位的十进制数字。比如,东经125度30分,可以输入为125.5。您也可以通过下面的在线地图工具直接在图上拉框选择一个范围,空间坐标会自动转换到文本框中。</li>
|
||||||
<li>时间范围:指数据的时间范围,从开始时间到结束时间,若结束时间不填,则是一个时间点。时间格式为YYYY-MM-DD。</li>
|
<li>时间范围:指数据的时间范围,从开始时间到结束时间,若结束时间不填,则是一个时间点。时间格式为YYYY-MM-DD。</li>
|
||||||
<li>还不清楚?您可以到<a href="http://forum.westgis.ac.cn/viewforum.php?f=30">论坛</a>提问。</li>
|
<li>还不清楚?您可以到<a href="http://forum.westgis.ac.cn/viewforum.php?f=30">论坛</a>提问。</li>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle('全部浏览');
|
$this->headTitle('Browse Data');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('浏览');
|
$this->breadcrumb('Browse');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='tools'>
|
<div id='tools'>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle('分类浏览');
|
$this->headTitle('Categories');
|
||||||
if (!empty($this->codename)) $this->headTitle($this->codename);
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('<a href="/data/category">分类浏览</a>');
|
$this->breadcrumb('<a href="/data/category">Categories</a>');
|
||||||
if (!empty($this->codename)) $this->breadcrumb($this->codename);
|
if (!empty($this->codename)) $this->breadcrumb($this->codename);
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
|
@ -16,7 +16,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='leftnav'>
|
<div id='leftnav'>
|
||||||
<fieldset><legend>数据集类别</legend>
|
<fieldset><legend>Categories within ISO 19115</legend>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($this->category as $cg) : ?>
|
<?php foreach($this->category as $cg) : ?>
|
||||||
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||||
|
@ -25,7 +25,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
</div>
|
</div>
|
||||||
<?php if (!empty($this->metadata)) : ?>
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
<div id='metacontent'>
|
<div id='metacontent'>
|
||||||
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
<h1>Current Category:<?php echo $this->codename; ?></h1>
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
<hr />
|
<hr />
|
||||||
<?php foreach($this->metadata as $md) : ?>
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
|
|
||||||
$this->headTitle('快速搜索');
|
$this->headTitle('Search');
|
||||||
if (!empty($this->codename)) $this->headTitle($this->codename);
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('快速搜索');
|
$this->breadcrumb('Search');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='tools'>
|
<div id='tools'>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle('数据集序列');
|
$this->headTitle('Series');
|
||||||
$this->headTitle($this->codename);
|
$this->headTitle($this->codename);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('<a href="/data/series">数据集浏览</a>');
|
$this->breadcrumb('<a href="/data/series">Series</a>');
|
||||||
if (!empty($this->codename)) $this->breadcrumb($this->codename);
|
if (!empty($this->codename)) $this->breadcrumb($this->codename);
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
|
@ -15,14 +15,14 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<?= $this->partial('data/tools.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div id='leftnav'>
|
<div id='leftnav'>
|
||||||
<fieldset><legend>数据集序列</legend>
|
<fieldset><legend>Data Series</legend>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($this->serie as $cg) : ?>
|
<?php foreach($this->serie as $cg) : ?>
|
||||||
<li><a href='/data/series/<?php echo $cg['name']; ?>'><?php echo $cg['name']; ?></a>(<?php echo $cg['count']; ?>)</li>
|
<li><a href='/data/series/<?php echo $cg['name']; ?>'><?php echo $cg['name']; ?></a>(<?php echo $cg['count']; ?>)</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul></fieldset>
|
</ul></fieldset>
|
||||||
<?php if ($this->showtools) : ?>
|
<?php if ($this->showtools) : ?>
|
||||||
<fieldset><legend>本序列中常用地点关键词</legend>
|
<fieldset><legend>Place Keywords in Current Serie</legend>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($this->places as $place) : ?>
|
<?php foreach($this->places as $place) : ?>
|
||||||
<li><a href='/data/series/<?php echo $this->seriesid; ?>/<?php echo urlencode($place['keyword']); ?>'><?php echo $place['keyword']; ?></a><span class="note">(<?php echo $place['count']; ?>)</span></li>
|
<li><a href='/data/series/<?php echo $this->seriesid; ?>/<?php echo urlencode($place['keyword']); ?>'><?php echo $place['keyword']; ?></a><span class="note">(<?php echo $place['count']; ?>)</span></li>
|
||||||
|
@ -33,7 +33,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
</div>
|
</div>
|
||||||
<?php if (!empty($this->metadata)) : ?>
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
<div id='metacontent'>
|
<div id='metacontent'>
|
||||||
<h1>当前浏览数据集序列:<?php echo $this->codename; ?></h1>
|
<h1>Current Serie:<?php echo $this->codename; ?></h1>
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
<hr />
|
<hr />
|
||||||
<?php foreach($this->metadata as $md) : ?>
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
|
|
@ -4,9 +4,9 @@ $this->headTitle($this->config->title->data);
|
||||||
if (!empty($this->codename)) $this->headTitle($this->codename);
|
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('<a href="/data/tag">关键词浏览</a>');
|
$this->breadcrumb('<a href="/data/tag">Keywords</a>');
|
||||||
if (!empty($this->codename)) $this->breadcrumb($this->codename);
|
if (!empty($this->codename)) $this->breadcrumb($this->codename);
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
|
@ -15,7 +15,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
</div>
|
</div>
|
||||||
<?php if (!empty($this->metadata)) : ?>
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
<div id='metacontent'>
|
<div id='metacontent'>
|
||||||
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
<h1>Current Keyword:<?php echo $this->codename; ?></h1>
|
||||||
<?php echo $this->page->getNavigation(); ?>
|
<?php echo $this->page->getNavigation(); ?>
|
||||||
<hr />
|
<hr />
|
||||||
<?php foreach($this->metadata as $md) : ?>
|
<?php foreach($this->metadata as $md) : ?>
|
||||||
|
@ -32,7 +32,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<div id='leftnav'>
|
<div id='leftnav'>
|
||||||
<?php
|
<?php
|
||||||
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
|
$keytypezh=array('place'=>'Place Keywords','theme'=>'Theme Keywords','discipline'=>'Discipline Keywords','stratum'=>'Stratum Keywords','temporal'=>'Temporal Keywords');
|
||||||
$type='';
|
$type='';
|
||||||
foreach($this->keywords as $cg) :
|
foreach($this->keywords as $cg) :
|
||||||
if ($type!=$cg['keytype']) :
|
if ($type!=$cg['keytype']) :
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/data/tag">关键词浏览</a></li>
|
<li><a href="/data/tag">Keywords</a></li>
|
||||||
<li><a href="/data/series">序列浏览</a></li>
|
<li><a href="/data/series">Series</a></li>
|
||||||
<li><a href="/data/category">分类浏览</a></li>
|
<li><a href="/data/category">Categories</a></li>
|
||||||
<li><a href="/data/timeline">时间轴浏览</a></li>
|
<li><a href="/data/timeline">Timeline</a></li>
|
||||||
<li><a href="/data/map">空间浏览</a></li>
|
<li><a href="/data/map">Map</a></li>
|
||||||
<li><a href="/data/timemap">时空浏览</a></li>
|
<li><a href="/data/timemap">TimeMap</a></li>
|
||||||
<li><a href="/data/browse">全部浏览</a></li>
|
<li><a href="/data/browse">Browse</a></li>
|
||||||
<li><a href="/data/advancesearch">高级搜索</a></li>
|
<li><a href="/data/advancesearch">Advance Search</a></li>
|
||||||
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/search" method="post">
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/search" method="post">
|
||||||
<li>
|
<li>
|
||||||
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'Search title and abstract':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||||
<input type="hidden" name="submit" value="submit">
|
<input type="hidden" name="submit" value="submit">
|
||||||
</form>
|
</form>
|
||||||
<script>
|
<script>
|
||||||
function myfocus(element) {
|
function myfocus(element) {
|
||||||
if (element.value == '回车搜索标题和摘要') {
|
if (element.value == 'Search title and abstract') {
|
||||||
element.value = '';
|
element.value = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function myblur(element) {
|
function myblur(element) {
|
||||||
if (element.value == '') {
|
if (element.value == '') {
|
||||||
element.value = '回车搜索标题和摘要';
|
element.value = 'Search title and abstract';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue