diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php
index 0632ff1e..c2a58737 100644
--- a/application/default/controllers/AuthorController.php
+++ b/application/default/controllers/AuthorController.php
@@ -3833,6 +3833,25 @@ class AuthorController extends Zend_Controller_Action
return true;
}
+ if($ac == 'data')
+ {
+ $this->_helper->viewRenderer('fund-data');
+ $uuid = $this->_getParam('uuid');
+ $this->view->q = $q = $this->_getParam('q');
+ if(empty($uuid))
+ {
+ $rows = $fund->fetchFormData($uid,$q);
+ view::addPaginator($rows,$this->view,$this->_request);
+ }else{
+ include('data/Metadata.php');
+ $md = new Metadata($this->db);
+ $this->view->md = $md->view($uuid);
+ $rows = $fund->fetch($uuid);
+ view::addPaginator($rows,$this->view,$this->_request);
+ }
+ return true;
+ }
+
if($ac == "add")
{
$this->_helper->viewRenderer('fund-add');
diff --git a/application/default/views/scripts/author/fund-data.phtml b/application/default/views/scripts/author/fund-data.phtml
new file mode 100644
index 00000000..dd453e5a
--- /dev/null
+++ b/application/default/views/scripts/author/fund-data.phtml
@@ -0,0 +1,113 @@
+headTitle($this->config->title->site);
+$this->headTitle($this->config->title->author);
+$this->headTitle()->setSeparator(' - ');
+$this->breadcrumb('首页');
+$this->breadcrumb('数据作者');
+$this->headLink()->appendStylesheet('/css/author.css');
+$this->breadcrumb('申请成为元数据作者');
+$this->breadcrumb()->setSeparator(' > ');
+$this->theme->AppendPlus($this,'colorbox');
+$this->theme->AppendPlus($this,'admin_plugin');
+?>
+
+
+
+ = $this->partial('author/navi.phtml'); ?>
+
+
+
+ md)) { ?>
+
+ ct)) { ?>
+
为此数据添加项目
+
+
返回
+
点击“添加此项目”即可将项目添加到元数据
+
+
《= $this->md['title'] ?>》 的支持项目
+
+
+
+
+ error)) { ?>
+ AlertType)) $AlertType = "alert-error";else $AlertType = $this->AlertType;?>
+
+
×
+ error)) { ?>
= $this->error ?>
+
+ error as $v) { ?>
+ - = $v ?>
+
+
+
+
+
+ msg)) { ?>
+
+ jump_url)) { ?>
+
+
+
+
+ paginator)): ?>
+
+
+
+ 数据 |
+ 名称 |
+ 编号 |
+ 操作 |
+
+
+
+ paginator as $item):
+ $autoindex++;?>
+ md)) { ?>
+
+
+
+
+ = $item['mdtitle'] ?> |
+ = $item['title'] ?> |
+ = $item['fund_id'] ?> |
+
+ 移除
+ |
+
+
+
+
+
+
= $this->paginator; ?>
+
+
+
+
+
+
diff --git a/application/default/views/scripts/author/fund.phtml b/application/default/views/scripts/author/fund.phtml
index 4b5b96e7..3fbe7ad7 100644
--- a/application/default/views/scripts/author/fund.phtml
+++ b/application/default/views/scripts/author/fund.phtml
@@ -1,163 +1,167 @@
-headTitle($this->config->title->site);
-$this->headTitle($this->config->title->author);
-$this->headTitle()->setSeparator(' - ');
-$this->breadcrumb('首页');
-$this->breadcrumb('数据作者');
-$this->headLink()->appendStylesheet('/css/author.css');
-$this->breadcrumb('申请成为元数据作者');
-$this->breadcrumb()->setSeparator(' > ');
-$this->theme->AppendPlus($this,'colorbox');
-$this->theme->AppendPlus($this,'admin_plugin');
-?>
-
-
-
- = $this->partial('author/navi.phtml'); ?>
-
-
-
- md)) { ?>
-
- ct)) { ?>
-
为此数据添加项目
-
-
返回
-
点击“添加此项目”即可将项目添加到元数据
-
-
《= $this->md['title'] ?>》 的支持项目
-
-
-
-
- error)) { ?>
- AlertType)) $AlertType = "alert-error";else $AlertType = $this->AlertType;?>
-
-
×
- error)) { ?>
= $this->error ?>
-
- error as $v) { ?>
- - = $v ?>
-
-
-
-
-
- msg)) { ?>
-
- jump_url)) { ?>
-
-
-
-
- paginator)): ?>
-
-
-
= $this->paginator; ?>
-
-
-
-
-
-
+headTitle($this->config->title->site);
+$this->headTitle($this->config->title->author);
+$this->headTitle()->setSeparator(' - ');
+$this->breadcrumb('首页');
+$this->breadcrumb('数据作者');
+$this->headLink()->appendStylesheet('/css/author.css');
+$this->breadcrumb('申请成为元数据作者');
+$this->breadcrumb()->setSeparator(' > ');
+$this->theme->AppendPlus($this,'colorbox');
+$this->theme->AppendPlus($this,'admin_plugin');
+?>
+
+
+
+ = $this->partial('author/navi.phtml'); ?>
+
+
+
+ md)) { ?>
+
+ ct)) { ?>
+
为此数据添加项目
+
+
返回
+
点击“添加此项目”即可将项目添加到元数据
+
+
《= $this->md['title'] ?>》 的支持项目
+
+
+
+
+ error)) { ?>
+ AlertType)) $AlertType = "alert-error";else $AlertType = $this->AlertType;?>
+
+
×
+ error)) { ?>
= $this->error ?>
+
+ error as $v) { ?>
+ - = $v ?>
+
+
+
+
+
+ msg)) { ?>
+
+ jump_url)) { ?>
+
+
+
+
+ paginator)): ?>
+
+
+
= $this->paginator; ?>
+
+
+
+
+
+
diff --git a/application/default/views/scripts/author/navi.phtml b/application/default/views/scripts/author/navi.phtml
index 97828358..7aa38b97 100644
--- a/application/default/views/scripts/author/navi.phtml
+++ b/application/default/views/scripts/author/navi.phtml
@@ -1,20 +1,20 @@
-