From e3bb862fb271cd0a973187a0c76dbb75ece0e3b7 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 6 May 2013 09:22:26 +0000 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E6=B7=BB=E5=8A=A0doi?= =?UTF-8?q?=E8=8B=B1=E6=96=87=E4=BF=A1=E6=81=AF=E5=A1=AB=E5=86=99=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/controllers/AuthorController.php | 2 + .../views/scripts/author/doi-add.phtml | 280 ++++++++++-------- 2 files changed, 151 insertions(+), 131 deletions(-) diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php index 0efdd945..6ce39d74 100644 --- a/application/default/controllers/AuthorController.php +++ b/application/default/controllers/AuthorController.php @@ -4045,6 +4045,8 @@ class AuthorController extends Zend_Controller_Action 'doi'=>$metadata['doi'], 'url'=>"http://" . $_SERVER['HTTP_HOST'].'/data/'.$uuid, 'publisher'=>'寒区旱区科学数据中心', + 'title_en'=>$metadata['title_en'], + 'publisher_en'=>'Cold and Arid Regions Science Data Center at Lanzhou', ); }else{ $this->view->data['info'] = $doi->data_process_out($this->view->data); diff --git a/application/default/views/scripts/author/doi-add.phtml b/application/default/views/scripts/author/doi-add.phtml index 8b34a291..b4d51784 100644 --- a/application/default/views/scripts/author/doi-add.phtml +++ b/application/default/views/scripts/author/doi-add.phtml @@ -1,132 +1,150 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->author); -$this->headTitle()->setSeparator(' - '); -$this->breadcrumb('首页'); -$this->breadcrumb('数据作者'); -$this->breadcrumb('DOI'); -$this->breadcrumb()->setSeparator(' > '); -$this->theme->AppendPlus($this,'colorbox'); -$this->headLink()->appendStylesheet('/css/author.css'); -?> -
-
- partial('author/navi.phtml'); ?> -
-
-
- -
-
- error)) { ?> - error ?> - - msg)) { ?> - msg ?> - -
-
- -
- " /> -
-
-
- -
- " /> -
-
-
- -
- " /> -
-
-
- -
- " /> -
-
-
- -
- " /> -
-
- data['info']) || !is_array($this->data['info'])) {?> -
- -
- - - -
-
- - data['info'] as $k=>$v){ - $index ++; - ?> -
- -
- - - - 0){ ?> - -删除 - -
-
- - -
- -
-
-
- - id)) { ?> - - - uuid)) { ?> - - - -
-
-
- -
-
-
- +headTitle($this->config->title->site); +$this->headTitle($this->config->title->author); +$this->headTitle()->setSeparator(' - '); +$this->breadcrumb('首页'); +$this->breadcrumb('数据作者'); +$this->breadcrumb('DOI'); +$this->breadcrumb()->setSeparator(' > '); +$this->theme->AppendPlus($this,'colorbox'); +$this->headLink()->appendStylesheet('/css/author.css'); +?> +
+
+ partial('author/navi.phtml'); ?> +
+
+
+ +
+
+ error)) { ?> + error ?> + + msg)) { ?> + msg ?> + +
+
+ +
+ " /> +
+
+
+ +
+ " /> +
+
+
+ +
+ " /> +
+
+
+ +
+ " /> +
+
+
+ +
+ " /> +
+
+
+ +
+ " /> +
+
+
+ +
+ " /> +
+
+ data['info']) || !is_array($this->data['info'])) {?> +
+ +
+ + + + + +
+
+ + data['info'] as $k=>$v){ + $index ++; + ?> +
+ +
+ + + + + + 1){ ?> + -删除 + +
+
+ + +
+ +
+
+
+ + id)) { ?> + + + uuid)) { ?> + + + +
+
+
+ +
+
+
+ \ No newline at end of file