' . "\n";
$head .= '' . "\n";
}
return $head;
}
function sociaux_sociaux_lister($flux) {
/**
* On reprend les éléments initiaux de la v1 du plugin :
* facebook, twitter, instagram, blogger, pinterest, linkedin, youtube, rss, email, tripadvisor, vimeo, flickr
*
*/
if (isset($flux['data'])) {
$flux['data']['mail'] = 'E-mail';
$flux['data']['rss'] = 'RSS';
$flux['data']['facebook'] = 'Facebook';
$flux['data']['twitter'] = 'Twitter';
$flux['data']['mastodon'] = 'Mastodon';
$flux['data']['instagram'] = 'Instagram';
$flux['data']['blogger'] = 'Blogger';
$flux['data']['pinterest'] = 'Pinterest';
$flux['data']['linkedin'] = 'Linkedin';
$flux['data']['youtube'] = 'Youtube';
$flux['data']['tripadvisor'] = 'TripAdvisor';
$flux['data']['vimeo'] = 'Vimeo';
$flux['data']['flickr'] = 'Flickr';
$flux['data']['viber'] = 'Viber';
$flux['data']['whatsapp'] = 'Whatsapp';
$flux['data']['skype'] = 'Skype';
}
return $flux;
}
/**
* Ajoute les scripts JS et CSS de saisies dans l'espace privé
*
* @param string $flux
* @return string
**/
function sociaux_header_prive($flux){
$css = find_in_path('lib/socicon/style.css');
$flux .= "\n\n";
return $flux;
}