diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index b7675d6d..5e36363b 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -4000,6 +4000,11 @@ class Admin_DataController extends Zend_Controller_Action }else{ $this->view->data['doi'] = $metadata['doi']; $this->view->data['info'] = $doi->data_process_out($this->view->data); + if(empty($this->view->data['ts_published'])) + { + $this->view->data['title'] = $metadata['title']; + $this->view->data['title_en'] = $metadata['title_en']; + } } }else{ $this->view->data = $doi->view($uuid); diff --git a/application/admin/views/scripts/data/doi-add.phtml b/application/admin/views/scripts/data/doi-add.phtml index 39ed9c36..7a6a7028 100644 --- a/application/admin/views/scripts/data/doi-add.phtml +++ b/application/admin/views/scripts/data/doi-add.phtml @@ -57,13 +57,15 @@ $this->theme->AppendPlus($this,'colorbox');
- " /> + data['ts_published']) ? 'readonly="readonly"':""?> + value="data['title']) ? $this->data['title']:"" ?>" />
- " /> + data['ts_published']) ? 'readonly="readonly"':""?> + value="data['title_en']) ? $this->data['title_en']:"" ?>" />