From ee7447f4e519cec9a38e5a0c77512d8fd8feaa0d Mon Sep 17 00:00:00 2001
From: "kent1@arscenic.info" <>
Date: Wed, 7 Sep 2016 18:04:17 +0000
Subject: [PATCH] =?UTF-8?q?D=C3=A9but=20de=20PSR=20SPIP?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
facteur_administrations.php | 13 +-
facteur_ieconfig_metas.php | 36 +--
facteur_pipelines.php | 20 +-
formulaires/configurer_facteur.php | 441 +++++++++++++++--------------
inc/facteur_classes.php | 9 +-
5 files changed, 259 insertions(+), 260 deletions(-)
diff --git a/facteur_administrations.php b/facteur_administrations.php
index 1b0467a..9cd9f3a 100755
--- a/facteur_administrations.php
+++ b/facteur_administrations.php
@@ -6,10 +6,11 @@
*
*/
-if (!defined("_ECRIRE_INC_VERSION")) return;
-
-function facteur_upgrade($nom_meta_base_version, $version_cible){
+if (!defined('_ECRIRE_INC_VERSION')) {
+ return;
+}
+function facteur_upgrade($nom_meta_base_version, $version_cible) {
$maj = array();
$maj['create'] = array(
@@ -28,7 +29,7 @@ function facteur_upgrade($nom_meta_base_version, $version_cible){
maj_plugin($nom_meta_base_version, $version_cible, $maj);
}
-function facteur_vieil_upgrade(){
+function facteur_vieil_upgrade() {
// migration depuis tres ancienne version, a la main
if (isset($GLOBALS['meta']['spip_notifications_version'])) {
ecrire_meta('facteur_smtp', $GLOBALS['meta']['spip_notifications_smtp']);
@@ -77,7 +78,3 @@ function facteur_vider_tables($nom_meta_base_version) {
effacer_meta('facteur_bcc');
effacer_meta($nom_meta_base_version);
}
-
-
-
-?>
diff --git a/facteur_ieconfig_metas.php b/facteur_ieconfig_metas.php
index 5f0e1bf..1217c61 100644
--- a/facteur_ieconfig_metas.php
+++ b/facteur_ieconfig_metas.php
@@ -1,18 +1,18 @@
-
\ No newline at end of file
+ 0)){
+ && (isset($GLOBALS['meta']['facteur_adresse_envoi_email']) && strlen($GLOBALS['meta']['facteur_adresse_envoi_email']) > 0)) {
$ajout = '
'._T('facteur:message_identite_email').'
';
- $flux['data'] = preg_replace(",(]*class=[\"']editer editer_email_webmaster.*>)(.*