58c12d2e65104517514b5a68f31aa0950ae2cde6
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')) {
16 include_spip('inc/presentation');
18 function formulaires_configurer_moderniseur_charger_dist() {
20 'version_html_max' => html5_permis() ?
'html5' : 'html4',
27 function formulaires_configurer_moderniseur_traiter_dist() {
28 $res = array('editable' => true);
32 if (!is_null($v = _request($m))) {
33 ecrire_meta($m, $v == 'html5' ?
'html5' : 'html4');
37 $res['message_ok'] = _T('config_info_enregistree');