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:
399 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Plugin CFG pour SPIP |
---|
4 | * (c) toggg, marcimat 2007-2008, distribue sous licence GNU/GPL |
---|
5 | * Documentation et contact: http://www.spip-contrib.net/ |
---|
6 | */ |
---|
7 | |
---|
8 | if (!defined("_ECRIRE_INC_VERSION")) return; |
---|
9 | |
---|
10 | function cfg_verifier_type_pwd($champ, &$cfg) { |
---|
11 | if (strlen($cfg->val[$champ]) < 5){ |
---|
12 | $cfg->ajouter_erreur($champ, _T('cfg:erreur_type_pwd', array('champ'=>$champ))); |
---|
13 | } |
---|
14 | return true; |
---|
15 | } |
---|
16 | |
---|
17 | |
---|
18 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.