3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2012 *
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;
14 include_spip('inc/presentation');
16 function formulaires_configurer_moderniseur_charger_dist(){
18 'version_html_max' => html5_permis() ?
'html5' : 'html4',
24 function formulaires_configurer_moderniseur_traiter_dist(){
25 $res = array('editable'=>true);
29 if (!is_null($v=_request($m)))
30 ecrire_meta($m, $v=='html5'?
'html5':'html4');
32 $res['message_ok'] = _T('config_info_enregistree');