From: x2000habouzit Date: Mon, 17 Jul 2006 19:13:36 +0000 (+0000) Subject: drop exalead for good X-Git-Tag: xorg/0.9.11~368 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=234ba8458aa732958cae4e20cd0e633136a66be9;p=platal.git drop exalead for good git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@535 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs.net/css/exalead.css b/htdocs.net/css/exalead.css deleted file mode 100644 index 331ab0d..0000000 --- a/htdocs.net/css/exalead.css +++ /dev/null @@ -1,66 +0,0 @@ -div.exa_form{ - text-align: center; - background-color: #d8d4c8; - max-width: 400px; - margin: 0px 0px 10px 0px; - padding: 5px; - border: 3px solid #cfd8de; -} - -div.nb_results{ - background-color: #cfd8de; - color: #000000; - border: 1px solid #d8d4c8; - margin-bottom: 10px; - padding: 3px; -} - -div.exa_form div{ - margin: 5px; -} - -table.exa_data{ - width: 100%; -} -td.exa_left{ - vertical-align: top; - width: 30%; - padding: 5px; -} -td.exa_right{ - padding: 5px; - vertical-align: top; -} - -div.exa_groupe{ - /*max-width: 30ex;*/ - margin-bottom: 20px; - /*border: 1px solid #ACF;*/ -} -div.exa_groupe div.titre{ - border: 0px none #000; - border-bottom: 1px solid #000; - padding: 0px 0px 3px 5px; - margin: 0px 5px 2px 5px; -} -div.exa_categorie { -} -div.exa_spelling{ -} - -div.exa_keywords{ -} - -div.exa_result{ - border: 1px solid #333; - margin-bottom: 10px; - width: 100%; -} -div.exa_result div.header, div.field{ - background-color: #F4D09C; - padding: 3px; -} -div.exa_result div.field{ - background-color: inherit;/*#AACCFF;*/ -} -div.header span{} diff --git a/htdocs.net/images/exalead.jpg b/htdocs.net/images/exalead.jpg deleted file mode 100644 index 9951b2e..0000000 Binary files a/htdocs.net/images/exalead.jpg and /dev/null differ diff --git a/htdocs.net/images/exalead_res.jpg b/htdocs.net/images/exalead_res.jpg deleted file mode 100644 index 6a3557c..0000000 Binary files a/htdocs.net/images/exalead_res.jpg and /dev/null differ diff --git a/htdocs.net/recherche.php b/htdocs.net/recherche.php deleted file mode 100644 index d202f7e..0000000 --- a/htdocs.net/recherche.php +++ /dev/null @@ -1,22 +0,0 @@ -setType('recherche'); -$page->useMenu(); -$page->addCssLink('exalead.css'); - - -$query_exa = "http://murphy:10000/cgi/poly.net_devel"; - -$exalead = new Exalead($query_exa); - -if ($exalead->query('query')) { - $page->assign_by_ref('exalead_data', $exalead->data); -} - -$page->run(); - -?> diff --git a/templates/xnet/recherche.tpl b/templates/xnet/recherche.tpl deleted file mode 100644 index 963dda5..0000000 --- a/templates/xnet/recherche.tpl +++ /dev/null @@ -1,184 +0,0 @@ -{**************************************************************************} -{* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} -{* http://opensource.polytechnique.org/ *} -{* *} -{* This program is free software; you can redistribute it and/or modify *} -{* it under the terms of the GNU General Public License as published by *} -{* the Free Software Foundation; either version 2 of the License, or *} -{* (at your option) any later version. *} -{* *} -{* This program is distributed in the hope that it will be useful, *} -{* but WITHOUT ANY WARRANTY; without even the implied warranty of *} -{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} -{* GNU General Public License for more details. *} -{* *} -{* You should have received a copy of the GNU General Public License *} -{* along with this program; if not, write to the Free Software *} -{* Foundation, Inc., *} -{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} -{* *} -{**************************************************************************} - - -{if !$exalead_data} -

-Cette page de recherche fonctionne grâce au moteur développé par Exalead. -

-{/if} - -

-Ce moteur est capable de dégager des catégories à partir des résultats qu'il a trouvé, tu peux alors -affiner ta recherche et éliminer les résultats d'une catégorie particulière -([-]) -ou ne demander que les résultats appartenant à une catégorie particulière -([+]). -

- -

-Ce moteur sait aussi détecter des mots clés qu'il a pu rencontrer parmi les résultats, et permet -d'affiner la recherche sur ces critères, suivant le même fonctionnement que les catégories. -

- -Powered by Logo Exalead - -{if $exalead_data && $exalead_data->hits} - - - - - -
-
-
-
Rechercher
-
-
-
-
- {if $exalead_data} - - {if !$exalead_data->hits} -

Il n'y a aucun résultat...

- {else} -
- {if $exalead_data->estimated} -
Votre recherche a retourné environ {$exalead_data->nmatches} résultats.
- {else} -
Votre recherche a retourné {$exalead_data->nmatches} résultats.
- {/if} -
- {/if} - - {* - //Correction orthographique - {if $exalead_data->spellings|@count > 0} -
-
Voulais-tu dire :
- {foreach from=$exalead_data->spellings item="spelling"} - - {/foreach} -
- {/if} - - //Categories - {if $exalead_data->groups|@count > 0} - {foreach from=$exalead_data->groups item="group"} -
-
{$group->title} :
- {foreach from=$group->categories item="categorie"} - {if $categorie->reset_href} - {if $categorie->count == 0} - - {else} -
{$categorie->display} - [-] -
- {/if} - {else} - - {/if} - {/foreach} -
- {/foreach} - {/if} - - *} - - - {if $exalead_data->keywords} -
-
Affiner la recherche par mot-clés :
- {foreach from=$exalead_data->keywords item=keyword} - {if !$keyword->is_normal()} - {if $keyword->is_excluded()} - - {else} -
- {$keyword->display} - [-] -
- {/if} - {else} - - {/if} - {/foreach} -
- {/if} -
- {if $exalead_data->start > 0} - {if $exalead_data->start < 9} - query->context}&_s=0">[1-10] - {else} - [{$exalead_data->start-9}-{$exalead_data->end-9}] - {/if} - {/if} - - Classer - [par date] - [par pertinence] - - {if $exalead_data->end + 1 < $exalead_data->nhits} - {if $exalead_data->end + 11 > $exalead_data->nhits} - [{$exalead_data->start+11}-{$exalead_data->nhits}] - {else} - [{$exalead_data->start+11}-{$exalead_data->end+11}] - {/if} - {/if} - - {foreach from=$exalead_data->hits item=hit} -
- - {foreach from=$hit->hitgroups item=hitgroup} -
- {$hitgroup->title} : - {if $hitgroup->hitcategories[0]->browsehref} - {$hitgroup->hitcategories[0]->display} - {else} - {$hitgroup->hitcategories[0]->display} - {/if} -
- {/foreach} -
- {/foreach} - {/if} -
-{/if} - -{* vim:set et sw=2 sts=2 sws=2: *} diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 74bfbcb..a767829 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -148,23 +148,6 @@ manuel - ----------