westdc-zf1/application/admin/views/scripts/review/commentsview.phtml

67 lines
2.6 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="leftPanel">
<?= $this->partial('review/left.phtml'); ?>
</div>
<div id="rightPanel">
<?php if ($this->msg or $this->messages) :?>
<div id="message">
<?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<p><?php echo $msg; ?></p>
<?php endforeach;endif; ?>
</div>
<?php endif; ?>
<div class="ctrlplan">
<a href="/admin/review/comments/">按评审数据查看</a>
<a href="/admin/review/comments/ac/listbyuser">按评审用户查看</a>
<a href="/admin/review/comments/ac/list">直接查看评审意见列表</a>
</div>
<div class="form">
<form>
<p>
<label>元数据名称:</label>
<?php echo $this->info['title'];?>
</p>
<p>
<label>评审人:</label>
<?php echo $this->info['realname'];?>
</p>
<p>
<label>评审时间</label>
<?php echo date("Y-m-d H:i",strtotime($this->info['ts_created']));?>
</p>
<p>
<label>元数据意见</label><br />
<textarea id="mdcomment" class="medium half" name="mdcomment" readonly="readonly"><?php echo $this->info['mdcomment'];?></textarea>
</p>
<p>
<label>对数据的意见</label><br />
<textarea id="datacomment" class="small half" name="datacomment" readonly="readonly"><?php echo $this->info['datacomment'];?></textarea>
</p>
<p>
<label>给数据中心的意见</label><br />
<textarea id="editorcomment" class="small half" name="editorcomment" readonly="readonly"><?php echo $this->info['editorcomment'];?></textarea>
</p>
<p>
<label>附件</label><?php echo $this->info['attid'];?>
</p>
</form>
<form action="/admin/review/comments/">
<input type="hidden" name="ac" value="del" />
<input type="hidden" name="id" value="<?php echo $this->info['id'];?>" />
<input type="submit" class="btn" onclick="return confirm('是否确定删除该评审意见?')" value="删除" />
</form>
</div>
</div>
<script>$("#list tr").mouseover(function(){$(this).addClass("high")}).mouseout(function(){$(this).removeClass("high")})</script>