From 91c5223eefb857402d3c2826224ed766816c03c0 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 27 May 2013 02:35:41 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E6=89=80=E6=9C=89=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=83=BD=E5=8F=AF=E4=BB=A5=E6=9F=A5=E7=9C=8B=E6=89=80=E6=9C=89?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=8C=E4=BF=AE=E6=94=B9doi=E4=B8=AD?= =?UTF-8?q?=E4=BD=9C=E8=80=85=E4=BF=A1=E6=81=AF=E7=9A=84=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/controllers/AuthorController.php | 9 +-- .../views/scripts/author/doi-add.phtml | 79 +++++++++++++++---- 2 files changed, 66 insertions(+), 22 deletions(-) diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php index 0b9d6f0e..bdaf05b6 100644 --- a/application/default/controllers/AuthorController.php +++ b/application/default/controllers/AuthorController.php @@ -1,6 +1,5 @@ _getParam('uuid'); if(empty($uuid)) { - $rows = $fund->fetch(0,true,$uid); + $rows = $fund->fetch("",true); view::addPaginator($rows,$this->view,$this->_request); }else{ include('data/Metadata.php'); @@ -3846,7 +3845,7 @@ class AuthorController extends Zend_Controller_Action $this->view->q = $q = $this->_getParam('q'); $id = $this->_getParam('id'); $this->view->fund = $fund->view($id); - $rows = $fund->fetchFormData($id,$uid,$q); + $rows = $fund->fetchFormData($id,$q); view::addPaginator($rows,$this->view,$this->_request); return true; } diff --git a/application/default/views/scripts/author/doi-add.phtml b/application/default/views/scripts/author/doi-add.phtml index 0c5488d7..1e5a7db3 100644 --- a/application/default/views/scripts/author/doi-add.phtml +++ b/application/default/views/scripts/author/doi-add.phtml @@ -74,13 +74,28 @@ $this->headLink()->appendStylesheet('/css/author.css'); data['info']) || !is_array($this->data['info'])) {?>
- +
- - - - - +
+ 作者 + +
+
+ 单位 + +
+
+ 作者英文 + +
+
+ 单位英文 + +
+
+ 排序 + +
@@ -90,13 +105,28 @@ $this->headLink()->appendStylesheet('/css/author.css'); $index ++; ?>
- +
- - - - - +
+ 作者 + +
+
+ 单位 + +
+
+ 作者英文 + +
+
+ 单位英文 + +
+
+ 排序 + +
1){ ?> -删除 @@ -131,11 +161,26 @@ function addinput(){ var now_index = $('.infocontrol').length; var index = now_index + 1; html = '
' - + ' ' - + ' ' - + ' ' - + ' ' - + ' ' + + '
' + + ' 作者' + + ' ' + + '
' + + '
' + + ' 单位' + + ' ' + + '
' + + '
' + + ' 作者英文' + + ' ' + + '
' + + '
' + + ' 单位英文' + + ' ' + + '
' + + '
' + + ' 排序' + + ' ' + + '
' + ' -删除' + '
'; now_index = null;