uawdijnntqw1x1x1
IP : 216.73.216.217
Hostname : webm019.cluster129.gra.hosting.ovh.net
Kernel : Linux webm019.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
checkyd
/
www
/
local
/
.
/
..
/
plugins
/
seo
/
..
/
notifications
/
notifications
/
instituerarticle.php
/
/
<?php /* * Plugin Notifications * (c) 2009-2012 SPIP * Distribue sous licence GPL * */ if (!defined("_ECRIRE_INC_VERSION")) return; // Fonction appelee par divers pipelines // https://code.spip.net/@notifications_instituerarticle_dist function notifications_instituerarticle_dist($quoi, $id_article, $options) { // ne devrait jamais se produire if ($options['statut'] == $options['statut_ancien']) { spip_log("statut inchange",'notifications'); return; } include_spip('inc/texte'); $modele = ""; if ($options['statut'] == 'publie') { if ($GLOBALS['meta']["post_dates"]=='non' AND strtotime($options['date'])>time()) $modele = "notifications/article_valide"; else $modele = "notifications/article_publie"; } if ($options['statut'] == 'prop' AND $options['statut_ancien'] != 'publie') $modele = "notifications/article_propose"; if ($options['statut'] == 'refuse' AND in_array($options['statut_ancien'],array('prop','publie'))) { $modele = "notifications/article_refuse"; } if ($modele){ $destinataires = array(); if ($GLOBALS['meta']["suivi_edito"] == "oui") $destinataires = explode(',',$GLOBALS['meta']["adresse_suivi"]); $destinataires = pipeline('notifications_destinataires', array( 'args'=>array('quoi'=>$quoi,'id'=>$id_article,'options'=>$options) , 'data'=>$destinataires) ); $texte = email_notification_objet($id_article, "article", $modele); notifications_envoyer_mails($destinataires, $texte); } } ?>
/home/checkyd/www/local/./../plugins/seo/../notifications/notifications/instituerarticle.php