diff --git a/application/default/views/scripts/index/index.phtml b/application/default/views/scripts/index/index.phtml index d0abee7e..fa741568 100755 --- a/application/default/views/scripts/index/index.phtml +++ b/application/default/views/scripts/index/index.phtml @@ -71,7 +71,7 @@
  • 高级搜索
  • -
  • diff --git a/application/default/views/scripts/search/index.phtml b/application/default/views/scripts/search/index.phtml index 33eb139c..8daf4e55 100644 --- a/application/default/views/scripts/search/index.phtml +++ b/application/default/views/scripts/search/index.phtml @@ -141,7 +141,8 @@ $search=$this->search;

    highlight(htmlspecialchars($doc->description)); ?>

    diff --git a/application/models/SearchForm.php b/application/models/SearchForm.php index ad7f9464..465671e9 100755 --- a/application/models/SearchForm.php +++ b/application/models/SearchForm.php @@ -6,7 +6,8 @@ class SearchForm extends Zend_Form { parent::__construct($options); $this->setName('search'); - $this->setAction('/data/search'); + $this->setAction('/search'); + $this->setMethod('get'); $q = new Zend_Form_Element_Text('q'); $q->setRequired(true)