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');
19 // Articles post-dates
22 function configuration_redirection_dist()
24 global $spip_lang_left;
26 $res = "<table border='0' cellspacing='1' cellpadding='3' width=\"100%\">"
27 . "<tr><td class='verdana2'>"
28 . _T('config_info_redirection')
31 . "<tr><td align='$spip_lang_left' class='verdana2'>"
32 . afficher_choix('articles_redirection', $GLOBALS['meta']["articles_redirection"],
33 array('oui' => _T('item_oui'),
34 'non' => _T('item_non')))
38 $res = debut_cadre_relief("", true, "", _T('config_redirection').aide ("artvirt"))
39 . ajax_action_post('configurer', 'redirection', 'configuration','',$res)
40 . fin_cadre_relief(true);
42 return ajax_action_greffe('configurer-redirection', '', $res);