Changeset 119815 in spip-zone
- Timestamp:
- Jan 17, 2020, 12:45:23 PM (14 months ago)
- Location:
- _plugins_/tickets/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/tickets/trunk/formulaires/editer_ticket.php
r81493 r119815 114 114 if (include_spip('inc/nospam')) { 115 115 include_spip('inc/texte'); 116 include_spip('inc/nospam'); 116 117 $texte = _request('texte'); 117 $caracteres = compter_caracteres_utiles($texte);118 $caracteres = nospam_compter_caracteres_utiles($texte); 118 119 // moins de 10 caracteres sans les liens = spam ! 119 120 if ($caracteres < 10) … … 121 122 122 123 // on analyse le titre 123 $infos_titre = analyser_spams(_request('titre'));124 $infos_titre = nospam_analyser_spams(_request('titre')); 124 125 // si un lien dans le titre = spam ! 125 126 if ($infos_titre['nombre_liens'] > 0) 126 127 $erreurs['titre'] = _T('nospam:erreur_spam'); 127 128 // on analyse le texte 128 $infos_texte = analyser_spams($texte);129 $infos_texte = nospam_analyser_spams($texte); 129 130 130 131 if ($infos_texte['nombre_liens'] > 0) { -
_plugins_/tickets/trunk/paquet.xml
r118988 r119815 2 2 prefix="tickets" 3 3 categorie="divers" 4 version="4.1. 4"4 version="4.1.5" 5 5 etat="stable" 6 6 compatibilite="[3.0.15;3.2.*]" … … 38 38 39 39 <necessite nom="saisies" compatibilite="[3.23.2;[" /> 40 <necessite nom="nospam" compatibilite="[2.1.6;[" /> 40 41 <utilise nom="Zpip" compatibilite="[2.0.3;[" /> 41 42 <utilise nom="Z" compatibilite="[1.7.21;[" />
Note: See TracChangeset
for help on using the changeset viewer.