missed thingies + typos.
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 4 Jul 2006 19:17:45 +0000 (19:17 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 4 Jul 2006 19:17:45 +0000 (19:17 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@365 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/search.php
templates/search/adv.form.tpl

index 3400caf..dd1fc3a 100644 (file)
@@ -211,7 +211,7 @@ class SearchModule extends PLModule
             $this->form_prepare();
         } else {
 
-            $search = new XOrgSearch('get_list');
+            $search = new XOrgSearch(array($this, 'get_advanced'));
             $search->setNbLines($globals->search->per_page);
 
             $page->assign('url_search_form', $search->make_url(Array('rechercher'=>0)));
index 6da13d9..d53b537 100644 (file)
@@ -24,7 +24,7 @@
 
 <p>[<a href="{rel}/search">Recherche simple</a>]</p>
 
-<form id="recherche" action="{$smarty.server.PHP_SELF}" method="get">
+<form id="recherche" action="{rel}/search/adv" method="get">
   <table class="bicol" cellpadding="3" summary="Recherche">
     <tr>
       <td>Nom</td>