3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2014 *
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 function formulaires_configurer_articles_charger_dist(){
19 "articles_descriptif",
26 "articles_redirection",
28 $valeurs[$m] = $GLOBALS['meta'][$m];
34 function formulaires_configurer_articles_traiter_dist(){
35 $res = array('editable'=>true);
37 // Purger les squelettes si un changement de meta les affecte
38 if ($i = _request('post_dates') AND ($i != $GLOBALS['meta']["post_dates"]))
44 "articles_descriptif",
51 "articles_redirection",
53 if (!is_null($v=_request($m)))
54 ecrire_meta($m, $v=='oui'?
'oui':'non');
57 include_spip('inc/invalideur');
58 purger_repertoire(_DIR_SKELS
);
61 $res['message_ok'] = _T('config_info_enregistree');