把高级搜索直接放到顶部工具条中
This commit is contained in:
parent
ab436be989
commit
a754bfd2f7
|
@ -446,8 +446,8 @@ class DataController extends Zend_Controller_Action
|
||||||
function advancesearchAction()
|
function advancesearchAction()
|
||||||
{
|
{
|
||||||
$this->view->addHelperPath('helper','Zend_View_Helper_');
|
$this->view->addHelperPath('helper','Zend_View_Helper_');
|
||||||
$form=new SearchForm();
|
//$form=new SearchForm();
|
||||||
$this->view->form=$form;
|
//$this->view->form=$form;
|
||||||
|
|
||||||
$md=new MetadataTable();
|
$md=new MetadataTable();
|
||||||
$db=$md->getAdapter();
|
$db=$md->getAdapter();
|
||||||
|
|
|
@ -15,8 +15,6 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<div id='tools'>
|
<div id='tools'>
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<?= $this->partial('data/tools.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php echo $this->form; ?>
|
|
||||||
<a href="/data/advancesearch">高级搜索</a>
|
|
||||||
<?php if (!empty($this->metadata)) : ?>
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
<?php echo $this->page->getNavigation();
|
<?php echo $this->page->getNavigation();
|
||||||
foreach($this->metadata as $md) : ?>
|
foreach($this->metadata as $md) : ?>
|
||||||
|
|
|
@ -15,7 +15,6 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<?= $this->partial('data/tools.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php echo $this->form; ?>
|
<?php echo $this->form; ?>
|
||||||
<a href="/data/advancesearch">高级搜索</a>
|
|
||||||
<?php if (!empty($this->metadata)) : ?>
|
<?php if (!empty($this->metadata)) : ?>
|
||||||
<?php echo $this->page->getNavigation();
|
<?php echo $this->page->getNavigation();
|
||||||
foreach($this->metadata as $md) : ?>
|
foreach($this->metadata as $md) : ?>
|
||||||
|
|
|
@ -6,5 +6,6 @@
|
||||||
<li><a href="/data/map">空间浏览</a></li>
|
<li><a href="/data/map">空间浏览</a></li>
|
||||||
<li><a href="/data/timemap">时空浏览</a></li>
|
<li><a href="/data/timemap">时空浏览</a></li>
|
||||||
<li><a href="/data/browse">浏览所有元数据</a></li>
|
<li><a href="/data/browse">浏览所有元数据</a></li>
|
||||||
<li><a href="/data/search">搜索元数据</a></li>
|
<li><a href="/data/search">快速搜索</a></li>
|
||||||
|
<li><a href="/data/advancesearch">高级搜索</a></li>
|
||||||
</ul>
|
</ul>
|
Loading…
Reference in New Issue