diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php
index ea300a16..ff4e9645 100755
--- a/application/admin/controllers/DataController.php
+++ b/application/admin/controllers/DataController.php
@@ -949,7 +949,7 @@ class Admin_DataController extends Zend_Controller_Action
} //添加
else if($show){
- $sql = "select mr.id as mdid,mr.refid,r.reference,md.title,md.uuid FROM mdref mr
+ $sql = "select mr.id as mdid,mr.refid,r.reference,md.title,md.uuid,mr.place FROM mdref mr
left join metadata md on md.uuid=mr.uuid
left join reference r on r.id=mr.refid
where mr.uuid='$show';
diff --git a/application/admin/views/scripts/data/referenceadd.phtml b/application/admin/views/scripts/data/referenceadd.phtml
index 163ad3ca..084be6f3 100644
--- a/application/admin/views/scripts/data/referenceadd.phtml
+++ b/application/admin/views/scripts/data/referenceadd.phtml
@@ -39,7 +39,10 @@ if($this->type == 'dc')
-
+
+
+
+
headTitle($this->config->title->site);
- $this->headTitle('后台管理');
- $this->headTitle()->setSeparator(' - ');
- $this->headLink()->appendStylesheet('/css/admin.css');
- $this->breadcrumb('首页');
- $this->breadcrumb('后台首页');
- $this->breadcrumb('数据管理');
- $this->breadcrumb('特色推荐管理');
- $this->breadcrumb()->setSeparator(' > ');
-?>
-
-= $this->partial('data/left.phtml'); ?>
-
-
-msg or $this->messages) :?>
-
-msg) : ?>
-
msg; ?>
-messages): foreach($this->messages as $msg): ?>
-
-
-
-
-
添加新的数据文献
-= $this->form; ?>
+headTitle($this->config->title->site);
+ $this->headTitle('后台管理');
+ $this->headTitle()->setSeparator(' - ');
+ $this->headLink()->appendStylesheet('/css/admin.css');
+ $this->breadcrumb('
首页');
+ $this->breadcrumb('
后台首页');
+ $this->breadcrumb('
数据管理');
+ $this->breadcrumb('数据文献管理');
+ $this->breadcrumb()->setSeparator(' > ');
+?>
+
+= $this->partial('data/left.phtml'); ?>
+
+
+msg or $this->messages) :?>
+
+msg) : ?>
+
msg; ?>
+messages): foreach($this->messages as $msg): ?>
+
+
+
+
+
添加新的数据文献
+ |
添加数据中心文献
+ |
导入数据文献文件
+ |
查看数据中心文献
+type == 'dc')
+{?>
+
+= $this->form; ?>
\ No newline at end of file
diff --git a/application/models/ReferenceForm.php b/application/models/ReferenceForm.php
index efa66ce9..cb776311 100644
--- a/application/models/ReferenceForm.php
+++ b/application/models/ReferenceForm.php
@@ -22,7 +22,7 @@ class ReferenceForm extends Zend_Form
$link->setLabel('URL(optional)')
->addFilter('StringTrim');
$reftype=new Zend_Form_Element_Radio('reftype');
- $reftype->setRequired(true)->setLabel('文献类型')->setMultiOptions(array('0'=>'作者文献','1'=>'用户文献'))->setValue(0);
+ $reftype->setRequired(true)->setLabel('文献类型')->setMultiOptions(array('0'=>'作者文献','1'=>'用户文献','2'=>'数据的参考文献'))->setValue(0);
$submit = new Zend_Form_Element_Submit('submit');
$submit->setAttrib('id', 'submitbutton')->setLabel('发送');