Last change
on this file since 315 was
152,
checked in by guille, 15 years ago
|
se agregaron svn_update y cfg para el 2.0
|
File size:
407 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /* |
---|
4 | * Plugin CFG pour SPIP |
---|
5 | * (c) toggg, marcimat 2007-2008, distribue sous licence GNU/GPL |
---|
6 | * Documentation et contact: http://www.spip-contrib.net/ |
---|
7 | */ |
---|
8 | |
---|
9 | if (!defined("_ECRIRE_INC_VERSION")) return; |
---|
10 | |
---|
11 | |
---|
12 | function cfg_verifier_type_id($champ, &$cfg){ |
---|
13 | if (!preg_match('#^[a-z_]\w*$#', $cfg->val[$champ])){ |
---|
14 | $cfg->ajouter_erreur(_T('cfg:erreur_type_id', array('champ'=>$champ))); |
---|
15 | } |
---|
16 | return true; |
---|
17 | } |
---|
18 | |
---|
19 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.