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_redacteurs_dist()
20 $res = "<table border='0' cellspacing='1' cellpadding='3' width=\"100%\">"
21 . "\n<tr><td class='verdana2'>"
22 # . "<blockquote><p><i>"
23 . _T('info_question_inscription_nouveaux_redacteurs')
24 # . "</i></p></blockquote>"
26 . "\n<tr><td align='center' class='verdana2'>"
27 . afficher_choix('accepter_inscriptions', $GLOBALS['meta']["accepter_inscriptions"],
28 array('oui' => _T('item_accepter_inscriptions'),
29 'non' => _T('item_non_accepter_inscriptions')), " ")
34 $res = debut_cadre_trait_couleur("redacteurs-24.gif", true, "", _T('info_inscription_automatique'))
35 . ajax_action_post('configurer', 'redacteurs', 'config_contenu','',$res)
36 . fin_cadre_trait_couleur(true);
38 return ajax_action_greffe('configurer-redacteurs', '', $res);