Browse Source

if (!defined("_ECRIRE_INC_VERSION")) return; sur tout fichier PHP pour sécurité future principalement

svn/attic/spip-bonux-3/118152
kent1@arscenic.info 12 years ago
parent
commit
9d512cc840
  1. 1
      inc/date_gestion.php
  2. 2
      inc/exporter_csv.php
  3. 4
      inc/importer_csv.php
  4. 1
      lang/spip_bonux_ar.php
  5. 1
      lang/spip_bonux_en.php
  6. 1
      lang/spip_bonux_fr.php
  7. 1
      public/spip_bonux_balises.php
  8. 3
      public/spip_bonux_criteres.php
  9. 1
      spip_bonux_fonctions.php
  10. 2
      spip_bonux_options.php

1
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

2
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');

4
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('<EFBFBD>','<EFBFBD>','<EFBFBD>','<EFBFBD>','<EFBFBD>',"<EFBFBD>","<EFBFBD>","'");
$accents_rep=array('e','e','e','a','u',"o","c","_");
return str_replace($accents,$accents_rep,$key);*/
}

1
lang/spip_bonux_ar.php

@ -1,6 +1,7 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(

1
lang/spip_bonux_en.php

@ -1,6 +1,7 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(

1
lang/spip_bonux_fr.php

@ -1,6 +1,7 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(

1
public/spip_bonux_balises.php

@ -7,6 +7,7 @@
*
*/
if (!defined('_ECRIRE_INC_VERSION')) return;
/**
* Empile un element dans un tableau declare par #SET{tableau,#ARRAY}

3
public/spip_bonux_criteres.php

@ -7,8 +7,7 @@
*
*/
if (!defined('_ECRIRE_INC_VERSION')) return;
/**
* http://www.spip-contrib.net/Classer-les-articles-par-nombre-de#forum409210

1
spip_bonux_fonctions.php

@ -7,6 +7,7 @@
*
*/
if (!defined('_ECRIRE_INC_VERSION')) return;
/**
* une fonction pour generer une balise img a partir d'un nom de fichier

2
spip_bonux_options.php

@ -7,6 +7,8 @@
*
*/
if (!defined('_ECRIRE_INC_VERSION')) return;
/**
* une fonction qui regarde si $texte est une chaine de langue
* de la forme <:qqch:>

Loading…
Cancel
Save