diff --git a/inc/date_gestion.php b/inc/date_gestion.php index c5dfdc8..5fd2c99 100644 --- a/inc/date_gestion.php +++ b/inc/date_gestion.php @@ -6,6 +6,7 @@ * Licence GPL */ +if (!defined('_ECRIRE_INC_VERSION')) return; /** * Recuperer les champs date_xx et heure_xx, verifier leur coherence et les reformater diff --git a/inc/exporter_csv.php b/inc/exporter_csv.php index c2556f0..bad0aed 100644 --- a/inc/exporter_csv.php +++ b/inc/exporter_csv.php @@ -11,6 +11,8 @@ * */ +if (!defined('_ECRIRE_INC_VERSION')) return; + include_spip('inc/charsets'); include_spip('inc/filtres'); include_spip('inc/texte'); diff --git a/inc/importer_csv.php b/inc/importer_csv.php index fd94029..0e1a4cf 100644 --- a/inc/importer_csv.php +++ b/inc/importer_csv.php @@ -9,6 +9,8 @@ * */ +if (!defined('_ECRIRE_INC_VERSION')) return; + include_spip('inc/charsets'); /** @@ -46,7 +48,7 @@ function importer_csv_importcharset($texte){ */ function importer_csv_nettoie_key($key){ return translitteration($key); - /*$accents=array('é','è','ê','à','ù',"ô","ç","'"); + /*$accents=array('�','�','�','�','�',"�","�","'"); $accents_rep=array('e','e','e','a','u',"o","c","_"); return str_replace($accents,$accents_rep,$key);*/ } diff --git a/lang/spip_bonux_ar.php b/lang/spip_bonux_ar.php index e5a2b5d..62efddd 100644 --- a/lang/spip_bonux_ar.php +++ b/lang/spip_bonux_ar.php @@ -1,6 +1,7 @@