add ReviewController initial version.

This commit is contained in:
wlx 2011-09-23 08:09:13 +00:00
parent b294a5663c
commit 30b0315fc6
3 changed files with 47 additions and 0 deletions

View File

@ -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
}

View File

@ -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>

View File

@ -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>