source: trunk/spip/esqueleto-redcta/plugins/cfg/cfg/classes/type_pwd.php @ 152

Last change on this file since 152 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
8if (!defined("_ECRIRE_INC_VERSION")) return;
9
10function 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.