Browse Source

D'autres fixers en plus (avec php-cs-fixer), en relation avec PSR-2 :

- encoding (utf8)
- eof_ending (saut le ligne en fin de fichier)
- elseif (pas else if)
- function_call_space (espaces sur fonctions)
- function_declaration (pareil)
- function_typehint_space (pareil)
svn/root/tags/spip-3.1.0
Matthieu Marcillaud 3 years ago
parent
commit
7eb420262c
100 changed files with 98 additions and 99 deletions
  1. 1
    1
      config/ecran_securite.php
  2. 1
    1
      ecrire/action/activer_plugins.php
  3. 1
    1
      ecrire/action/ajouter_lien.php
  4. 1
    1
      ecrire/action/annuler_job.php
  5. 1
    1
      ecrire/action/auth.php
  6. 1
    1
      ecrire/action/calculer_taille_cache.php
  7. 1
    1
      ecrire/action/confirmer_email.php
  8. 1
    1
      ecrire/action/confirmer_inscription.php
  9. 1
    1
      ecrire/action/converser.php
  10. 1
    1
      ecrire/action/cookie.php
  11. 1
    1
      ecrire/action/debloquer_edition.php
  12. 1
    1
      ecrire/action/desinstaller_plugin.php
  13. 1
    1
      ecrire/action/editer_article.php
  14. 1
    1
      ecrire/action/editer_auteur.php
  15. 1
    1
      ecrire/action/editer_liens.php
  16. 1
    1
      ecrire/action/editer_objet.php
  17. 1
    1
      ecrire/action/etre_webmestre.php
  18. 1
    1
      ecrire/action/forcer_job.php
  19. 1
    1
      ecrire/action/instituer_langue_rubrique.php
  20. 1
    1
      ecrire/action/instituer_objet.php
  21. 1
    1
      ecrire/action/logout.php
  22. 1
    1
      ecrire/action/menu_rubriques.php
  23. 1
    1
      ecrire/action/preferer.php
  24. 1
    1
      ecrire/action/purger.php
  25. 1
    1
      ecrire/action/purger_queue.php
  26. 1
    1
      ecrire/action/redirect.php
  27. 1
    1
      ecrire/action/referencer_traduction.php
  28. 1
    1
      ecrire/action/session.php
  29. 1
    1
      ecrire/action/super_cron.php
  30. 1
    1
      ecrire/action/supprimer_lien.php
  31. 1
    1
      ecrire/action/supprimer_rubrique.php
  32. 1
    1
      ecrire/action/tester.php
  33. 0
    1
      ecrire/action/tester_taille.php
  34. 1
    1
      ecrire/auth/ldap.php
  35. 1
    1
      ecrire/auth/spip.php
  36. 1
    1
      ecrire/balise/configurer_metas.php
  37. 1
    1
      ecrire/balise/formulaire_.php
  38. 1
    1
      ecrire/balise/formulaire_admin.php
  39. 1
    1
      ecrire/balise/formulaire_ecrire_auteur.php
  40. 1
    1
      ecrire/balise/formulaire_inscription.php
  41. 1
    1
      ecrire/balise/info_.php
  42. 1
    1
      ecrire/balise/login_prive.php
  43. 1
    1
      ecrire/balise/login_public.php
  44. 1
    1
      ecrire/balise/logo_.php
  45. 1
    1
      ecrire/balise/menu_lang.php
  46. 1
    1
      ecrire/balise/menu_lang_ecrire.php
  47. 1
    1
      ecrire/balise/url_.php
  48. 1
    1
      ecrire/balise/url_logout.php
  49. 1
    1
      ecrire/base/abstract_sql.php
  50. 1
    1
      ecrire/base/auxiliaires.php
  51. 1
    1
      ecrire/base/connect_sql.php
  52. 1
    1
      ecrire/base/create.php
  53. 1
    1
      ecrire/base/delete_all.php
  54. 1
    1
      ecrire/base/dump.php
  55. 1
    1
      ecrire/base/repair.php
  56. 1
    1
      ecrire/base/serial.php
  57. 1
    1
      ecrire/base/trouver_table.php
  58. 1
    1
      ecrire/base/upgrade.php
  59. 1
    1
      ecrire/charsets/cp1250.php
  60. 1
    1
      ecrire/charsets/cp1251.php
  61. 1
    1
      ecrire/charsets/cp1256.php
  62. 1
    1
      ecrire/charsets/html.php
  63. 1
    1
      ecrire/charsets/iso-8859-1.php
  64. 1
    1
      ecrire/charsets/iso-8859-15.php
  65. 1
    1
      ecrire/charsets/iso-8859-6.php
  66. 1
    1
      ecrire/charsets/iso-8859-9.php
  67. 1
    1
      ecrire/charsets/mathml.php
  68. 1
    1
      ecrire/charsets/translit.php
  69. 1
    1
      ecrire/charsets/translitcomplexe.php
  70. 1
    1
      ecrire/exec/403.php
  71. 1
    1
      ecrire/exec/404.php
  72. 1
    1
      ecrire/exec/admin_plugin.php
  73. 1
    1
      ecrire/exec/base_delete_all.php
  74. 1
    1
      ecrire/exec/base_repair.php
  75. 1
    1
      ecrire/exec/demande_mise_a_jour.php
  76. 1
    1
      ecrire/exec/fond.php
  77. 1
    1
      ecrire/exec/fond_monobloc.php
  78. 1
    1
      ecrire/exec/info_plugin.php
  79. 1
    1
      ecrire/exec/informer.php
  80. 1
    1
      ecrire/exec/install.php
  81. 1
    1
      ecrire/exec/plonger.php
  82. 1
    1
      ecrire/exec/puce_statut.php
  83. 1
    1
      ecrire/exec/rechercher.php
  84. 1
    1
      ecrire/exec/selectionner.php
  85. 1
    1
      ecrire/exec/upgrade.php
  86. 1
    1
      ecrire/exec/valider_xml.php
  87. 1
    1
      ecrire/genie/mail.php
  88. 1
    1
      ecrire/genie/maintenance.php
  89. 1
    1
      ecrire/genie/mise_a_jour.php
  90. 1
    1
      ecrire/inc/acces.php
  91. 1
    1
      ecrire/inc/actions.php
  92. 1
    1
      ecrire/inc/admin.php
  93. 1
    1
      ecrire/inc/aider.php
  94. 1
    1
      ecrire/inc/auth.php
  95. 1
    1
      ecrire/inc/autoriser.php
  96. 1
    1
      ecrire/inc/bandeau.php
  97. 1
    1
      ecrire/inc/boutons.php
  98. 1
    1
      ecrire/inc/charger_php_extension.php
  99. 1
    1
      ecrire/inc/charsets.php
  100. 0
    0
      ecrire/inc/chercher_logo.php

+ 1
- 1
config/ecran_securite.php View File

@@ -328,4 +328,4 @@ if (
header("Pragma: no-cache");
header("Content-Type: text/html");
die("<html><title>Status 503: Site temporarily unavailable</title><body><h1>Status 503</h1><p>Site temporarily unavailable (load average $load)</p></body></html>");
}
}

+ 1
- 1
ecrire/action/activer_plugins.php View File

@@ -89,4 +89,4 @@ function action_activer_plugins_dist() {
// forcer la maj des meta pour les cas de modif de numero de version base via phpmyadmin
lire_metas();
enregistre_modif_plugin();
}
}

+ 1
- 1
ecrire/action/ajouter_lien.php View File

@@ -44,4 +44,4 @@ function action_ajouter_lien_dist($arg = null) {

include_spip('action/editer_liens');
objet_associer(array($objet_source => $ids), array($objet_lie => $idl));
}
}

+ 1
- 1
ecrire/action/annuler_job.php View File

@@ -34,4 +34,4 @@ function action_annuler_job_dist() {
) {
job_queue_remove($id_job);
}
}
}

+ 1
- 1
ecrire/action/auth.php View File

@@ -46,4 +46,4 @@ function action_auth_dist() {
// sinon on loge l'auteur identifie, et on finit (redirection automatique)
auth_loger($res);
}
}
}

+ 1
- 1
ecrire/action/calculer_taille_cache.php View File

@@ -96,4 +96,4 @@ function calculer_taille_dossier($dir) {
closedir($handle);

return $taille;
}
}

+ 1
- 1
ecrire/action/confirmer_email.php View File

@@ -44,4 +44,4 @@ function action_confirmer_email_dist() {
$GLOBALS['redirect'] = parametre_url($redirect, 'email_modif', '');
}

}
}

+ 1
- 1
ecrire/action/confirmer_inscription.php View File

@@ -73,4 +73,4 @@ function action_confirmer_inscription_dist() {
}
}

}
}

+ 1
- 1
ecrire/action/converser.php View File

@@ -94,4 +94,4 @@ function action_converser_post($lang, $ecrire = false) {
}
}
}
}
}

+ 1
- 1
ecrire/action/cookie.php View File

@@ -114,4 +114,4 @@ function action_cookie_dist($set_cookie_admin = null, $change_session = null) {
if ($redirect) {
redirige_par_entete($redirect, true);
}
}
}

+ 1
- 1
ecrire/action/debloquer_edition.php View File

@@ -44,4 +44,4 @@ function action_debloquer_edition_dist() {
debloquer_edition($GLOBALS['visiteur_session']['id_auteur'], $id_objet, $objet);
}
}
}
}

+ 1
- 1
ecrire/action/desinstaller_plugin.php View File

@@ -56,4 +56,4 @@ function action_desinstaller_plugin_dist() {
$redirect = str_replace('&amp;', '&', $redirect);
redirige_par_entete($redirect);
}
}
}

+ 1
- 1
ecrire/action/editer_article.php View File

@@ -560,4 +560,4 @@ function insert_article($id_rubrique) {
*/
function instituer_article($id_article, $c, $calcul_rub = true) {
return article_instituer($id_article, $c, $calcul_rub);
}
}

+ 1
- 1
ecrire/action/editer_auteur.php View File

@@ -496,4 +496,4 @@ function instituer_auteur($id_auteur, $c, $force_webmestre = false) {
*/
function revision_auteur($id_auteur, $c = false) {
return auteur_modifier($id_auteur, $c);
}
}

+ 1
- 1
ecrire/action/editer_liens.php View File

@@ -839,4 +839,4 @@ function lien_propage_date_modif($objet, $ids) {
}

$done[$hash] = true;
}
}

+ 1
- 1
ecrire/action/editer_objet.php View File

@@ -489,4 +489,4 @@ function objet_editer_heritage($objet, $id, $id_rubrique, $statut, $champs, $con
$postdate = false;
calculer_rubriques_if($id_rubrique, $champs, $statut, $postdate);
}
}
}

+ 1
- 1
ecrire/action/etre_webmestre.php View File

@@ -58,4 +58,4 @@ function base_etre_webmestre_dist() {
include_spip('action/editer_auteur');
instituer_auteur($GLOBALS['visiteur_session']['id_auteur'], array('webmestre' => 'oui'), true);
}
}
}

+ 1
- 1
ecrire/action/forcer_job.php View File

@@ -37,4 +37,4 @@ function action_forcer_job_dist() {
queue_schedule(array($id_job));
}

}
}

+ 1
- 1
ecrire/action/instituer_langue_rubrique.php View File

@@ -55,4 +55,4 @@ function action_instituer_langue_rubrique_dist() {
include_spip('inc/invalideur');
suivre_invalideur("id='rubrique/$id_rubrique'");
}
}
}

+ 1
- 1
ecrire/action/instituer_objet.php View File

@@ -50,4 +50,4 @@ function action_instituer_objet_dist($arg = null) {
objet_modifier($objet, $id_objet, array('statut' => $statut));
}

}
}

+ 1
- 1
ecrire/action/logout.php View File

@@ -145,4 +145,4 @@ function verifier_jeton_logout($jeton, $session) {
}

return false;
}
}

+ 1
- 1
ecrire/action/menu_rubriques.php View File

@@ -229,4 +229,4 @@ function gen_liste_rubriques() {
ecrire_fichier(_CACHE_RUBRIQUES, serialize($t));

return true;
}
}

+ 1
- 1
ecrire/action/preferer.php View File

@@ -82,4 +82,4 @@ function action_preferer_dist() {
}

}
}
}

+ 1
- 1
ecrire/action/purger.php View File

@@ -89,4 +89,4 @@ function action_purger_dist($arg = null) {

// le faire savoir aux plugins
pipeline('trig_purger', $arg);
}
}

+ 1
- 1
ecrire/action/purger_queue.php View File

@@ -33,4 +33,4 @@ function action_purger_queue_dist() {
queue_purger();
}

}
}

+ 1
- 1
ecrire/action/redirect.php View File

@@ -83,4 +83,4 @@ function action_redirect_dist() {
} else {
redirige_par_entete('/', '', $status);
}
}
}

+ 1
- 1
ecrire/action/referencer_traduction.php View File

@@ -88,4 +88,4 @@ function action_referencer_traduction_dist($objet, $id_objet, $id_trad) {
}

return true;
}
}

+ 1
- 1
ecrire/action/session.php View File

@@ -44,4 +44,4 @@ function action_session_dist() {

# TODO: mode lecture de session ; n'afficher que ce qu'il faut
#echo json_encode($GLOBALS['visiteur_session']);
}
}

+ 1
- 1
ecrire/action/super_cron.php View File

@@ -55,4 +55,4 @@ function action_super_cron_dist() {
// TBD

return;
}
}

+ 1
- 1
ecrire/action/supprimer_lien.php View File

@@ -45,4 +45,4 @@ function action_supprimer_lien_dist($arg = null) {

include_spip('action/editer_liens');
objet_dissocier(array($objet_source => $ids), array($objet_lie => $idl));
}
}

+ 1
- 1
ecrire/action/supprimer_rubrique.php View File

@@ -68,4 +68,4 @@ function action_supprimer_rubrique_dist($id_rubrique = null) {
include_spip('inc/invalideur');
suivre_invalideur("id='rubrique/$id_rubrique'");
}
}
}

+ 1
- 1
ecrire/action/tester.php View File

@@ -170,4 +170,4 @@ function action_tester_dist() {

# image echec
redirige_par_entete(chemin_image('puce-rouge-anim.gif'));
}
}

+ 0
- 1
ecrire/action/tester_taille.php View File

@@ -130,4 +130,3 @@ function action_tester_taille_dist() {
// on est ici, donc pas de plantage
echo redirige_formulaire($GLOBALS['redirect']);
}


+ 1
- 1
ecrire/auth/ldap.php View File

@@ -337,4 +337,4 @@ function auth_ldap_modifier_pass($login, $new_pass, $id_auteur, $serveur = '') {
$success = ldap_mod_replace($link, $dn, array('userPassword' => $encoded_pass));

return $success;
}
}

+ 1
- 1
ecrire/auth/spip.php View File

@@ -427,4 +427,4 @@ function auth_spip_synchroniser_distant($id_auteur, $champs, $options = array(),
spip_log("Ecriture de $htpasswd et $htpasswd-admin");
}
}
}
}

+ 1
- 1
ecrire/balise/configurer_metas.php View File

@@ -89,4 +89,4 @@ function balise_CONFIGURER_METAS_dyn($form) {
}

return array('formulaires/' . $form, 3600, $contexte);
}
}

+ 1
- 1
ecrire/balise/formulaire_.php View File

@@ -332,4 +332,4 @@ function formulaire__identifier($form, $args, $p) {
}

return $args === $p;
}
}

+ 1
- 1
ecrire/balise/formulaire_admin.php View File

@@ -296,4 +296,4 @@ function admin_debug() {
) AND autoriser('debug')
)
? parametre_url(self(), 'var_mode', 'debug', '&') : '';
}
}

+ 1
- 1
ecrire/balise/formulaire_ecrire_auteur.php View File

@@ -97,4 +97,4 @@ function balise_FORMULAIRE_ECRIRE_AUTEUR_stat($args, $context_compil) {

// OK
return $args;
}
}

+ 1
- 1
ecrire/balise/formulaire_inscription.php View File

@@ -77,4 +77,4 @@ function balise_FORMULAIRE_INSCRIPTION_stat($args, $context_compil) {
$mode = tester_statut_inscription($mode, $id);

return $mode ? array($mode, $id) : '';
}
}

+ 1
- 1
ecrire/balise/info_.php View File

@@ -57,4 +57,4 @@ function balise_INFO__dist($p) {

return $p;
}
}
}

+ 1
- 1
ecrire/balise/login_prive.php View File

@@ -80,4 +80,4 @@ function balise_LOGIN_PRIVE_dyn($url, $login) {
}

return balise_FORMULAIRE__dyn('login', $url, $login, true);
}
}

+ 1
- 1
ecrire/balise/login_public.php View File

@@ -82,4 +82,4 @@ function balise_LOGIN_PUBLIC_dyn($url, $login) {
}

return balise_FORMULAIRE__dyn('login', $url, $login, false);
}
}

+ 1
- 1
ecrire/balise/logo_.php View File

@@ -196,4 +196,4 @@ function logo_survol($id_objet, $_id_objet, $type, $align, $fichier, $lien, $p,

return ('(strlen($logo=' . $code . ')?\'<a href="\' .' . $lien . ' . \'">\' . $logo . \'</a>\':\'\')');

}
}

+ 1
- 1
ecrire/balise/menu_lang.php View File

@@ -78,4 +78,4 @@ function balise_MENU_LANG_dyn($opt) {
include_spip('balise/menu_lang_ecrire');

return menu_lang_pour_tous('var_lang', $opt);
}
}

+ 1
- 1
ecrire/balise/menu_lang_ecrire.php View File

@@ -122,4 +122,4 @@ function menu_lang_pour_tous($nom, $default) {
'default' => $default,
)
);
}
}

+ 1
- 1
ecrire/balise/url_.php View File

@@ -389,4 +389,4 @@ function balise_URL_ACTION_AUTEUR_dist($p) {
$p->interdire_scripts = false;

return $p;
}
}

+ 1
- 1
ecrire/balise/url_logout.php View File

@@ -74,4 +74,4 @@ function balise_URL_LOGOUT_dyn($cible) {
}

return generer_url_action('logout', "logout=public&url=" . rawurlencode($cible ? $cible : self('&')));
}
}

+ 1
- 1
ecrire/base/abstract_sql.php View File

@@ -2264,4 +2264,4 @@ function description_table($nom, $serveur = '') {
}

return false;
}
}

+ 1
- 1
ecrire/base/auxiliaires.php View File

@@ -25,4 +25,4 @@ if (!defined('_ECRIRE_INC_VERSION')) {
}

include_spip('base/objets');
lister_tables_objets_sql();
lister_tables_objets_sql();

+ 1
- 1
ecrire/base/connect_sql.php View File

@@ -528,4 +528,4 @@ function spip_query($query, $serveur = '') {
$f = spip_connect_sql($GLOBALS['spip_sql_version'], 'query', $serveur, true);

return function_exists($f) ? $f($query, $serveur) : false;
}
}

+ 1
- 1
ecrire/base/create.php View File

@@ -203,4 +203,4 @@ function maj_tables($upgrade_tables = array(), $serveur = '') {
$upgrade_tables,
$serveur
);
}
}

+ 1
- 1
ecrire/base/delete_all.php View File

@@ -52,4 +52,4 @@ function base_delete_all_dist($titre) {
$d = count($delete);
$r = count($res);
spip_log("Tables detruites: $r sur $d: " . join(', ', $res), _LOG_INFO_IMPORTANTE);
}
}

+ 1
- 1
ecrire/base/dump.php View File

@@ -740,4 +740,4 @@ function base_inserer_copie($table, $rows, $desc_dest, $serveur_dest) {
}

return $r;
}
}

+ 1
- 1
ecrire/base/repair.php View File

@@ -173,4 +173,4 @@ function admin_repair_tables() {
}

return $res;
}
}

+ 1
- 1
ecrire/base/serial.php View File

@@ -25,4 +25,4 @@ if (!defined('_ECRIRE_INC_VERSION')) {
}

include_spip('base/objets');
lister_tables_objets_sql();
lister_tables_objets_sql();

+ 1
- 1
ecrire/base/trouver_table.php View File

@@ -188,4 +188,4 @@ function base_trouver_table_dist($nom, $serveur = '', $table_spip = true) {
$res['id_table'] = $nom;

return $res;
}
}

+ 1
- 1
ecrire/base/upgrade.php View File

@@ -568,4 +568,4 @@ function upgrade_vers($version, $version_installee, $version_cible = 0) {
return ($version_installee < $version
AND (($version_cible >= $version) OR ($version_cible == 0))
);
}
}

+ 1
- 1
ecrire/charsets/cp1250.php View File

@@ -133,4 +133,4 @@ $GLOBALS['CHARSET']['cp1250'] = array(
0xFD => 0x00FD,
0xFE => 0x0163,
0xFF => 0x02D9
);
);

+ 1
- 1
ecrire/charsets/cp1251.php View File

@@ -136,4 +136,4 @@ $GLOBALS['CHARSET']['cp1251'] = array(
0xFD => 0x044D,
0xFE => 0x044E,
0xFF => 0x044F
);
);

+ 1
- 1
ecrire/charsets/cp1256.php View File

@@ -138,4 +138,4 @@ $GLOBALS['CHARSET']['cp1256'] = array(
0xFD => 0x200E,
0xFE => 0x200F,
0xFF => 0x06D2
);
);

+ 1
- 1
ecrire/charsets/html.php View File

@@ -127,4 +127,4 @@ $GLOBALS['CHARSET']['html'] = array(

## caracteres tres speciaux a ne pas convertir
#'amp' => '&', 'quot' => '"', 'lt' => '<', 'gt' => '>',
;
;

+ 1
- 1
ecrire/charsets/iso-8859-1.php View File

@@ -141,4 +141,4 @@ $GLOBALS['CHARSET']['iso-8859-1'] = array(
254 => 254,
255 => 255

);
);

+ 1
- 1
ecrire/charsets/iso-8859-15.php View File

@@ -34,4 +34,4 @@ $trans[188] = 338;
$trans[189] = 339;
$trans[190] = 376;

$GLOBALS['CHARSET']['iso-8859-15'] = $trans;
$GLOBALS['CHARSET']['iso-8859-15'] = $trans;

+ 1
- 1
ecrire/charsets/iso-8859-6.php View File

@@ -84,4 +84,4 @@ foreach ($mod as $num => $val) {
$trans[$num] = $val;
}

$GLOBALS['CHARSET']['iso-8859-6'] = $trans;
$GLOBALS['CHARSET']['iso-8859-6'] = $trans;

+ 1
- 1
ecrire/charsets/iso-8859-9.php View File

@@ -32,4 +32,4 @@ $trans[253] = 305; //inodot
$trans[254] = 351; //scedil
$trans[222] = 350; //Scedil

$GLOBALS['CHARSET']['iso-8859-9'] = $trans;
$GLOBALS['CHARSET']['iso-8859-9'] = $trans;

+ 1
- 1
ecrire/charsets/mathml.php View File

@@ -1691,4 +1691,4 @@ $GLOBALS['CHARSET']['mathml'] = array(
'Zscr' => '&#xE4DE;',
'zscr' => '&#xE4F7;'

);
);

+ 1
- 1
ecrire/charsets/translit.php View File

@@ -390,4 +390,4 @@ $GLOBALS['CHARSET']['translit'] = array(
7924 => "Y",
273 => "d"

);
);

+ 1
- 1
ecrire/charsets/translitcomplexe.php View File

@@ -175,4 +175,4 @@ $translit_c = array(
foreach ($translit_c as $u => $t) {
$trans[$u] = $t;
}
$GLOBALS['CHARSET']['translitcomplexe'] = $trans;
$GLOBALS['CHARSET']['translitcomplexe'] = $trans;

+ 1
- 1
ecrire/exec/403.php View File

@@ -62,4 +62,4 @@ function exec_403_dist($message = '') {

echo fin_gauche(), fin_page();
}
}
}

+ 1
- 1
ecrire/exec/404.php View File

@@ -46,4 +46,4 @@ function exec_404_dist() {
echo pipeline('affiche_milieu', array('args' => array('exec' => '404', 'exec_erreur' => $exec), 'data' => ''));

echo fin_gauche(), fin_page();
}
}

+ 1
- 1
ecrire/exec/admin_plugin.php View File

@@ -310,4 +310,4 @@ function liste_librairies() {
}

return $libs;
}
}

+ 1
- 1
ecrire/exec/base_delete_all.php View File

@@ -51,4 +51,4 @@ function exec_base_delete_all_dist() {
}
}
}
}
}

+ 1
- 1
ecrire/exec/base_repair.php View File

@@ -51,4 +51,4 @@ function exec_base_repair_dist() {
include_spip('inc/minipres');
echo minipres(_T('titre_reparation'), "<p>$message</p>");
}
}
}

+ 1
- 1
ecrire/exec/demande_mise_a_jour.php View File

@@ -54,4 +54,4 @@ function exec_demande_mise_a_jour_dist() {
echo '<style type="text/css">#debug-nav {display: none;}</style>';
echo fin_grand_cadre(true);
echo fin_page();
}
}

+ 1
- 1
ecrire/exec/fond.php View File

@@ -82,4 +82,4 @@ ob_end_flush();
*/
function exec_fond_dist() {

}
}

+ 1
- 1
ecrire/exec/fond_monobloc.php View File

@@ -122,4 +122,4 @@ function exec_fond_monobloc_dist() {

echo fin_gauche(), fin_page();
}
}
}

+ 1
- 1
ecrire/exec/info_plugin.php View File

@@ -40,4 +40,4 @@ function exec_info_plugin_dist() {
$afficher_plugin = charger_fonction("afficher_plugin", "plugins");
ajax_retour(affiche_bloc_plugin($plug, $info, $dir));
}
}
}

+ 1
- 1
ecrire/exec/informer.php View File

@@ -45,4 +45,4 @@ function exec_informer_dist() {
$res = '';
}
ajax_retour($res);
}
}

+ 1
- 1
ecrire/exec/install.php View File

@@ -66,4 +66,4 @@ function exec_install_dist() {
$fonc = charger_fonction("etape_$etape", 'install');
$fonc();
}
}
}

+ 1
- 1
ecrire/exec/plonger.php View File

@@ -46,4 +46,4 @@ function exec_plonger_dist() {
}

ajax_retour($r);
}
}

+ 1
- 1
ecrire/exec/puce_statut.php View File

@@ -73,4 +73,4 @@ function exec_puce_statut_args($id, $type) {
}
$puce_statut = charger_fonction('puce_statut', 'inc');
ajax_retour($puce_statut($id, $statut, $id_rubrique, $type, true));
}
}

+ 1
- 1
ecrire/exec/rechercher.php View File

@@ -181,4 +181,4 @@ function proposer_item($ids, $titles, $rac, $type, $do) {
}

return $ret;
}
}

+ 1
- 1
ecrire/exec/selectionner.php View File

@@ -45,4 +45,4 @@ function exec_selectionner_dist() {
$r = '';
}
ajax_retour($r);
}
}

+ 1
- 1
ecrire/exec/upgrade.php View File

@@ -89,4 +89,4 @@ function exec_upgrade_dist() {
echo redirige_formulaire($res);
}
}
}
}

+ 1
- 1
ecrire/exec/valider_xml.php View File

@@ -410,4 +410,4 @@ function valider_dir($files, $ext, $dir) {
}

return $res;
}
}

+ 1
- 1
ecrire/genie/mail.php View File

@@ -60,4 +60,4 @@ function genie_mail_dist($t) {
}

return 1;
}
}

+ 1
- 1
ecrire/genie/maintenance.php View File

@@ -113,4 +113,4 @@ function message_crash_tables() {
_T('texte_crash_base'), '',
_T('bouton_tenter_recuperation'));
}
}
}

+ 1
- 1
ecrire/genie/mise_a_jour.php View File

@@ -192,4 +192,4 @@ function info_maj_cache($nom, $dir, $page = '') {
ecrire_fichier($nom, $page);

return $page;
}
}

+ 1
- 1
ecrire/inc/acces.php View File

@@ -406,4 +406,4 @@ function gerer_htaccess() {
return isset($GLOBALS['meta']['creer_htaccess']) ? $GLOBALS['meta']['creer_htaccess'] : '';
}

initialiser_sel();
initialiser_sel();

+ 1
- 1
ecrire/inc/actions.php View File

@@ -151,4 +151,4 @@ function ajax_retour($corps, $content_type = null) {
$fin = "";
}
echo $debut, $corps, $fin, $e;
}
}

+ 1
- 1
ecrire/inc/admin.php View File

@@ -302,4 +302,4 @@ function copy_request($script, $suite, $submit = '') {
}

return generer_form_ecrire($script, $suite, '', $submit);
}
}

+ 1
- 1
ecrire/inc/aider.php View File

@@ -325,4 +325,4 @@ function aide_section($aide, $contenu, $prof = 2) {

# spip_log("aide inconnue $r dans " . substr($contenu, 0, 150));
return '';
}
}

+ 1
- 1
ecrire/inc/auth.php View File

@@ -761,4 +761,4 @@ function ask_php_auth($pb, $raison, $retour = '', $url = '', $re = '', $lien = '
include_spip('inc/minipres');
echo minipres($pb, $corps);
exit;
}
}

+ 1
- 1
ecrire/inc/autoriser.php View File

@@ -1573,4 +1573,4 @@ function autoriser_inscrireauteur_dist($faire, $quoi, $id, $qui, $opt) {
}

return false;
}
}

+ 1
- 1
ecrire/inc/bandeau.php View File

@@ -179,4 +179,4 @@ function bandeau_creer_url($url, $args = "", $contexte = null) {
*/
function inc_bandeau_dist() {
return recuperer_fond('prive/squelettes/inclure/barre-nav', $_GET);
}
}

+ 1
- 1
ecrire/inc/boutons.php View File

@@ -140,4 +140,4 @@ function barre_onglets($rubrique, $ongletCourant, $class = "barre_onglet") {
}

return !$res ? '' : (debut_onglet($class) . $res . fin_onglet());
}
}

+ 1
- 1
ecrire/inc/charger_php_extension.php View File

@@ -74,4 +74,4 @@ function inc_charger_php_extension_dist($module) {
$prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : '';

return @dl($prefix . $module_file . PHP_SHLIB_SUFFIX);
}
}

+ 1
- 1
ecrire/inc/charsets.php View File

@@ -1230,4 +1230,4 @@ function utf8_noplanes($x) {
}

return $x;
}
}

+ 0
- 0
ecrire/inc/chercher_logo.php View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save