[SPIP] +2.1.12
[velocampus/web/www.git] / www / ecrire / configuration / redacteurs.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2011 *
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_redacteurs_dist()
19 {
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>"
25 . "</td></tr>"
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')), " &nbsp; ")
30
31 . "</td></tr>\n"
32 . "</table>\n";
33
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);
37
38 return ajax_action_greffe('configurer-redacteurs', '', $res);
39 }
40 ?>