#569将标题设为默认不能修改

This commit is contained in:
Li Jianxuan 2014-01-13 07:28:36 +00:00
parent 7ccd999fd5
commit 3967c23ecb
1 changed files with 12 additions and 8 deletions

View File

@ -29,43 +29,47 @@ $this->theme->AppendPlus($this,'colorbox');
<?php if(!empty($this->msg)) { ?> <?php if(!empty($this->msg)) { ?>
<?= $this->msg ?> <?= $this->msg ?>
<?php } else{ ?> <?php } else{ ?>
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4>提示</h4>
如果元数据中标题发生了变更在DOI中也需要变更时需要在这里点击“提交”按钮才能生效
</div>
<form class="form-horizontal" method="post"> <form class="form-horizontal" method="post">
<div class="control-group"> <div class="control-group">
<label class="control-label" for="doi">doi</label> <label class="control-label" for="doi">doi</label>
<div class="controls"> <div class="controls">
<input type="text" id="doi" name="doi" readonly="readonly" value="<?= (isset($this->data['doi'])&&!empty($this->data['doi'])) ? $this->data['doi']:"doi:10.3972/westdc.x.2013.db" ?>" /> <input type="text" id="doi" name="doi" readonly="readonly" class="input-block-level"
value="<?= (isset($this->data['doi'])&&!empty($this->data['doi'])) ? $this->data['doi']:"doi:10.3972/westdc.x.2013.db" ?>" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="uuid">uuid</label> <label class="control-label" for="uuid">uuid</label>
<div class="controls"> <div class="controls">
<input type="text" id="uuid" name="uuid" readonly="readonly" value="<?= isset($this->data['uuid']) ? $this->data['uuid']:"" ?>" /> <input type="text" id="uuid" name="uuid" readonly="readonly" value="<?= isset($this->data['uuid']) ? $this->data['uuid']:"" ?>" class="input-block-level" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="publisher">发布者</label> <label class="control-label" for="publisher">发布者</label>
<div class="controls"> <div class="controls">
<input type="text" id="publisher" name="publisher" value="<?= isset($this->data['publisher']) ? $this->data['publisher']:"" ?>" /> <input type="text" id="publisher" name="publisher" value="<?= isset($this->data['publisher']) ? $this->data['publisher']:"" ?>" class="input-block-level" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="url">url</label> <label class="control-label" for="url">url</label>
<div class="controls"> <div class="controls">
<input type="text" id="url" name="url" value="<?= isset($this->data['url']) ? $this->data['url']:"" ?>" /> <input type="text" id="url" name="url" value="<?= isset($this->data['url']) ? $this->data['url']:"" ?>" class="input-block-level"/>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="title">标题</label> <label class="control-label" for="title">标题</label>
<div class="controls"> <div class="controls">
<input type="text" id="title" name="title" <?= !empty($this->data['ts_published']) ? 'readonly="readonly"':""?> <input type="text" id="title" name="title" readonly="readonly" value="<?= isset($this->data['title']) ? $this->data['title']:"" ?>" class="input-block-level"/>
value="<?= isset($this->data['title']) ? $this->data['title']:"" ?>" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="title_en">英文标题</label> <label class="control-label" for="title_en">英文标题</label>
<div class="controls"> <div class="controls">
<input type="text" id="title_en" name="title_en" <?= !empty($this->data['ts_published']) ? 'readonly="readonly"':""?> <input type="text" id="title_en" name="title_en" readonly="readonly" value="<?= isset($this->data['title_en']) ? $this->data['title_en']:"" ?>" class="input-block-level" />
value="<?= isset($this->data['title_en']) ? $this->data['title_en']:"" ?>" />
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">