Changeset 73445 in spip-zone


Ignore:
Timestamp:
Jun 10, 2013, 8:00:07 AM (6 years ago)
Author:
cedric@…
Message:

ajouter liens_nofollow() sur l'affichage des balises de la table petitions

Location:
_core_/branches/spip-3.0/plugins/petitions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/branches/spip-3.0/plugins/petitions/base/petitions.php

    r69327 r73445  
    4040        foreach(array('NOM_EMAIL','AD_EMAIL','NOM_SITE','URL_SITE','MESSAGE') as $balise)
    4141                if (!isset($interfaces['table_des_traitements'][$balise]['signatures']))
    42                         $interfaces['table_des_traitements'][$balise]['signatures'] = 'safehtml(%s)';
     42                        $interfaces['table_des_traitements'][$balise]['signatures'] = 'liens_nofollow(safehtml(%s))';
    4343                else
    4444                        if (strpos($interfaces['table_des_traitements'][$balise]['signatures'],'safehtml')==false)
    45                                 $interfaces['table_des_traitements'][$balise]['signatures'] = 'safehtml('.$interfaces['table_des_traitements'][$balise]['signatures'].')';
     45                                $interfaces['table_des_traitements'][$balise]['signatures'] = 'liens_nofollow(safehtml('.$interfaces['table_des_traitements'][$balise]['signatures'].'))';
    4646
    4747        return $interfaces;
  • _core_/branches/spip-3.0/plugins/petitions/paquet.xml

    r63516 r73445  
    22        prefix="petitions"
    33        categorie="communication"
    4         version="1.4.3"
     4        version="1.4.4"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset for help on using the changeset viewer.