修改了元数据评审视图

This commit is contained in:
Li Jianxuan 2011-10-17 08:38:52 +00:00
parent 9357714299
commit 215976a8c2
1 changed files with 8 additions and 4 deletions

View File

@ -29,14 +29,15 @@
<hr /> <hr />
<div id="comments"> <div id="comments">
<h2>数据评审意见</h2> <h2>数据评审意见</h2>
<div class="form">
<?php <?php
if($auth->hasIdentity()) if($auth->hasIdentity())
{ {
if(empty($this->pms)) if(empty($this->pms))
{ {
?> ?>
<a href="javascript:void(0)" onclick="$('.form').toggle()">我要发布评审意见</a>
<div class="form" style="display:none;">
<form id="postcomment" action="/review/review/uuid/<?php echo $md['uuid'];?>" method="POST" enctype='multipart/form-data'> <form id="postcomment" action="/review/review/uuid/<?php echo $md['uuid'];?>" method="POST" enctype='multipart/form-data'>
<input type="hidden" name="submit" value="1" /> <input type="hidden" name="submit" value="1" />
<p> <p>
@ -60,12 +61,15 @@
</p> </p>
<p> <p>
评审附件:<br/> 评审附件:<br/>
<input type="file" name="Filedata" class="half" /> <input type="file" name="Filedata" class="half" /><br />
<a href="javascript:void(0);" onclick="$('#showexts').toggle()">查看可上传的附件类型</a>
<div id='showexts' style="display:none;">'doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2','gif', 'jpg', 'jpeg', 'png', 'bmp'</div>
</p> </p>
<p> <p>
<input id="submit" type="submit" value="提交" class="btn" onclick="return confirm('是否确定提交评审意见?')" /> <input id="submit" type="submit" value="提交" class="btn" onclick="return confirm('是否确定提交评审意见?')" />
</p> </p>
</form> </form>
</div>
<?php <?php
}else }else
{ {
@ -77,7 +81,7 @@
?> ?>
</div>
<?php if ($this->msg or $this->messages) :?> <?php if ($this->msg or $this->messages) :?>
<div id="message"> <div id="message">