2020-09-25 12:06:00 +02:00
|
|
|
<?php
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) {
|
|
|
|
return;
|
|
|
|
}
|
2020-10-23 16:33:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
function retiremot($chaine) {
|
|
|
|
$chaine = str_replace('mot','',$chaine);
|
|
|
|
return $chaine;
|
|
|
|
}
|
2020-12-03 10:18:50 +01:00
|
|
|
|
|
|
|
include_spip('inc/cextras_autoriser');
|
|
|
|
// restreindre les champs extras
|
|
|
|
restreindre_extras('article', 'transcriptions', 'transcriptions', 'composition');
|
|
|
|
restreindre_extras('mot', 'soustitre', 5, 'groupemot');
|
2021-01-28 17:57:36 +01:00
|
|
|
|