3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2011 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
13 if (!defined('_ECRIRE_INC_VERSION')) return;
15 include_spip('inc/presentation');
16 include_spip('inc/config');
18 function configuration_indexeur_dist()
20 global $spip_lang_right;
22 $res = "<div class='verdana2'>"
23 . _T('info_question_utilisation_moteur_recherche')
25 . "<div class='verdana2'>"
26 . afficher_choix('activer_moteur', $GLOBALS['meta']["activer_moteur"],
27 array('oui' => _T('item_utiliser_moteur_recherche'),
28 'non' => _T('item_non_utiliser_moteur_recherche')), ' ')
31 $res = debut_cadre_trait_couleur("racine-site-24.gif", true, "", _T('info_moteur_recherche').aide ("confmoteur"))
32 . ajax_action_post('configurer', 'indexeur', 'config_fonctions', '', $res)
33 . fin_cadre_trait_couleur(true);
35 return ajax_action_greffe("configurer-indexeur", '', $res);