update search form
This commit is contained in:
parent
5439b8e68f
commit
bdef44427d
|
@ -1656,6 +1656,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
|
|||
*/
|
||||
function orderAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout('layout');
|
||||
$this->view->pageID = "account-dataorder";
|
||||
$ac = $this->_request->getParam('ac');
|
||||
|
||||
|
|
|
@ -10,9 +10,11 @@ $this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
|
|||
<div class="container">
|
||||
<div class="col-sm-12">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" placeholder="搜素关键词">
|
||||
<form action="/search" id="search-form">
|
||||
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
|
||||
</form>
|
||||
</div>
|
||||
<i></i>
|
||||
<i onclick="$('#search-form').submit()"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
$this->theme->AppendPlus($this,'uploadify');
|
||||
$this->theme->AppendModel($this,'offlineapp-uploader');
|
||||
?>
|
||||
<?= $this->render('breadcrumbs.phtml') ?>
|
||||
<div class="row">
|
||||
|
||||
<div class="span3">
|
||||
|
|
|
@ -19,19 +19,18 @@
|
|||
<li><a href="/about" class="scroll-link">关于本站</a></li>
|
||||
<li><a href="/author" class="scroll-link">数据提交</a></li>
|
||||
<li class="search">
|
||||
<input type="text" class="form-control" placeholder="搜索">
|
||||
<i></i>
|
||||
<form action="/search" id="search-form">
|
||||
<input type="text" name="q" id="q" class="form-control" placeholder="搜索">
|
||||
<i onclick="$('#search-form').submit()"></i>
|
||||
</form>
|
||||
</li>
|
||||
<?php
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if($auth->hasIdentity())
|
||||
{
|
||||
$user = $auth->getIdentity();
|
||||
echo '<li class="pull-right"><a href="/account">'.$user->username.'</a></li>';
|
||||
if ($user->usertype=="administrator") echo '<li class="pull-right"><a href="/admin"><i class="icon-cog"></i>后台</a></li>';
|
||||
echo '<li class="pull-right"><a href="/data/order"><i class="icon-shopping-cart"></i> 数据篮</a></li><li class="pull-right"><a href="/account/logout">注销</a></li>';
|
||||
echo '<li><a href="/data/order">数据篮</a></li>';
|
||||
} else {
|
||||
echo '<li id="login">登录</li>';
|
||||
echo '<li id="login" onclick="self.location = \'/account/login\'">登录</li>';
|
||||
} ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue