librealire/librealire_fonctions.php

17 lines
361 B
PHP
Raw Permalink Normal View History

2020-09-25 12:06:00 +02:00
<?php
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
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');