add author initial version
This commit is contained in:
parent
3387da449a
commit
eb793d82a1
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
class AuthorController extends Zend_Controller_Action
|
||||
{
|
||||
private $limit=10;
|
||||
function preDispatch()
|
||||
{
|
||||
$this->view->config = Zend_Registry::get('config');
|
||||
$this->db=Zend_Registry::get('db');
|
||||
$this->messenger=$this->_helper->getHelper('FlashMessenger');
|
||||
$this->view->messages = $this->messenger->getMessages();
|
||||
}
|
||||
function indexAction()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
function helpAction()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle($this->config->title->author);
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb($this->config->title->author);
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<div id='sidebar'>
|
||||
<div id='leftnavi'>
|
||||
<?= $this->partial('author/navi.phtml'); ?>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<div id='indexbody'>
|
||||
<ul>
|
||||
<div class="title">数据作者系统有什么功能?</div>
|
||||
<div class="mditem">
|
||||
<li>1、进行数据认证</li>
|
||||
您在数据中心发布了一条数据,若需对数据进行修改,则需要进行数据认证。
|
||||
</div>
|
||||
<li class="more"><a href="/review/draft">更多>></a></li>
|
||||
</ul>
|
||||
</div>
|
|
@ -0,0 +1,26 @@
|
|||
<ul>
|
||||
<li><a href="/author/">介绍</a></li>
|
||||
<li><a href="/author/draft">数据认证</a></li>
|
||||
<li><a href="/author/accept">我的数据</a></li>
|
||||
<li><a href="/author/inauthor">数据申请管理</a></li>
|
||||
<li><a href="/author/authored">数据反馈管理</a></li>
|
||||
<li><a href="/author/help">数据调查</a></li>
|
||||
<li><a href="/author/help">数据新闻</a></li>
|
||||
<li><a href="/author/help">信息统计</a></li>
|
||||
</ul>
|
||||
<form id="search" enctype="application/x-www-form-urlencoded" action="/author/search" method="post">
|
||||
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||
<input type="hidden" name="submit" value="submit">
|
||||
</form>
|
||||
<script>
|
||||
function myfocus(element) {
|
||||
if (element.value == '回车搜索标题和摘要') {
|
||||
element.value = '';
|
||||
}
|
||||
}
|
||||
function myblur(element) {
|
||||
if (element.value == '') {
|
||||
element.value = '回车搜索标题和摘要';
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue