[SPIP] ~maj v2.1.25-->2.1.26
[velocampus/web/www.git] / www / ecrire / configuration / indexeur.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2014 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
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 \***************************************************************************/
12
13 if (!defined('_ECRIRE_INC_VERSION')) return;
14
15 include_spip('inc/presentation');
16 include_spip('inc/config');
17
18 function configuration_indexeur_dist()
19 {
20 global $spip_lang_right;
21
22 $res = "<div class='verdana2'>"
23 . _T('info_question_utilisation_moteur_recherche')
24 . "</div>"
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')), ' &nbsp; ')
29 . "</div>";
30
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);
34
35 return ajax_action_greffe("configurer-indexeur", '', $res);
36 }
37 ?>