add ReviewController initial version.
This commit is contained in:
parent
b294a5663c
commit
30b0315fc6
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
class Admin_ReviewController extends Zend_Controller_Action
|
||||||
|
{
|
||||||
|
function preDispatch()
|
||||||
|
{
|
||||||
|
$this->db=Zend_Registry::get('db');
|
||||||
|
$this->view->config = Zend_Registry::get('config');
|
||||||
|
$this->messenger=$this->_helper->getHelper('FlashMessenger');
|
||||||
|
$this->view->messages = $this->messenger->getMessages();
|
||||||
|
}
|
||||||
|
function postDispatch()
|
||||||
|
{
|
||||||
|
$this->view->messages = $this->messenger->getMessages();
|
||||||
|
}
|
||||||
|
function indexAction()
|
||||||
|
{
|
||||||
|
|
||||||
|
}//indexAction
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle('后台管理');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||||
|
$this->breadcrumb('元数据评审');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div id="divContent">
|
||||||
|
<div id="leftPanel">
|
||||||
|
<?= $this->partial('review/left.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
<div id="rightPanel">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<ul>
|
||||||
|
<li class="title">元数据评审</li>
|
||||||
|
<li><a href="/admin/review/draft">投稿元数据</a></li>
|
||||||
|
<li><a href="/admin/review/accept">接收元数据</a></li>
|
||||||
|
<li><a href="/admin/review/inreview">在审元数据</a></li>
|
||||||
|
<li><a href="/admin/review/myreview">我负责的元数据</a></li>
|
||||||
|
<li><a href="/admin/review/experts">专家库</a></li>
|
||||||
|
</ul>
|
Loading…
Reference in New Issue