add doi default value
This commit is contained in:
parent
0af6ccfe94
commit
d2e3a4ad33
|
@ -3578,7 +3578,8 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
$this->view->data = array(
|
||||
'uuid'=>$uuid,
|
||||
'title'=>$metadata['title'],
|
||||
'url'=>"http://" . $_SERVER['HTTP_HOST'].'/data/uuid/'.$uuid,
|
||||
'doi'=>$metadata['doi'],
|
||||
'url'=>"http://" . $_SERVER['HTTP_HOST'].'/data/'.$uuid,
|
||||
'publisher'=>view::User('realname'),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ $this->theme->AppendPlus($this,'colorbox');
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="doi">doi</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="doi" name="doi" value="<?= isset($this->data['doi']) ? $this->data['doi']:"doi:10.3972/..db" ?>" />
|
||||
<input type="text" id="doi" name="doi" value="<?= isset($this->data['doi']) ? $this->data['doi']:"doi:10.3972/westdc.x.2013.db" ?>" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
|
Loading…
Reference in New Issue