3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2019 *
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')) {
17 function formulaires_configurer_articles_charger_dist() {
22 'articles_descriptif',
29 'articles_redirection',
31 $valeurs[$m] = $GLOBALS['meta'][$m];
38 function formulaires_configurer_articles_traiter_dist() {
39 $res = array('editable' => true);
41 // Purger les squelettes si un changement de meta les affecte
42 if ($i = _request('post_dates') and ($i != $GLOBALS['meta']['post_dates'])) {
49 'articles_descriptif',
56 'articles_redirection',
58 if (!is_null($v = _request($m))) {
59 ecrire_meta($m, $v == 'oui' ?
'oui' : 'non');
64 include_spip('inc/invalideur');
65 purger_repertoire(_DIR_SKELS
);
68 $res['message_ok'] = _T('config_info_enregistree');