3 * Plugin générique de configuration pour SPIP
9 * @copyright (c) toggg, marcimat 2007-2008
10 * @link http://www.spip-contrib.net/
11 * @version $Id: type_id.php 36735 2010-03-28 21:25:09Z gilles.vincent@gmail.com $
14 if (!defined("_ECRIRE_INC_VERSION")) return;
18 * @param string $champ
22 function cfg_verifier_type_id($champ, &$cfg){
23 if (!preg_match('#^[a-z_]\w*$#', $cfg->val
[$champ])){
24 $cfg->ajouter_erreur(_T('cfg:erreur_type_id', array('champ'=>$champ)));