Changeset 112707 in spip-zone


Ignore:
Timestamp:
Dec 10, 2018, 2:18:46 PM (4 months ago)
Author:
root
Message:

Sortir les réseaux sociaux de ce qui constitue une adresse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/soyezcreateurs_pipelines.php

    r112705 r112707  
    3131
    3232function soyezcreateurs_identite_extra_champs($champs) {
    33         define('_CHAMPS_INDENTITE_EXTRA_SC', 'adresse,code_postal,ville,pays,telephone,fax,email_contact,informations,id_article_contact,facebook,twitter,linkedin,instagram,pinterest,viadeo,latitude,longitude');
     33        define('_CHAMPS_INDENTITE_EXTRA_SC', 'adresse,code_postal,ville,pays,telephone,fax,email_contact,informations,id_article_contact,latitude,longitude');
    3434        $champs = explode(',', _CHAMPS_INDENTITE_EXTRA_SC);
     35        $champs[] = 'facebook';
     36        $champs[] = 'twitter';
     37        $champs[] = 'linkedin';
     38        $champs[] = 'instagram';
     39        $champs[] = 'pinterest';
     40        $champs[] = 'viadeo';
    3541        return $champs;
    3642}
Note: See TracChangeset for help on using the changeset viewer.