57 lines
2.1 KiB
PHTML
57 lines
2.1 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('后台管理');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->breadcrumb('<a href="/">首页</a>');
|
||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||
$this->breadcrumb('评审意见反馈');
|
||
$this->breadcrumb()->setSeparator(' > ');
|
||
$this->theme->AppendPlus($this,"colorbox");
|
||
?>
|
||
<div class="row-fluid">
|
||
<div class="span3">
|
||
<?= $this->partial('review/left.phtml'); ?>
|
||
</div>
|
||
<div class="span9">
|
||
|
||
<div id="datalist">
|
||
<ul>
|
||
<?php foreach($this->review as $v){?>
|
||
<li><?= empty($v['realname']) ? $v['username'] : $v['realname']?> :<?= $v['mdcomment']?></li>
|
||
<?php }?>
|
||
</ul>
|
||
</div>
|
||
<?php if(!empty($this->error)) { ?>
|
||
<?= $this->error ?>
|
||
<?php } ?>
|
||
<h2>为《<?= $this->md['title'] ?>》的作者反馈</h2>
|
||
<hr />
|
||
<form class="form-horizontal" method="post">
|
||
<div class="control-group">
|
||
<label class="control-label" for="input_title">邮件标题</label>
|
||
<div class="controls">
|
||
<input type="text" class="span12" id="input_title" name="title" value="<?= (isset($this->data['title'])&&!empty($this->data['title'])) ? $this->data['title']:"" ?>" />
|
||
</div>
|
||
</div>
|
||
<div class="control-group">
|
||
<label class="control-label" for="input_email">收信地址</label>
|
||
<div class="controls">
|
||
<input type="text" class="span12" id="input_email" name="email" value="<?= isset($this->data['email']) ? $this->data['email']:"" ?>" />
|
||
</div>
|
||
</div>
|
||
<div class="control-group">
|
||
<label class="control-label" for="input_content">内容</label>
|
||
<div class="controls">
|
||
<textarea class="span12" id="input_content" name="content" style="height:300px;"><?= isset($this->data['content']) ? $this->data['content']:"" ?></textarea>
|
||
</div>
|
||
</div>
|
||
<div class="form-actions">
|
||
<input type="hidden" name="submit" value="1" />
|
||
<button type="submit" class="btn btn-primary">反馈给元数据作者</button>
|
||
</div>
|
||
</form>
|
||
<script>
|
||
</script>
|
||
</div>
|
||
</div>
|