From 5aae37ecf569b9b0c4e732846a52f5fe4f9043d7 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 20 Apr 2011 08:39:51 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=95=B0=E6=8D=AE=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E6=A0=B7=E5=BC=8F=E4=B8=BAwater=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/data/view.phtml | 140 +++++++----------- 1 file changed, 55 insertions(+), 85 deletions(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index 5b9f4c74..49ec65f8 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -3,23 +3,25 @@ $this->headTitle($this->config->title->data); $this->headTitle('数据查看'); $this->headTitle()->setSeparator(' - '); - $this->headLink()->appendStylesheet('/css/mdview.css'); + $this->headLink()->appendStylesheet('/css/watermdview.css'); $this->breadcrumb('首页'); $this->breadcrumb(''.$this->config->title->data.''); $this->breadcrumb('查看元数据'); $this->breadcrumb()->setSeparator(' > '); + //http://westdc.westgis.ac.cn + $this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg'); + //$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhThiRESR0xRCe9JKd36EL3glTk0OxTsRzifkUWmTTrYWaE7dY1lYUlGxA'); + $this->headScript()->appendFile('/js/prototype.js'); $this->headScript()->appendFile('/js/OpenLayers.js'); - $this->headScript()->appendFile('/js/window.js'); + $this->headScript()->appendFile('/js/window.js'); $this->headLink()->appendStylesheet('/js/theme/default/style.css'); ?> metadata;if ($md):?>

escape($md->title); if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

-
-
-
+ +
+

空间位置

+
+
+

联系信息

-

联系人

    '资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'调查者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者'); +$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者'); $r=''; $i=0; foreach($this->authors as $k=>$author) : @@ -114,39 +124,37 @@ if ($author['role']!=$r) } if ($i>0) echo ','; $i+=1; + if (!empty($author['email']) && $r!='principalInvestigator') + echo ''; echo ''; if (!empty($author['individual'])) echo $author['individual']; else echo $author['organisation']; echo ''; + if (!empty($author['email'])) echo ''; if ($k+1==count($this->authors)) echo ''; endforeach; ?>
-

其他信息

-
-
- -

-
+ + + + +
+

',$md->description);?>

+
+
citation) : ?>

本数据引用方式

@@ -156,7 +164,10 @@ endforeach;

建议参考文献

    ref as $ref) : - echo '
  1. '.$ref['reference'].'
  2. '; + if (empty($ref['link'])) + echo '
  3. '.$ref['reference'].'
  4. '; + else + echo '
  5. '.$ref['reference'].' 下载
  6. '; endforeach; ?>
@@ -237,8 +248,7 @@ echo '';

- -
+

数据评论

@@ -267,6 +277,8 @@ function reportError(request) }); commentForm; ?> +
+
- - - - -

Cannot find the metadata.

没有找到对应的元数据。