diff --git a/application/admin/views/scripts/data/doi-add.phtml b/application/admin/views/scripts/data/doi-add.phtml index 4248255f..06037e85 100644 --- a/application/admin/views/scripts/data/doi-add.phtml +++ b/application/admin/views/scripts/data/doi-add.phtml @@ -65,7 +65,7 @@ $this->theme->AppendPlus($this,'colorbox');
- " class="form-control"/> +
diff --git a/application/models/data/Doi.php b/application/models/data/Doi.php index a0f89592..46a26f75 100644 --- a/application/models/data/Doi.php +++ b/application/models/data/Doi.php @@ -108,9 +108,6 @@ class Doi extends Zend_Controller_Plugin_Abstract }else{ $condition = " uuid='$uuid' "; } - $data['publisher']=''; - $data['title_en']=$data['title']; - $data['title']=''; $sql="update $this->tbl_doi set doi='".$data['doi']."',uuid='".$data['uuid']."', url='".$data['url']."',title_en='".$data['title_en']."',publisher_en='".$data['publisher_en'] ."',author_en='".$data['author_en']."',organization_en=array[".$data['organization_en']."] where ".$condition; @@ -155,7 +152,7 @@ class Doi extends Zend_Controller_Plugin_Abstract $info[$k] = array( 'author_en'=>str_replace("\"","",$authors_en[$k]), 'organization_en'=>str_replace("\"","",$orgs_en[$k]), - 'order'=> count($authors)+$k + 'order'=> count($authors_en)+$k ); } return $info;