diff --git a/config/ecran_securite.php b/config/ecran_securite.php index fac307cb87..0d0aa8f7a6 100644 --- a/config/ecran_securite.php +++ b/config/ecran_securite.php @@ -328,4 +328,4 @@ if ( header("Pragma: no-cache"); header("Content-Type: text/html"); die("Status 503: Site temporarily unavailable

Status 503

Site temporarily unavailable (load average $load)

"); -} \ No newline at end of file +} diff --git a/ecrire/action/activer_plugins.php b/ecrire/action/activer_plugins.php index f0cfcd1400..68506aaa1f 100644 --- a/ecrire/action/activer_plugins.php +++ b/ecrire/action/activer_plugins.php @@ -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(); -} \ No newline at end of file +} diff --git a/ecrire/action/ajouter_lien.php b/ecrire/action/ajouter_lien.php index 201b1b5651..882711b340 100644 --- a/ecrire/action/ajouter_lien.php +++ b/ecrire/action/ajouter_lien.php @@ -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)); -} \ No newline at end of file +} diff --git a/ecrire/action/annuler_job.php b/ecrire/action/annuler_job.php index da6ef73af9..d0464206ae 100644 --- a/ecrire/action/annuler_job.php +++ b/ecrire/action/annuler_job.php @@ -34,4 +34,4 @@ function action_annuler_job_dist() { ) { job_queue_remove($id_job); } -} \ No newline at end of file +} diff --git a/ecrire/action/auth.php b/ecrire/action/auth.php index 295c948900..5aed39776b 100644 --- a/ecrire/action/auth.php +++ b/ecrire/action/auth.php @@ -46,4 +46,4 @@ function action_auth_dist() { // sinon on loge l'auteur identifie, et on finit (redirection automatique) auth_loger($res); } -} \ No newline at end of file +} diff --git a/ecrire/action/calculer_taille_cache.php b/ecrire/action/calculer_taille_cache.php index 4a98d28740..fb8f2e0a91 100644 --- a/ecrire/action/calculer_taille_cache.php +++ b/ecrire/action/calculer_taille_cache.php @@ -96,4 +96,4 @@ function calculer_taille_dossier($dir) { closedir($handle); return $taille; -} \ No newline at end of file +} diff --git a/ecrire/action/confirmer_email.php b/ecrire/action/confirmer_email.php index 4109fb5261..3e1ae58b87 100644 --- a/ecrire/action/confirmer_email.php +++ b/ecrire/action/confirmer_email.php @@ -44,4 +44,4 @@ function action_confirmer_email_dist() { $GLOBALS['redirect'] = parametre_url($redirect, 'email_modif', ''); } -} \ No newline at end of file +} diff --git a/ecrire/action/confirmer_inscription.php b/ecrire/action/confirmer_inscription.php index 57a043544b..1997f62569 100644 --- a/ecrire/action/confirmer_inscription.php +++ b/ecrire/action/confirmer_inscription.php @@ -73,4 +73,4 @@ function action_confirmer_inscription_dist() { } } -} \ No newline at end of file +} diff --git a/ecrire/action/converser.php b/ecrire/action/converser.php index 69b783ec76..aaf37c60e1 100644 --- a/ecrire/action/converser.php +++ b/ecrire/action/converser.php @@ -94,4 +94,4 @@ function action_converser_post($lang, $ecrire = false) { } } } -} \ No newline at end of file +} diff --git a/ecrire/action/cookie.php b/ecrire/action/cookie.php index 3833a7381d..ce1c69d5a6 100644 --- a/ecrire/action/cookie.php +++ b/ecrire/action/cookie.php @@ -114,4 +114,4 @@ function action_cookie_dist($set_cookie_admin = null, $change_session = null) { if ($redirect) { redirige_par_entete($redirect, true); } -} \ No newline at end of file +} diff --git a/ecrire/action/debloquer_edition.php b/ecrire/action/debloquer_edition.php index ab69fea309..cb8a3220b0 100644 --- a/ecrire/action/debloquer_edition.php +++ b/ecrire/action/debloquer_edition.php @@ -44,4 +44,4 @@ function action_debloquer_edition_dist() { debloquer_edition($GLOBALS['visiteur_session']['id_auteur'], $id_objet, $objet); } } -} \ No newline at end of file +} diff --git a/ecrire/action/desinstaller_plugin.php b/ecrire/action/desinstaller_plugin.php index b716edac24..6d3057c88e 100644 --- a/ecrire/action/desinstaller_plugin.php +++ b/ecrire/action/desinstaller_plugin.php @@ -56,4 +56,4 @@ function action_desinstaller_plugin_dist() { $redirect = str_replace('&', '&', $redirect); redirige_par_entete($redirect); } -} \ No newline at end of file +} diff --git a/ecrire/action/editer_article.php b/ecrire/action/editer_article.php index d10c4c1e2b..d75bfeafa7 100644 --- a/ecrire/action/editer_article.php +++ b/ecrire/action/editer_article.php @@ -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); -} \ No newline at end of file +} diff --git a/ecrire/action/editer_auteur.php b/ecrire/action/editer_auteur.php index 958c80f340..18f8e9445d 100644 --- a/ecrire/action/editer_auteur.php +++ b/ecrire/action/editer_auteur.php @@ -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); -} \ No newline at end of file +} diff --git a/ecrire/action/editer_liens.php b/ecrire/action/editer_liens.php index a2f41a8b4e..f5becafdb4 100644 --- a/ecrire/action/editer_liens.php +++ b/ecrire/action/editer_liens.php @@ -839,4 +839,4 @@ function lien_propage_date_modif($objet, $ids) { } $done[$hash] = true; -} \ No newline at end of file +} diff --git a/ecrire/action/editer_objet.php b/ecrire/action/editer_objet.php index 404cf2e9f2..5485ef6cd6 100644 --- a/ecrire/action/editer_objet.php +++ b/ecrire/action/editer_objet.php @@ -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); } -} \ No newline at end of file +} diff --git a/ecrire/action/etre_webmestre.php b/ecrire/action/etre_webmestre.php index 47de167b51..4f48b882a9 100644 --- a/ecrire/action/etre_webmestre.php +++ b/ecrire/action/etre_webmestre.php @@ -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); } -} \ No newline at end of file +} diff --git a/ecrire/action/forcer_job.php b/ecrire/action/forcer_job.php index 2473786e79..7617effedf 100644 --- a/ecrire/action/forcer_job.php +++ b/ecrire/action/forcer_job.php @@ -37,4 +37,4 @@ function action_forcer_job_dist() { queue_schedule(array($id_job)); } -} \ No newline at end of file +} diff --git a/ecrire/action/instituer_langue_rubrique.php b/ecrire/action/instituer_langue_rubrique.php index bce4c54a47..223df5c87d 100644 --- a/ecrire/action/instituer_langue_rubrique.php +++ b/ecrire/action/instituer_langue_rubrique.php @@ -55,4 +55,4 @@ function action_instituer_langue_rubrique_dist() { include_spip('inc/invalideur'); suivre_invalideur("id='rubrique/$id_rubrique'"); } -} \ No newline at end of file +} diff --git a/ecrire/action/instituer_objet.php b/ecrire/action/instituer_objet.php index 75d2f8a814..a0dc8cab59 100644 --- a/ecrire/action/instituer_objet.php +++ b/ecrire/action/instituer_objet.php @@ -50,4 +50,4 @@ function action_instituer_objet_dist($arg = null) { objet_modifier($objet, $id_objet, array('statut' => $statut)); } -} \ No newline at end of file +} diff --git a/ecrire/action/logout.php b/ecrire/action/logout.php index 15296a1a0c..a8070c88cd 100644 --- a/ecrire/action/logout.php +++ b/ecrire/action/logout.php @@ -145,4 +145,4 @@ function verifier_jeton_logout($jeton, $session) { } return false; -} \ No newline at end of file +} diff --git a/ecrire/action/menu_rubriques.php b/ecrire/action/menu_rubriques.php index fc78bc73c7..b6b51f59a6 100644 --- a/ecrire/action/menu_rubriques.php +++ b/ecrire/action/menu_rubriques.php @@ -229,4 +229,4 @@ function gen_liste_rubriques() { ecrire_fichier(_CACHE_RUBRIQUES, serialize($t)); return true; -} \ No newline at end of file +} diff --git a/ecrire/action/preferer.php b/ecrire/action/preferer.php index eba6f1859d..08f1b0c06c 100644 --- a/ecrire/action/preferer.php +++ b/ecrire/action/preferer.php @@ -82,4 +82,4 @@ function action_preferer_dist() { } } -} \ No newline at end of file +} diff --git a/ecrire/action/purger.php b/ecrire/action/purger.php index 3296cd99b1..b06c682c77 100644 --- a/ecrire/action/purger.php +++ b/ecrire/action/purger.php @@ -89,4 +89,4 @@ function action_purger_dist($arg = null) { // le faire savoir aux plugins pipeline('trig_purger', $arg); -} \ No newline at end of file +} diff --git a/ecrire/action/purger_queue.php b/ecrire/action/purger_queue.php index 30b2198bbc..26faa99813 100644 --- a/ecrire/action/purger_queue.php +++ b/ecrire/action/purger_queue.php @@ -33,4 +33,4 @@ function action_purger_queue_dist() { queue_purger(); } -} \ No newline at end of file +} diff --git a/ecrire/action/redirect.php b/ecrire/action/redirect.php index 2e586d14b4..f98c8fcb30 100644 --- a/ecrire/action/redirect.php +++ b/ecrire/action/redirect.php @@ -83,4 +83,4 @@ function action_redirect_dist() { } else { redirige_par_entete('/', '', $status); } -} \ No newline at end of file +} diff --git a/ecrire/action/referencer_traduction.php b/ecrire/action/referencer_traduction.php index 0edabd5c78..3e4091075b 100644 --- a/ecrire/action/referencer_traduction.php +++ b/ecrire/action/referencer_traduction.php @@ -88,4 +88,4 @@ function action_referencer_traduction_dist($objet, $id_objet, $id_trad) { } return true; -} \ No newline at end of file +} diff --git a/ecrire/action/session.php b/ecrire/action/session.php index b6ca633ef1..b96dd9760c 100644 --- a/ecrire/action/session.php +++ b/ecrire/action/session.php @@ -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']); -} \ No newline at end of file +} diff --git a/ecrire/action/super_cron.php b/ecrire/action/super_cron.php index 3379dd7596..8f00b35665 100644 --- a/ecrire/action/super_cron.php +++ b/ecrire/action/super_cron.php @@ -55,4 +55,4 @@ function action_super_cron_dist() { // TBD return; -} \ No newline at end of file +} diff --git a/ecrire/action/supprimer_lien.php b/ecrire/action/supprimer_lien.php index 2af168afd6..6ba4701626 100644 --- a/ecrire/action/supprimer_lien.php +++ b/ecrire/action/supprimer_lien.php @@ -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)); -} \ No newline at end of file +} diff --git a/ecrire/action/supprimer_rubrique.php b/ecrire/action/supprimer_rubrique.php index d0f2fdc5ee..2432231a09 100644 --- a/ecrire/action/supprimer_rubrique.php +++ b/ecrire/action/supprimer_rubrique.php @@ -68,4 +68,4 @@ function action_supprimer_rubrique_dist($id_rubrique = null) { include_spip('inc/invalideur'); suivre_invalideur("id='rubrique/$id_rubrique'"); } -} \ No newline at end of file +} diff --git a/ecrire/action/tester.php b/ecrire/action/tester.php index c894015e79..b5975aac45 100644 --- a/ecrire/action/tester.php +++ b/ecrire/action/tester.php @@ -170,4 +170,4 @@ function action_tester_dist() { # image echec redirige_par_entete(chemin_image('puce-rouge-anim.gif')); -} \ No newline at end of file +} diff --git a/ecrire/action/tester_taille.php b/ecrire/action/tester_taille.php index 5f28736e9a..dcffcff90b 100644 --- a/ecrire/action/tester_taille.php +++ b/ecrire/action/tester_taille.php @@ -130,4 +130,3 @@ function action_tester_taille_dist() { // on est ici, donc pas de plantage echo redirige_formulaire($GLOBALS['redirect']); } - diff --git a/ecrire/auth/ldap.php b/ecrire/auth/ldap.php index 8e6e75f069..a9df5f719d 100644 --- a/ecrire/auth/ldap.php +++ b/ecrire/auth/ldap.php @@ -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; -} \ No newline at end of file +} diff --git a/ecrire/auth/spip.php b/ecrire/auth/spip.php index 99ed1b8fc1..3c9ed251a0 100644 --- a/ecrire/auth/spip.php +++ b/ecrire/auth/spip.php @@ -427,4 +427,4 @@ function auth_spip_synchroniser_distant($id_auteur, $champs, $options = array(), spip_log("Ecriture de $htpasswd et $htpasswd-admin"); } } -} \ No newline at end of file +} diff --git a/ecrire/balise/configurer_metas.php b/ecrire/balise/configurer_metas.php index 031a3ece81..5577d2b8d7 100644 --- a/ecrire/balise/configurer_metas.php +++ b/ecrire/balise/configurer_metas.php @@ -89,4 +89,4 @@ function balise_CONFIGURER_METAS_dyn($form) { } return array('formulaires/' . $form, 3600, $contexte); -} \ No newline at end of file +} diff --git a/ecrire/balise/formulaire_.php b/ecrire/balise/formulaire_.php index 67b21280d7..f6431c3903 100644 --- a/ecrire/balise/formulaire_.php +++ b/ecrire/balise/formulaire_.php @@ -332,4 +332,4 @@ function formulaire__identifier($form, $args, $p) { } return $args === $p; -} \ No newline at end of file +} diff --git a/ecrire/balise/formulaire_admin.php b/ecrire/balise/formulaire_admin.php index c56e4e0e19..408737cf8d 100644 --- a/ecrire/balise/formulaire_admin.php +++ b/ecrire/balise/formulaire_admin.php @@ -296,4 +296,4 @@ function admin_debug() { ) AND autoriser('debug') ) ? parametre_url(self(), 'var_mode', 'debug', '&') : ''; -} \ No newline at end of file +} diff --git a/ecrire/balise/formulaire_ecrire_auteur.php b/ecrire/balise/formulaire_ecrire_auteur.php index a889754b5a..e88970ffcc 100644 --- a/ecrire/balise/formulaire_ecrire_auteur.php +++ b/ecrire/balise/formulaire_ecrire_auteur.php @@ -97,4 +97,4 @@ function balise_FORMULAIRE_ECRIRE_AUTEUR_stat($args, $context_compil) { // OK return $args; -} \ No newline at end of file +} diff --git a/ecrire/balise/formulaire_inscription.php b/ecrire/balise/formulaire_inscription.php index b32b1395be..1fecbe04c4 100644 --- a/ecrire/balise/formulaire_inscription.php +++ b/ecrire/balise/formulaire_inscription.php @@ -77,4 +77,4 @@ function balise_FORMULAIRE_INSCRIPTION_stat($args, $context_compil) { $mode = tester_statut_inscription($mode, $id); return $mode ? array($mode, $id) : ''; -} \ No newline at end of file +} diff --git a/ecrire/balise/info_.php b/ecrire/balise/info_.php index da9f9f6265..4f041c81ca 100644 --- a/ecrire/balise/info_.php +++ b/ecrire/balise/info_.php @@ -57,4 +57,4 @@ function balise_INFO__dist($p) { return $p; } -} \ No newline at end of file +} diff --git a/ecrire/balise/login_prive.php b/ecrire/balise/login_prive.php index 5175597c06..ce217e7ab1 100644 --- a/ecrire/balise/login_prive.php +++ b/ecrire/balise/login_prive.php @@ -80,4 +80,4 @@ function balise_LOGIN_PRIVE_dyn($url, $login) { } return balise_FORMULAIRE__dyn('login', $url, $login, true); -} \ No newline at end of file +} diff --git a/ecrire/balise/login_public.php b/ecrire/balise/login_public.php index 4423f62ac0..3b073e5c47 100644 --- a/ecrire/balise/login_public.php +++ b/ecrire/balise/login_public.php @@ -82,4 +82,4 @@ function balise_LOGIN_PUBLIC_dyn($url, $login) { } return balise_FORMULAIRE__dyn('login', $url, $login, false); -} \ No newline at end of file +} diff --git a/ecrire/balise/logo_.php b/ecrire/balise/logo_.php index 71a95e7850..60b862847b 100644 --- a/ecrire/balise/logo_.php +++ b/ecrire/balise/logo_.php @@ -196,4 +196,4 @@ function logo_survol($id_objet, $_id_objet, $type, $align, $fichier, $lien, $p, return ('(strlen($logo=' . $code . ')?\'\' . $logo . \'\':\'\')'); -} \ No newline at end of file +} diff --git a/ecrire/balise/menu_lang.php b/ecrire/balise/menu_lang.php index 9339e3a1c0..db25f69f45 100644 --- a/ecrire/balise/menu_lang.php +++ b/ecrire/balise/menu_lang.php @@ -78,4 +78,4 @@ function balise_MENU_LANG_dyn($opt) { include_spip('balise/menu_lang_ecrire'); return menu_lang_pour_tous('var_lang', $opt); -} \ No newline at end of file +} diff --git a/ecrire/balise/menu_lang_ecrire.php b/ecrire/balise/menu_lang_ecrire.php index 574ff3b036..fcb27f8c6a 100644 --- a/ecrire/balise/menu_lang_ecrire.php +++ b/ecrire/balise/menu_lang_ecrire.php @@ -122,4 +122,4 @@ function menu_lang_pour_tous($nom, $default) { 'default' => $default, ) ); -} \ No newline at end of file +} diff --git a/ecrire/balise/url_.php b/ecrire/balise/url_.php index 3c1fb2586b..4f83d59907 100644 --- a/ecrire/balise/url_.php +++ b/ecrire/balise/url_.php @@ -389,4 +389,4 @@ function balise_URL_ACTION_AUTEUR_dist($p) { $p->interdire_scripts = false; return $p; -} \ No newline at end of file +} diff --git a/ecrire/balise/url_logout.php b/ecrire/balise/url_logout.php index 22c4e1b6c4..4c22904750 100644 --- a/ecrire/balise/url_logout.php +++ b/ecrire/balise/url_logout.php @@ -74,4 +74,4 @@ function balise_URL_LOGOUT_dyn($cible) { } return generer_url_action('logout', "logout=public&url=" . rawurlencode($cible ? $cible : self('&'))); -} \ No newline at end of file +} diff --git a/ecrire/base/abstract_sql.php b/ecrire/base/abstract_sql.php index 0073cb0a4c..48512217e6 100644 --- a/ecrire/base/abstract_sql.php +++ b/ecrire/base/abstract_sql.php @@ -2264,4 +2264,4 @@ function description_table($nom, $serveur = '') { } return false; -} \ No newline at end of file +} diff --git a/ecrire/base/auxiliaires.php b/ecrire/base/auxiliaires.php index 2b812c44a8..2509f6aeb4 100644 --- a/ecrire/base/auxiliaires.php +++ b/ecrire/base/auxiliaires.php @@ -25,4 +25,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { } include_spip('base/objets'); -lister_tables_objets_sql(); \ No newline at end of file +lister_tables_objets_sql(); diff --git a/ecrire/base/connect_sql.php b/ecrire/base/connect_sql.php index 6824ab8150..2604b26d8a 100644 --- a/ecrire/base/connect_sql.php +++ b/ecrire/base/connect_sql.php @@ -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; -} \ No newline at end of file +} diff --git a/ecrire/base/create.php b/ecrire/base/create.php index e543f11a71..1bc5e544fb 100644 --- a/ecrire/base/create.php +++ b/ecrire/base/create.php @@ -203,4 +203,4 @@ function maj_tables($upgrade_tables = array(), $serveur = '') { $upgrade_tables, $serveur ); -} \ No newline at end of file +} diff --git a/ecrire/base/delete_all.php b/ecrire/base/delete_all.php index ab98f0e3fd..bb114e3247 100644 --- a/ecrire/base/delete_all.php +++ b/ecrire/base/delete_all.php @@ -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); -} \ No newline at end of file +} diff --git a/ecrire/base/dump.php b/ecrire/base/dump.php index 35790f223c..e388428dbf 100644 --- a/ecrire/base/dump.php +++ b/ecrire/base/dump.php @@ -740,4 +740,4 @@ function base_inserer_copie($table, $rows, $desc_dest, $serveur_dest) { } return $r; -} \ No newline at end of file +} diff --git a/ecrire/base/repair.php b/ecrire/base/repair.php index 38cc3c442d..0fc21a5927 100644 --- a/ecrire/base/repair.php +++ b/ecrire/base/repair.php @@ -173,4 +173,4 @@ function admin_repair_tables() { } return $res; -} \ No newline at end of file +} diff --git a/ecrire/base/serial.php b/ecrire/base/serial.php index 640f7d671a..12e7432f32 100644 --- a/ecrire/base/serial.php +++ b/ecrire/base/serial.php @@ -25,4 +25,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { } include_spip('base/objets'); -lister_tables_objets_sql(); \ No newline at end of file +lister_tables_objets_sql(); diff --git a/ecrire/base/trouver_table.php b/ecrire/base/trouver_table.php index 41e4344f91..c27492071d 100644 --- a/ecrire/base/trouver_table.php +++ b/ecrire/base/trouver_table.php @@ -188,4 +188,4 @@ function base_trouver_table_dist($nom, $serveur = '', $table_spip = true) { $res['id_table'] = $nom; return $res; -} \ No newline at end of file +} diff --git a/ecrire/base/upgrade.php b/ecrire/base/upgrade.php index 60df54331c..c96331112d 100644 --- a/ecrire/base/upgrade.php +++ b/ecrire/base/upgrade.php @@ -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)) ); -} \ No newline at end of file +} diff --git a/ecrire/charsets/cp1250.php b/ecrire/charsets/cp1250.php index c9a07a5313..48851126d8 100644 --- a/ecrire/charsets/cp1250.php +++ b/ecrire/charsets/cp1250.php @@ -133,4 +133,4 @@ $GLOBALS['CHARSET']['cp1250'] = array( 0xFD => 0x00FD, 0xFE => 0x0163, 0xFF => 0x02D9 -); \ No newline at end of file +); diff --git a/ecrire/charsets/cp1251.php b/ecrire/charsets/cp1251.php index 84912fd10c..0aab74429c 100644 --- a/ecrire/charsets/cp1251.php +++ b/ecrire/charsets/cp1251.php @@ -136,4 +136,4 @@ $GLOBALS['CHARSET']['cp1251'] = array( 0xFD => 0x044D, 0xFE => 0x044E, 0xFF => 0x044F -); \ No newline at end of file +); diff --git a/ecrire/charsets/cp1256.php b/ecrire/charsets/cp1256.php index 7eb81e4cef..fd2fb507aa 100644 --- a/ecrire/charsets/cp1256.php +++ b/ecrire/charsets/cp1256.php @@ -138,4 +138,4 @@ $GLOBALS['CHARSET']['cp1256'] = array( 0xFD => 0x200E, 0xFE => 0x200F, 0xFF => 0x06D2 -); \ No newline at end of file +); diff --git a/ecrire/charsets/html.php b/ecrire/charsets/html.php index d47d71a2b8..619bc5319f 100644 --- a/ecrire/charsets/html.php +++ b/ecrire/charsets/html.php @@ -127,4 +127,4 @@ $GLOBALS['CHARSET']['html'] = array( ## caracteres tres speciaux a ne pas convertir #'amp' => '&', 'quot' => '"', 'lt' => '<', 'gt' => '>', -; \ No newline at end of file +; diff --git a/ecrire/charsets/iso-8859-1.php b/ecrire/charsets/iso-8859-1.php index c75f48a6ab..4c488fb58f 100644 --- a/ecrire/charsets/iso-8859-1.php +++ b/ecrire/charsets/iso-8859-1.php @@ -141,4 +141,4 @@ $GLOBALS['CHARSET']['iso-8859-1'] = array( 254 => 254, 255 => 255 -); \ No newline at end of file +); diff --git a/ecrire/charsets/iso-8859-15.php b/ecrire/charsets/iso-8859-15.php index 6e11a2cc3e..b7a87e2311 100644 --- a/ecrire/charsets/iso-8859-15.php +++ b/ecrire/charsets/iso-8859-15.php @@ -34,4 +34,4 @@ $trans[188] = 338; $trans[189] = 339; $trans[190] = 376; -$GLOBALS['CHARSET']['iso-8859-15'] = $trans; \ No newline at end of file +$GLOBALS['CHARSET']['iso-8859-15'] = $trans; diff --git a/ecrire/charsets/iso-8859-6.php b/ecrire/charsets/iso-8859-6.php index 539f02a2cc..27633258c9 100644 --- a/ecrire/charsets/iso-8859-6.php +++ b/ecrire/charsets/iso-8859-6.php @@ -84,4 +84,4 @@ foreach ($mod as $num => $val) { $trans[$num] = $val; } -$GLOBALS['CHARSET']['iso-8859-6'] = $trans; \ No newline at end of file +$GLOBALS['CHARSET']['iso-8859-6'] = $trans; diff --git a/ecrire/charsets/iso-8859-9.php b/ecrire/charsets/iso-8859-9.php index 0b40d954ae..4e707c845d 100644 --- a/ecrire/charsets/iso-8859-9.php +++ b/ecrire/charsets/iso-8859-9.php @@ -32,4 +32,4 @@ $trans[253] = 305; //inodot $trans[254] = 351; //scedil $trans[222] = 350; //Scedil -$GLOBALS['CHARSET']['iso-8859-9'] = $trans; \ No newline at end of file +$GLOBALS['CHARSET']['iso-8859-9'] = $trans; diff --git a/ecrire/charsets/mathml.php b/ecrire/charsets/mathml.php index 1e8df02efe..d5932c8f58 100644 --- a/ecrire/charsets/mathml.php +++ b/ecrire/charsets/mathml.php @@ -1691,4 +1691,4 @@ $GLOBALS['CHARSET']['mathml'] = array( 'Zscr' => '', 'zscr' => '' -); \ No newline at end of file +); diff --git a/ecrire/charsets/translit.php b/ecrire/charsets/translit.php index d08834b028..fff583a21a 100644 --- a/ecrire/charsets/translit.php +++ b/ecrire/charsets/translit.php @@ -390,4 +390,4 @@ $GLOBALS['CHARSET']['translit'] = array( 7924 => "Y", 273 => "d" -); \ No newline at end of file +); diff --git a/ecrire/charsets/translitcomplexe.php b/ecrire/charsets/translitcomplexe.php index c7f98feae2..eb86b0f231 100644 --- a/ecrire/charsets/translitcomplexe.php +++ b/ecrire/charsets/translitcomplexe.php @@ -175,4 +175,4 @@ $translit_c = array( foreach ($translit_c as $u => $t) { $trans[$u] = $t; } -$GLOBALS['CHARSET']['translitcomplexe'] = $trans; \ No newline at end of file +$GLOBALS['CHARSET']['translitcomplexe'] = $trans; diff --git a/ecrire/exec/403.php b/ecrire/exec/403.php index 0af07be80f..44cdf5ccbf 100644 --- a/ecrire/exec/403.php +++ b/ecrire/exec/403.php @@ -62,4 +62,4 @@ function exec_403_dist($message = '') { echo fin_gauche(), fin_page(); } -} \ No newline at end of file +} diff --git a/ecrire/exec/404.php b/ecrire/exec/404.php index e1d9b42683..8f69d6f9af 100644 --- a/ecrire/exec/404.php +++ b/ecrire/exec/404.php @@ -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(); -} \ No newline at end of file +} diff --git a/ecrire/exec/admin_plugin.php b/ecrire/exec/admin_plugin.php index ee6bd3b646..1d29223dad 100644 --- a/ecrire/exec/admin_plugin.php +++ b/ecrire/exec/admin_plugin.php @@ -310,4 +310,4 @@ function liste_librairies() { } return $libs; -} \ No newline at end of file +} diff --git a/ecrire/exec/base_delete_all.php b/ecrire/exec/base_delete_all.php index b2f5a5370f..cb501be1ca 100644 --- a/ecrire/exec/base_delete_all.php +++ b/ecrire/exec/base_delete_all.php @@ -51,4 +51,4 @@ function exec_base_delete_all_dist() { } } } -} \ No newline at end of file +} diff --git a/ecrire/exec/base_repair.php b/ecrire/exec/base_repair.php index 88118aaa2b..df7b0e1410 100644 --- a/ecrire/exec/base_repair.php +++ b/ecrire/exec/base_repair.php @@ -51,4 +51,4 @@ function exec_base_repair_dist() { include_spip('inc/minipres'); echo minipres(_T('titre_reparation'), "

$message

"); } -} \ No newline at end of file +} diff --git a/ecrire/exec/demande_mise_a_jour.php b/ecrire/exec/demande_mise_a_jour.php index a39ae48914..0308293295 100644 --- a/ecrire/exec/demande_mise_a_jour.php +++ b/ecrire/exec/demande_mise_a_jour.php @@ -54,4 +54,4 @@ function exec_demande_mise_a_jour_dist() { echo ''; echo fin_grand_cadre(true); echo fin_page(); -} \ No newline at end of file +} diff --git a/ecrire/exec/fond.php b/ecrire/exec/fond.php index 23898f517e..4204fc39c5 100644 --- a/ecrire/exec/fond.php +++ b/ecrire/exec/fond.php @@ -82,4 +82,4 @@ ob_end_flush(); */ function exec_fond_dist() { -} \ No newline at end of file +} diff --git a/ecrire/exec/fond_monobloc.php b/ecrire/exec/fond_monobloc.php index 6dfc703817..80bb57c1c5 100644 --- a/ecrire/exec/fond_monobloc.php +++ b/ecrire/exec/fond_monobloc.php @@ -122,4 +122,4 @@ function exec_fond_monobloc_dist() { echo fin_gauche(), fin_page(); } -} \ No newline at end of file +} diff --git a/ecrire/exec/info_plugin.php b/ecrire/exec/info_plugin.php index 4d042a12ee..77943b6a17 100644 --- a/ecrire/exec/info_plugin.php +++ b/ecrire/exec/info_plugin.php @@ -40,4 +40,4 @@ function exec_info_plugin_dist() { $afficher_plugin = charger_fonction("afficher_plugin", "plugins"); ajax_retour(affiche_bloc_plugin($plug, $info, $dir)); } -} \ No newline at end of file +} diff --git a/ecrire/exec/informer.php b/ecrire/exec/informer.php index 42c47c8871..76066e2477 100644 --- a/ecrire/exec/informer.php +++ b/ecrire/exec/informer.php @@ -45,4 +45,4 @@ function exec_informer_dist() { $res = ''; } ajax_retour($res); -} \ No newline at end of file +} diff --git a/ecrire/exec/install.php b/ecrire/exec/install.php index ae2c7fa0de..6236054d27 100644 --- a/ecrire/exec/install.php +++ b/ecrire/exec/install.php @@ -66,4 +66,4 @@ function exec_install_dist() { $fonc = charger_fonction("etape_$etape", 'install'); $fonc(); } -} \ No newline at end of file +} diff --git a/ecrire/exec/plonger.php b/ecrire/exec/plonger.php index e580480c96..0eec49aec5 100644 --- a/ecrire/exec/plonger.php +++ b/ecrire/exec/plonger.php @@ -46,4 +46,4 @@ function exec_plonger_dist() { } ajax_retour($r); -} \ No newline at end of file +} diff --git a/ecrire/exec/puce_statut.php b/ecrire/exec/puce_statut.php index 452bc7f35b..4195aea488 100644 --- a/ecrire/exec/puce_statut.php +++ b/ecrire/exec/puce_statut.php @@ -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)); -} \ No newline at end of file +} diff --git a/ecrire/exec/rechercher.php b/ecrire/exec/rechercher.php index b38f339678..8ad5ca54d5 100644 --- a/ecrire/exec/rechercher.php +++ b/ecrire/exec/rechercher.php @@ -181,4 +181,4 @@ function proposer_item($ids, $titles, $rac, $type, $do) { } return $ret; -} \ No newline at end of file +} diff --git a/ecrire/exec/selectionner.php b/ecrire/exec/selectionner.php index 0ba21e9789..a35d67b6ad 100644 --- a/ecrire/exec/selectionner.php +++ b/ecrire/exec/selectionner.php @@ -45,4 +45,4 @@ function exec_selectionner_dist() { $r = ''; } ajax_retour($r); -} \ No newline at end of file +} diff --git a/ecrire/exec/upgrade.php b/ecrire/exec/upgrade.php index 1b3a0bac8e..52028f6196 100644 --- a/ecrire/exec/upgrade.php +++ b/ecrire/exec/upgrade.php @@ -89,4 +89,4 @@ function exec_upgrade_dist() { echo redirige_formulaire($res); } } -} \ No newline at end of file +} diff --git a/ecrire/exec/valider_xml.php b/ecrire/exec/valider_xml.php index b2f693fa64..4502d9921a 100644 --- a/ecrire/exec/valider_xml.php +++ b/ecrire/exec/valider_xml.php @@ -410,4 +410,4 @@ function valider_dir($files, $ext, $dir) { } return $res; -} \ No newline at end of file +} diff --git a/ecrire/genie/mail.php b/ecrire/genie/mail.php index 178fe50481..08a39ec3ef 100644 --- a/ecrire/genie/mail.php +++ b/ecrire/genie/mail.php @@ -60,4 +60,4 @@ function genie_mail_dist($t) { } return 1; -} \ No newline at end of file +} diff --git a/ecrire/genie/maintenance.php b/ecrire/genie/maintenance.php index f2d378b9b5..f8f675666b 100644 --- a/ecrire/genie/maintenance.php +++ b/ecrire/genie/maintenance.php @@ -113,4 +113,4 @@ function message_crash_tables() { _T('texte_crash_base'), '', _T('bouton_tenter_recuperation')); } -} \ No newline at end of file +} diff --git a/ecrire/genie/mise_a_jour.php b/ecrire/genie/mise_a_jour.php index 1c89430942..f6c7b8616b 100644 --- a/ecrire/genie/mise_a_jour.php +++ b/ecrire/genie/mise_a_jour.php @@ -192,4 +192,4 @@ function info_maj_cache($nom, $dir, $page = '') { ecrire_fichier($nom, $page); return $page; -} \ No newline at end of file +} diff --git a/ecrire/inc/acces.php b/ecrire/inc/acces.php index 23d2a9d7c8..1876075c67 100644 --- a/ecrire/inc/acces.php +++ b/ecrire/inc/acces.php @@ -406,4 +406,4 @@ function gerer_htaccess() { return isset($GLOBALS['meta']['creer_htaccess']) ? $GLOBALS['meta']['creer_htaccess'] : ''; } -initialiser_sel(); \ No newline at end of file +initialiser_sel(); diff --git a/ecrire/inc/actions.php b/ecrire/inc/actions.php index b627660784..d9c5d0638b 100644 --- a/ecrire/inc/actions.php +++ b/ecrire/inc/actions.php @@ -151,4 +151,4 @@ function ajax_retour($corps, $content_type = null) { $fin = ""; } echo $debut, $corps, $fin, $e; -} \ No newline at end of file +} diff --git a/ecrire/inc/admin.php b/ecrire/inc/admin.php index 77a91d7a9c..d1fcfeaaec 100644 --- a/ecrire/inc/admin.php +++ b/ecrire/inc/admin.php @@ -302,4 +302,4 @@ function copy_request($script, $suite, $submit = '') { } return generer_form_ecrire($script, $suite, '', $submit); -} \ No newline at end of file +} diff --git a/ecrire/inc/aider.php b/ecrire/inc/aider.php index f594432003..c73a3cdc3b 100644 --- a/ecrire/inc/aider.php +++ b/ecrire/inc/aider.php @@ -325,4 +325,4 @@ function aide_section($aide, $contenu, $prof = 2) { # spip_log("aide inconnue $r dans " . substr($contenu, 0, 150)); return ''; -} \ No newline at end of file +} diff --git a/ecrire/inc/auth.php b/ecrire/inc/auth.php index fc5d569979..4a2cfe7fd7 100644 --- a/ecrire/inc/auth.php +++ b/ecrire/inc/auth.php @@ -761,4 +761,4 @@ function ask_php_auth($pb, $raison, $retour = '', $url = '', $re = '', $lien = ' include_spip('inc/minipres'); echo minipres($pb, $corps); exit; -} \ No newline at end of file +} diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php index 372d944b70..244d964c70 100644 --- a/ecrire/inc/autoriser.php +++ b/ecrire/inc/autoriser.php @@ -1573,4 +1573,4 @@ function autoriser_inscrireauteur_dist($faire, $quoi, $id, $qui, $opt) { } return false; -} \ No newline at end of file +} diff --git a/ecrire/inc/bandeau.php b/ecrire/inc/bandeau.php index 515ae29021..17b971f6fc 100644 --- a/ecrire/inc/bandeau.php +++ b/ecrire/inc/bandeau.php @@ -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); -} \ No newline at end of file +} diff --git a/ecrire/inc/boutons.php b/ecrire/inc/boutons.php index b03867e6c8..02b9fa4015 100644 --- a/ecrire/inc/boutons.php +++ b/ecrire/inc/boutons.php @@ -140,4 +140,4 @@ function barre_onglets($rubrique, $ongletCourant, $class = "barre_onglet") { } return !$res ? '' : (debut_onglet($class) . $res . fin_onglet()); -} \ No newline at end of file +} diff --git a/ecrire/inc/charger_php_extension.php b/ecrire/inc/charger_php_extension.php index a5b320d39d..f9ab9005bf 100644 --- a/ecrire/inc/charger_php_extension.php +++ b/ecrire/inc/charger_php_extension.php @@ -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); -} \ No newline at end of file +} diff --git a/ecrire/inc/charsets.php b/ecrire/inc/charsets.php index 3b1d7148ca..a41ece6486 100644 --- a/ecrire/inc/charsets.php +++ b/ecrire/inc/charsets.php @@ -1230,4 +1230,4 @@ function utf8_noplanes($x) { } return $x; -} \ No newline at end of file +} diff --git a/ecrire/inc/chercher_logo.php b/ecrire/inc/chercher_logo.php index 994d72bf5a..af3c49ac73 100644 --- a/ecrire/inc/chercher_logo.php +++ b/ecrire/inc/chercher_logo.php @@ -77,4 +77,4 @@ $GLOBALS['table_logos'] = array( 'id_auteur' => 'aut', 'id_rubrique' => 'rub', 'id_groupe' => 'groupe', -); \ No newline at end of file +); diff --git a/ecrire/inc/chercher_rubrique.php b/ecrire/inc/chercher_rubrique.php index d77375b3c5..62eaf587dd 100644 --- a/ecrire/inc/chercher_rubrique.php +++ b/ecrire/inc/chercher_rubrique.php @@ -351,4 +351,4 @@ function construire_selecteur($url, $js, $idom, $name, $init = '', $id = 0) { . "' />
"; -} \ No newline at end of file +} diff --git a/ecrire/inc/commencer_page.php b/ecrire/inc/commencer_page.php index b3a1a9b0d6..9b505bbff0 100644 --- a/ecrire/inc/commencer_page.php +++ b/ecrire/inc/commencer_page.php @@ -188,4 +188,4 @@ function init_body_class() { */ function auteurs_recemment_connectes($id_auteur) { return recuperer_fond('prive/objets/liste/auteurs_enligne'); -} \ No newline at end of file +} diff --git a/ecrire/inc/config.php b/ecrire/inc/config.php index 9d8f3c66e1..18fc60df28 100644 --- a/ecrire/inc/config.php +++ b/ecrire/inc/config.php @@ -611,4 +611,4 @@ function appliquer_adresse_site($adresse_site) { } return $adresse_site; -} \ No newline at end of file +} diff --git a/ecrire/inc/cookie.php b/ecrire/inc/cookie.php index 94633b7002..9ea7c84dda 100644 --- a/ecrire/inc/cookie.php +++ b/ecrire/inc/cookie.php @@ -161,4 +161,4 @@ function exec_test_ajax_dist() { spip_setcookie('spip_accepte_ajax', 1); break; } -} \ No newline at end of file +} diff --git a/ecrire/inc/couleurs.php b/ecrire/inc/couleurs.php index 7b9137822f..1af73645ce 100644 --- a/ecrire/inc/couleurs.php +++ b/ecrire/inc/couleurs.php @@ -137,4 +137,4 @@ function inc_couleurs_dist($choix = null, $ajouter = false) { } return $couleurs_spip; -} \ No newline at end of file +} diff --git a/ecrire/inc/csv.php b/ecrire/inc/csv.php index 907422255a..1f7375eced 100644 --- a/ecrire/inc/csv.php +++ b/ecrire/inc/csv.php @@ -127,4 +127,4 @@ function analyse_csv($t) { } return array(explode($sep, $entete), $lignes, $caption); -} \ No newline at end of file +} diff --git a/ecrire/inc/cvt_autosave.php b/ecrire/inc/cvt_autosave.php index ac5986f2ce..0fdc3e4217 100644 --- a/ecrire/inc/cvt_autosave.php +++ b/ecrire/inc/cvt_autosave.php @@ -117,5 +117,3 @@ function cvtautosave_formulaire_traiter($flux) { return $flux; } - - diff --git a/ecrire/inc/cvt_configurer.php b/ecrire/inc/cvt_configurer.php index 66ccebbd96..505c99963d 100644 --- a/ecrire/inc/cvt_configurer.php +++ b/ecrire/inc/cvt_configurer.php @@ -262,4 +262,4 @@ function cvtconf_configurer_lire_meta($form, &$valeurs) { $valeurs[$k] = (isset($meta[$prefixe . $k]) ? $meta[$prefixe . $k] : ''); } } -} \ No newline at end of file +} diff --git a/ecrire/inc/cvt_multietapes.php b/ecrire/inc/cvt_multietapes.php index 4adf117c4b..f566bfe4ef 100644 --- a/ecrire/inc/cvt_multietapes.php +++ b/ecrire/inc/cvt_multietapes.php @@ -270,4 +270,4 @@ function cvtmulti_styliser($flux) { } return $flux; -} \ No newline at end of file +} diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index df458c1cda..80a8f53155 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -1318,4 +1318,3 @@ function lance_requete( return $f; } - diff --git a/ecrire/inc/documents.php b/ecrire/inc/documents.php index 972ded3095..cb054f8f68 100644 --- a/ecrire/inc/documents.php +++ b/ecrire/inc/documents.php @@ -303,4 +303,4 @@ function check_upload_error($error, $msg = '', $return = false) { echo minipres($msg, "
"); exit; -} \ No newline at end of file +} diff --git a/ecrire/inc/drapeau_edition.php b/ecrire/inc/drapeau_edition.php index 72b41daa4f..78c338e476 100644 --- a/ecrire/inc/drapeau_edition.php +++ b/ecrire/inc/drapeau_edition.php @@ -55,12 +55,12 @@ function lire_tableau_edition() { // parcourir le tableau et virer les vieux foreach ($edition as $objet => $data) { if (!is_array($data)) { - unset ($edition[$objet]); + unset($edition[$objet]); } // vieille version else { foreach ($data as $id => $tab) { if (!is_array($tab)) { - unset ($edition[$objet][$tab]); + unset($edition[$objet][$tab]); } // vieille version else { foreach ($tab as $n => $duo) { @@ -230,7 +230,7 @@ function debloquer_tous($id_auteur) { foreach ($edition as $objet => $data) { foreach ($data as $id => $auteurs) { if (isset($auteurs[$id_auteur])) { - unset ($edition[$objet][$id][$id_auteur]); + unset($edition[$objet][$id][$id_auteur]); ecrire_tableau_edition($edition); } } @@ -260,10 +260,10 @@ function debloquer_edition($id_auteur, $id_objet, $type = 'article') { if ($id == $id_objet AND isset($auteurs[$id_auteur]) ) { - unset ($edition[$objet][$id][$id_auteur]); + unset($edition[$objet][$id][$id_auteur]); ecrire_tableau_edition($edition); } } } } -} \ No newline at end of file +} diff --git a/ecrire/inc/editer.php b/ecrire/inc/editer.php index 3ac126c3ef..e3b3181ec4 100644 --- a/ecrire/inc/editer.php +++ b/ecrire/inc/editer.php @@ -612,7 +612,7 @@ function controler_md5(&$champs, $ctr, $type, $id, $serveur, $prefix = 'ctr_') { foreach ($champs as $key => $val) { if (isset($ctr[$prefix . $key]) AND $m = $ctr[$prefix . $key]) { if (is_scalar($val) and $m == md5($val)) { - unset ($champs[$key]); + unset($champs[$key]); } } } @@ -763,4 +763,3 @@ function signaler_conflits_edition($conflits, $redirect = '') { . $redirect ); } - diff --git a/ecrire/inc/envoyer_mail.php b/ecrire/inc/envoyer_mail.php index e254fd0fb0..0ee6d47fdb 100644 --- a/ecrire/inc/envoyer_mail.php +++ b/ecrire/inc/envoyer_mail.php @@ -236,4 +236,4 @@ function mail_normaliser_headers($headers, $from, $to, $texte, $parts = "") { $headers .= "From: $from\n$type$rep$mid\nMIME-Version: 1.0\n"; return array($headers, $texte); -} \ No newline at end of file +} diff --git a/ecrire/inc/exporter_csv.php b/ecrire/inc/exporter_csv.php index 91a5cb99a6..46714349dd 100644 --- a/ecrire/inc/exporter_csv.php +++ b/ecrire/inc/exporter_csv.php @@ -132,4 +132,4 @@ function inc_exporter_csv_dist($titre, $resource, $delim = ', ', $entetes = null } return $fichier; -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index b3269b0654..b5e0e3c211 100644 --- a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -520,7 +520,7 @@ function largeur($img) { if (!$img) { return; } - list ($h, $l) = taille_image($img); + list($h, $l) = taille_image($img); return $l; } @@ -542,7 +542,7 @@ function hauteur($img) { if (!$img) { return; } - list ($h, $l) = taille_image($img); + list($h, $l) = taille_image($img); return $h; } @@ -5925,4 +5925,4 @@ function filtre_compacte_dist($source, $format = null) { } return $source; -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_boites.php b/ecrire/inc/filtres_boites.php index 7a5c1f1935..a9b5135b6d 100644 --- a/ecrire/inc/filtres_boites.php +++ b/ecrire/inc/filtres_boites.php @@ -177,4 +177,4 @@ function boite_fermer() { return '' . '' . ''; -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_ecrire.php b/ecrire/inc/filtres_ecrire.php index e9f7684e3c..b7704a631b 100644 --- a/ecrire/inc/filtres_ecrire.php +++ b/ecrire/inc/filtres_ecrire.php @@ -584,4 +584,4 @@ function lister_objets_lies($objet_source, $objet, $id_objet, $objet_lien) { } return $l; -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_images_lib_mini.php b/ecrire/inc/filtres_images_lib_mini.php index c9f31cace6..8828935dda 100644 --- a/ecrire/inc/filtres_images_lib_mini.php +++ b/ecrire/inc/filtres_images_lib_mini.php @@ -209,7 +209,7 @@ function _image_valeurs_trans($img, $effet, $forcer_format = false, $fonction_cr ) { // on passe la balise img a taille image qui exraira les attributs si possible // au lieu de faire un acces disque sur le fichier - list ($ret["hauteur"], $ret["largeur"]) = taille_image($find_in_path ? $f : $img); + list($ret["hauteur"], $ret["largeur"]) = taille_image($find_in_path ? $f : $img); $date_src = @filemtime($f); } elseif (@file_exists($f = "$fichier.src") AND lire_fichier($f, $valeurs) @@ -238,7 +238,7 @@ function _image_valeurs_trans($img, $effet, $forcer_format = false, $fonction_cr $cache = "cache-gd2"; if (substr($effet, 0, 7) == 'reduire') { list(, $maxWidth, $maxHeight) = explode('-', $effet); - list ($destWidth, $destHeight) = _image_ratio($ret['largeur'], $ret['hauteur'], $maxWidth, $maxHeight); + list($destWidth, $destHeight) = _image_ratio($ret['largeur'], $ret['hauteur'], $maxWidth, $maxHeight); $ret['largeur_dest'] = $destWidth; $ret['hauteur_dest'] = $destHeight; $effet = "L{$destWidth}xH$destHeight"; @@ -584,7 +584,7 @@ function _image_gd_output($img, $valeurs, $qualite = _IMG_GD_QUALITE) { ) { if (@file_exists($valeurs['fichier_dest'])) { // dans tous les cas mettre a jour la taille de l'image finale - list ($valeurs["hauteur_dest"], $valeurs["largeur_dest"]) = taille_image($valeurs['fichier_dest']); + list($valeurs["hauteur_dest"], $valeurs["largeur_dest"]) = taille_image($valeurs['fichier_dest']); $valeurs['date'] = @filemtime($valeurs['fichier_dest']); // pour la retrouver apres disparition ecrire_fichier($valeurs['fichier_dest'] . '.src', serialize($valeurs), true); } @@ -939,7 +939,7 @@ function _image_creer_vignette($valeurs, $maxWidth, $maxHeight, $process = 'AUTO // calculer la taille if (($srcWidth = $valeurs['largeur']) && ($srcHeight = $valeurs['hauteur'])) { if (!($destWidth = $valeurs['largeur_dest']) || !($destHeight = $valeurs['hauteur_dest'])) { - list ($destWidth, $destHeight) = _image_ratio($valeurs['largeur'], $valeurs['hauteur'], $maxWidth, $maxHeight); + list($destWidth, $destHeight) = _image_ratio($valeurs['largeur'], $valeurs['hauteur'], $maxWidth, $maxHeight); } } elseif ($process == 'convert' OR $process == 'imagick') { $destWidth = $maxWidth; @@ -1505,4 +1505,4 @@ class phpthumb_functions { return $icondata; } -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_images_mini.php b/ecrire/inc/filtres_images_mini.php index 36c8c977dd..204b6418d8 100644 --- a/ecrire/inc/filtres_images_mini.php +++ b/ecrire/inc/filtres_images_mini.php @@ -128,7 +128,7 @@ function image_select($img, $width_min = 0, $height_min = 0, $width_max = 10000, if (!$img) { return $img; } - list ($h, $l) = taille_image($img); + list($h, $l) = taille_image($img); $select = true; if ($l < $width_min OR $l > $width_max OR $h < $height_min OR $h > $height_max) { $select = false; @@ -204,7 +204,7 @@ function image_passe_partout( if (!$img) { return ''; } - list ($hauteur, $largeur) = taille_image($img); + list($hauteur, $largeur) = taille_image($img); if ($taille_x == -1) { $taille_x = isset($GLOBALS['meta']['taille_preview']) ? $GLOBALS['meta']['taille_preview'] : 150; } @@ -308,7 +308,7 @@ function image_reduire($img, $taille = -1, $taille_y = -1, $force = false, $cher * Code HTML de l'image ou du texte. **/ function image_reduire_par($img, $val = 1, $force = false) { - list ($hauteur, $largeur) = taille_image($img); + list($hauteur, $largeur) = taille_image($img); $l = round($largeur/$val); $h = round($hauteur/$val); @@ -322,4 +322,4 @@ function image_reduire_par($img, $val = 1, $force = false) { $img = image_reduire($img, $l, $h, $force); return $img; -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_mime.php b/ecrire/inc/filtres_mime.php index 00bb9bae32..9c6b3780fe 100644 --- a/ecrire/inc/filtres_mime.php +++ b/ecrire/inc/filtres_mime.php @@ -195,4 +195,4 @@ function filtre_audio_x_pn_realaudio($id) { "; -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_mini.php b/ecrire/inc/filtres_mini.php index 20a1b5c44a..86e1bbf789 100644 --- a/ecrire/inc/filtres_mini.php +++ b/ecrire/inc/filtres_mini.php @@ -237,4 +237,4 @@ function spip_htmlentities($string, $flags = null, $encoding = 'ISO-8859-1', $do } return htmlentities($string, $flags, $encoding, $double_encode); -} \ No newline at end of file +} diff --git a/ecrire/inc/filtres_selecteur_generique.php b/ecrire/inc/filtres_selecteur_generique.php index 87073f2e8f..029f9586f4 100644 --- a/ecrire/inc/filtres_selecteur_generique.php +++ b/ecrire/inc/filtres_selecteur_generique.php @@ -230,4 +230,4 @@ function test_enfants_rubrique($id_rubrique, $types = array()) { } return $has_child[$id_rubrique] ? ' ' : ''; -} \ No newline at end of file +} diff --git a/ecrire/inc/flock.php b/ecrire/inc/flock.php index eebd39b16e..380b1f142f 100644 --- a/ecrire/inc/flock.php +++ b/ecrire/inc/flock.php @@ -724,4 +724,4 @@ function preg_files($dir, $pattern = -1 /* AUTO */, $maxfiles = 10000, $recurs = sort($fichiers); return $fichiers; -} \ No newline at end of file +} diff --git a/ecrire/inc/genie.php b/ecrire/inc/genie.php index ef0c3f16ec..3b9dabfe24 100644 --- a/ecrire/inc/genie.php +++ b/ecrire/inc/genie.php @@ -226,4 +226,4 @@ function queue_genie_replan_job($function, $period, $last = 0, $time = null, $pr // independament de l'argument queue_add_job($function, _T('tache_cron_secondes', array('function' => $function, 'nb' => $period)), array($last), "genie/", 'function_only', $time, $priority); -} \ No newline at end of file +} diff --git a/ecrire/inc/headers.php b/ecrire/inc/headers.php index cd648114a9..a2d20aa8b2 100644 --- a/ecrire/inc/headers.php +++ b/ecrire/inc/headers.php @@ -230,4 +230,4 @@ function http_no_cache() { header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); -} \ No newline at end of file +} diff --git a/ecrire/inc/icone_renommer.php b/ecrire/inc/icone_renommer.php index 5d035a9b5e..845f23d109 100644 --- a/ecrire/inc/icone_renommer.php +++ b/ecrire/inc/icone_renommer.php @@ -84,4 +84,4 @@ function inc_icone_renommer_dist($fond, $fonction) { } return array($fond, $fonction); -} \ No newline at end of file +} diff --git a/ecrire/inc/iconifier.php b/ecrire/inc/iconifier.php index 608ed3387a..01f7d66963 100644 --- a/ecrire/inc/iconifier.php +++ b/ecrire/inc/iconifier.php @@ -41,4 +41,4 @@ function inc_iconifier_dist($objet, $id, $script, $visible = false, $flag_modif return recuperer_fond('prive/objets/editer/logo', array('objet' => $objet, 'id_objet' => $id, 'editable' => $flag_modif)); -} \ No newline at end of file +} diff --git a/ecrire/inc/importer_csv.php b/ecrire/inc/importer_csv.php index 7fc556726b..fd824091f5 100644 --- a/ecrire/inc/importer_csv.php +++ b/ecrire/inc/importer_csv.php @@ -113,4 +113,3 @@ function inc_importer_csv_dist($file, $head = false, $delim = ", ", $enclos = '" return $return; } - diff --git a/ecrire/inc/informer.php b/ecrire/inc/informer.php index 28dec9b078..03f72098c2 100644 --- a/ecrire/inc/informer.php +++ b/ecrire/inc/informer.php @@ -71,4 +71,4 @@ function inc_informer_dist($id, $col, $exclus, $rac, $type, $do = 'aff') { . "'\nonclick=\"$js_func('$titre',$id,'selection_rubrique','id_parent'); return false;\" />" . "" . ""; -} \ No newline at end of file +} diff --git a/ecrire/inc/install.php b/ecrire/inc/install.php index ee919fb0ba..38c3defc99 100644 --- a/ecrire/inc/install.php +++ b/ecrire/inc/install.php @@ -575,4 +575,4 @@ function install_propager($hidden) { } return $res; -} \ No newline at end of file +} diff --git a/ecrire/inc/invalideur.php b/ecrire/inc/invalideur.php index 61aa65942f..df846f6dcc 100644 --- a/ecrire/inc/invalideur.php +++ b/ecrire/inc/invalideur.php @@ -328,4 +328,4 @@ function insere_invalideur($inval, $fichier) { } // Marquer les fichiers caches invalides comme etant a supprimer // // http://code.spip.net/@applique_invalideur -function applique_invalideur($depart) { } \ No newline at end of file +function applique_invalideur($depart) { } diff --git a/ecrire/inc/journal.php b/ecrire/inc/journal.php index 624f7844bb..60ef8c33ab 100644 --- a/ecrire/inc/journal.php +++ b/ecrire/inc/journal.php @@ -31,4 +31,4 @@ function inc_journal_dist($phrase, $opt = array()) { $phrase .= " :: " . str_replace("\n", ' ', join(', ', $opt)); } spip_log($phrase, 'journal'); -} \ No newline at end of file +} diff --git a/ecrire/inc/json.php b/ecrire/inc/json.php index 9828d7b465..46fc4b8678 100644 --- a/ecrire/inc/json.php +++ b/ecrire/inc/json.php @@ -83,4 +83,4 @@ function json_export($var) { } else { return $var; } -} \ No newline at end of file +} diff --git a/ecrire/inc/lang.php b/ecrire/inc/lang.php index 6f6201ba73..105422d975 100644 --- a/ecrire/inc/lang.php +++ b/ecrire/inc/lang.php @@ -457,4 +457,4 @@ function html_lang_attributes() { // initialise les globales (liste des langue, langue du site, spip_lang...) init_langues(); -utiliser_langue_site(); \ No newline at end of file +utiliser_langue_site(); diff --git a/ecrire/inc/lang_liste.php b/ecrire/inc/lang_liste.php index 6044f19569..b816bdc410 100644 --- a/ecrire/inc/lang_liste.php +++ b/ecrire/inc/lang_liste.php @@ -220,4 +220,4 @@ $GLOBALS['codes_langues'] = array( 'zh_tw' => "台灣中文", // chinois taiwan (ecr. traditionnelle) 'zu' => "Zulu" -); \ No newline at end of file +); diff --git a/ecrire/inc/layer.php b/ecrire/inc/layer.php index 6e8bf10260..b4547a07be 100644 --- a/ecrire/inc/layer.php +++ b/ecrire/inc/layer.php @@ -160,4 +160,4 @@ function verif_butineur() { } } -verif_butineur(); \ No newline at end of file +verif_butineur(); diff --git a/ecrire/inc/lien.php b/ecrire/inc/lien.php index 8b3ce0b807..dc68f5800f 100644 --- a/ecrire/inc/lien.php +++ b/ecrire/inc/lien.php @@ -421,4 +421,4 @@ function traiter_raccourci_glossaire($texte) { // http://code.spip.net/@glossaire_std function glossaire_std($terme) { return $terme; -} \ No newline at end of file +} diff --git a/ecrire/inc/lien_court.php b/ecrire/inc/lien_court.php index caf5b59042..18402f5851 100644 --- a/ecrire/inc/lien_court.php +++ b/ecrire/inc/lien_court.php @@ -30,4 +30,4 @@ function inc_lien_court($url) { } return $url; -} \ No newline at end of file +} diff --git a/ecrire/inc/lister_objets.php b/ecrire/inc/lister_objets.php index 8dc84bc649..97e6a7a275 100644 --- a/ecrire/inc/lister_objets.php +++ b/ecrire/inc/lister_objets.php @@ -64,4 +64,4 @@ function inc_lister_objets_dist($vue, $contexte = array(), $force = false) { } return $res; -} \ No newline at end of file +} diff --git a/ecrire/inc/log.php b/ecrire/inc/log.php index c88aaee5f8..f3f08bae12 100644 --- a/ecrire/inc/log.php +++ b/ecrire/inc/log.php @@ -106,4 +106,4 @@ function inc_log_dist($message, $logname = null, $logdir = null, $logsuf = null) inc_log_dist($logname == 'maj' ? 'cf maj.log' : $message); } $debugverb = ""; -} \ No newline at end of file +} diff --git a/ecrire/inc/mail.php b/ecrire/inc/mail.php index 62359a3890..eb2aba1d59 100644 --- a/ecrire/inc/mail.php +++ b/ecrire/inc/mail.php @@ -35,4 +35,4 @@ if (!function_exists('envoyer_mail')) { return call_user_func_array(_FUNCTION_ENVOYER_MAIL, $args); } } -} \ No newline at end of file +} diff --git a/ecrire/inc/math.php b/ecrire/inc/math.php index 74a6196336..47eac281ea 100644 --- a/ecrire/inc/math.php +++ b/ecrire/inc/math.php @@ -115,4 +115,4 @@ function traiter_math($letexte, $source = '') { } return $texte_a_voir; -} \ No newline at end of file +} diff --git a/ecrire/inc/meta.php b/ecrire/inc/meta.php index f577d6bf76..eb2be0a961 100644 --- a/ecrire/inc/meta.php +++ b/ecrire/inc/meta.php @@ -282,4 +282,4 @@ function supprimer_table_meta($table, $force = false) { $trouver_table = charger_fonction('trouver_table', 'base'); $trouver_table(''); } -} \ No newline at end of file +} diff --git a/ecrire/inc/minipres.php b/ecrire/inc/minipres.php index b703b6246f..89c7576d71 100644 --- a/ecrire/inc/minipres.php +++ b/ecrire/inc/minipres.php @@ -209,4 +209,4 @@ function minipres($titre = '', $corps = "", $options = array()) { } ajax_retour("
" . $titre . redirige_formulaire($url) . "
", false); } -} \ No newline at end of file +} diff --git a/ecrire/inc/modifier.php b/ecrire/inc/modifier.php index ed4c599fec..c547657779 100644 --- a/ecrire/inc/modifier.php +++ b/ecrire/inc/modifier.php @@ -349,4 +349,4 @@ function revision_objet($objet, $id_objet, $c = null) { include_spip('action/editer_objet'); return objet_modifier($objet, $id_objet, $c); -} \ No newline at end of file +} diff --git a/ecrire/inc/nfslock.php b/ecrire/inc/nfslock.php index 73cb47eb80..0e18e54ebe 100644 --- a/ecrire/inc/nfslock.php +++ b/ecrire/inc/nfslock.php @@ -322,4 +322,4 @@ function spip_nfsunlock($fichier, $birth, $max_age = 0, $test = false) { */ function spip_nfslock_test($fichier, $birth, $max_age = 0) { return spip_nfsunlock($fichier, $birth, $max_age, true); -} \ No newline at end of file +} diff --git a/ecrire/inc/notifications.php b/ecrire/inc/notifications.php index 0003b4f92f..f586f7797c 100644 --- a/ecrire/inc/notifications.php +++ b/ecrire/inc/notifications.php @@ -214,4 +214,4 @@ function notifier_proposition_article($id_article) { $texte = email_notification_article($id_article, "notifications/article_propose"); notifications_envoyer_mails($adresse_suivi, $texte); } -} \ No newline at end of file +} diff --git a/ecrire/inc/pclzip.php b/ecrire/inc/pclzip.php index 02802b22a3..212bc48116 100644 --- a/ecrire/inc/pclzip.php +++ b/ecrire/inc/pclzip.php @@ -5659,4 +5659,4 @@ function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter = true) { } // -------------------------------------------------------------------------------- -; \ No newline at end of file +; diff --git a/ecrire/inc/pipelines.php b/ecrire/inc/pipelines.php index 0a21b5ee3d..d151b1dd3b 100644 --- a/ecrire/inc/pipelines.php +++ b/ecrire/inc/pipelines.php @@ -270,4 +270,4 @@ function f_queue(&$texte) { } return $texte; -} \ No newline at end of file +} diff --git a/ecrire/inc/pipelines_ecrire.php b/ecrire/inc/pipelines_ecrire.php index fa42c4b138..6e5d373e25 100644 --- a/ecrire/inc/pipelines_ecrire.php +++ b/ecrire/inc/pipelines_ecrire.php @@ -267,4 +267,4 @@ function trouver_objet_exec($exec) { } return $objet_exec[$exec]; -} \ No newline at end of file +} diff --git a/ecrire/inc/plonger.php b/ecrire/inc/plonger.php index a971b9f6f7..fb84d5e68a 100644 --- a/ecrire/inc/plonger.php +++ b/ecrire/inc/plonger.php @@ -113,4 +113,4 @@ function inc_plonger_dist($id_rubrique, $idom = "", $list = array(), $col = 1, $ ? inc_plonger_dist($id_rubrique, $idom, $list, $col+1, $exclu) : "") . "\n"; -} \ No newline at end of file +} diff --git a/ecrire/inc/plugin.php b/ecrire/inc/plugin.php index 55c8ed6556..d31bc1b170 100644 --- a/ecrire/inc/plugin.php +++ b/ecrire/inc/plugin.php @@ -1114,4 +1114,3 @@ function ecrire_fichier_php($nom, $contenu, $comment = '') { ecrire_fichier($nom, '<' . '?php' . "\n" . $comment . "\nif (defined('_ECRIRE_INC_VERSION')) {\n" . $contenu . "}\n?" . '>'); } - diff --git a/ecrire/inc/precharger_article.php b/ecrire/inc/precharger_article.php index 3941bc9b43..a46514b8d9 100644 --- a/ecrire/inc/precharger_article.php +++ b/ecrire/inc/precharger_article.php @@ -61,4 +61,4 @@ function inc_precharger_article_dist($id_article, $id_rubrique = 0, $lier_trad = **/ function inc_precharger_traduction_article_dist($id_article, $id_rubrique = 0, $lier_trad = 0) { return precharger_traduction_objet('article', $id_article, $id_rubrique, $lier_trad, 'titre'); -} \ No newline at end of file +} diff --git a/ecrire/inc/precharger_objet.php b/ecrire/inc/precharger_objet.php index cfd7854691..159150d48a 100644 --- a/ecrire/inc/precharger_objet.php +++ b/ecrire/inc/precharger_objet.php @@ -185,4 +185,4 @@ function precharger_traduction_objet($type, $id_objet, $id_rubrique = 0, $lier_t } return $row; -} \ No newline at end of file +} diff --git a/ecrire/inc/prepare_recherche.php b/ecrire/inc/prepare_recherche.php index 4412b5f556..7e379f09f0 100644 --- a/ecrire/inc/prepare_recherche.php +++ b/ecrire/inc/prepare_recherche.php @@ -186,4 +186,4 @@ function generer_select_where_explicites($table, $primary, $rows, $serveur) { return array("$select AS points ", sql_in("$table.$primary", array_map('reset', $rows), '', $serveur)); } -} \ No newline at end of file +} diff --git a/ecrire/inc/preselectionner_parent_nouvel_objet.php b/ecrire/inc/preselectionner_parent_nouvel_objet.php index f5fe10cb7b..7279e7d635 100644 --- a/ecrire/inc/preselectionner_parent_nouvel_objet.php +++ b/ecrire/inc/preselectionner_parent_nouvel_objet.php @@ -60,4 +60,4 @@ function inc_preselectionner_parent_nouvel_objet_dist($objet, $row) { return $id_rubrique; -} \ No newline at end of file +} diff --git a/ecrire/inc/presentation.php b/ecrire/inc/presentation.php index 7946579dfd..6e0a41398d 100644 --- a/ecrire/inc/presentation.php +++ b/ecrire/inc/presentation.php @@ -283,4 +283,4 @@ function icone_horizontale($texte, $lien, $fond, $fonction = "", $dummy = "", $j $retour = icone_base($lien, $texte, $fond, $fonction, "horizontale", $javascript); return $retour; -} \ No newline at end of file +} diff --git a/ecrire/inc/presentation_mini.php b/ecrire/inc/presentation_mini.php index c86ae216bf..a0e7a5dbbf 100644 --- a/ecrire/inc/presentation_mini.php +++ b/ecrire/inc/presentation_mini.php @@ -36,8 +36,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { **/ function echo_log($f, $ret) { spip_log("Page " . self() . " function $f: echo " . substr($ret, 0, 50) . "...", 'echo'); - echo - (_SIGNALER_ECHOS ? "#Echo par $f#" : "") + echo(_SIGNALER_ECHOS ? "#Echo par $f#" : "") . $ret; } @@ -290,4 +289,4 @@ function formulaire_recherche($page, $complement = "") { $form .= ""; return "
" . generer_form_ecrire($page, $form . $complement, " method='get'") . "
"; -} \ No newline at end of file +} diff --git a/ecrire/inc/presenter_enfants.php b/ecrire/inc/presenter_enfants.php index 6619ab6612..d3e3b7683d 100644 --- a/ecrire/inc/presenter_enfants.php +++ b/ecrire/inc/presenter_enfants.php @@ -206,4 +206,4 @@ function afficher_enfant_rub($id_rubrique = 0) { . $pagination; return $res; -} \ No newline at end of file +} diff --git a/ecrire/inc/puce_statut.php b/ecrire/inc/puce_statut.php index fa331c456c..a7198162f9 100644 --- a/ecrire/inc/puce_statut.php +++ b/ecrire/inc/puce_statut.php @@ -433,4 +433,4 @@ function puce_statut($statut, $atts = '') { } return http_img_pack($src, statut_titre('article', $statut), $atts); -} \ No newline at end of file +} diff --git a/ecrire/inc/queue.php b/ecrire/inc/queue.php index 8b83a0727b..b4794473ca 100644 --- a/ecrire/inc/queue.php +++ b/ecrire/inc/queue.php @@ -703,4 +703,4 @@ function queue_affichage_cron() { '\');">'; return $texte; -} \ No newline at end of file +} diff --git a/ecrire/inc/recherche_to_array.php b/ecrire/inc/recherche_to_array.php index 630dc8229c..af6ff3cbd6 100644 --- a/ecrire/inc/recherche_to_array.php +++ b/ecrire/inc/recherche_to_array.php @@ -249,4 +249,4 @@ function inc_recherche_to_array_dist($recherche, $options = array()) { } return $results; -} \ No newline at end of file +} diff --git a/ecrire/inc/rechercher.php b/ecrire/inc/rechercher.php index b00a2326d8..e8e3f47b05 100644 --- a/ecrire/inc/rechercher.php +++ b/ecrire/inc/rechercher.php @@ -344,4 +344,4 @@ function remplace_en_base($recherche = '', $remplace = null, $tables = null, $op } } } -} \ No newline at end of file +} diff --git a/ecrire/inc/rubriques.php b/ecrire/inc/rubriques.php index 6db36af0e8..c1c722cb0e 100644 --- a/ecrire/inc/rubriques.php +++ b/ecrire/inc/rubriques.php @@ -843,4 +843,4 @@ function creer_rubrique_nommee($titre, $id_parent = 0, $serveur = '') { } return intval($id_parent); -} \ No newline at end of file +} diff --git a/ecrire/inc/securiser_action.php b/ecrire/inc/securiser_action.php index f04de2437f..3cc87588b3 100644 --- a/ecrire/inc/securiser_action.php +++ b/ecrire/inc/securiser_action.php @@ -291,4 +291,4 @@ function calculer_cle_action($action) { */ function verifier_cle_action($action, $cle) { return ($cle == calculer_cle_action($action)); -} \ No newline at end of file +} diff --git a/ecrire/inc/selectionner.php b/ecrire/inc/selectionner.php index c7ce9660a3..f73315ddd1 100644 --- a/ecrire/inc/selectionner.php +++ b/ecrire/inc/selectionner.php @@ -171,4 +171,4 @@ function mini_hier($id_rubrique) { } return explode(',', "0,$liste"); -} \ No newline at end of file +} diff --git a/ecrire/inc/session.php b/ecrire/inc/session.php index 8b098a7b02..e43d900c5f 100644 --- a/ecrire/inc/session.php +++ b/ecrire/inc/session.php @@ -636,4 +636,4 @@ function is_php_session_started() { } return false; -} \ No newline at end of file +} diff --git a/ecrire/inc/simplexml_to_array.php b/ecrire/inc/simplexml_to_array.php index e497c2e8e8..837a407ac8 100644 --- a/ecrire/inc/simplexml_to_array.php +++ b/ecrire/inc/simplexml_to_array.php @@ -105,4 +105,4 @@ function xmlObjToArr($obj, $utiliser_namespace = false) { } return $tableau; -} \ No newline at end of file +} diff --git a/ecrire/inc/surligne.php b/ecrire/inc/surligne.php index 4b4d2fcef4..d1d2cfa1e2 100644 --- a/ecrire/inc/surligne.php +++ b/ecrire/inc/surligne.php @@ -119,4 +119,4 @@ function surligner_mots($page, $surcharge_surligne = '') { } return $page; -} \ No newline at end of file +} diff --git a/ecrire/inc/texte.php b/ecrire/inc/texte.php index 86945a2bd3..9bff329d5d 100644 --- a/ecrire/inc/texte.php +++ b/ecrire/inc/texte.php @@ -415,4 +415,4 @@ function propre($t, $connect = null, $env = array()) { $t = echappe_retour_modeles($t, $interdire_script); return $t; -} \ No newline at end of file +} diff --git a/ecrire/inc/traduire.php b/ecrire/inc/traduire.php index 6e319664e0..f2c4b85dd6 100644 --- a/ecrire/inc/traduire.php +++ b/ecrire/inc/traduire.php @@ -161,7 +161,7 @@ function surcharger_langue($fichiers) { $GLOBALS['idx_lang'] = $GLOBALS['idx_lang'] . '@temporaire'; include($fichier); $surcharges[$fichier] = $GLOBALS[$GLOBALS['idx_lang']]; - unset ($GLOBALS[$GLOBALS['idx_lang']]); + unset($GLOBALS[$GLOBALS['idx_lang']]); $GLOBALS['idx_lang'] = $idx_lang_normal; } if (is_array($surcharges[$fichier])) { @@ -304,4 +304,4 @@ function inc_traduire_dist($ori, $lang) { } return $text; -} \ No newline at end of file +} diff --git a/ecrire/inc/urls.php b/ecrire/inc/urls.php index 23773a07d8..7ab44a90c3 100644 --- a/ecrire/inc/urls.php +++ b/ecrire/inc/urls.php @@ -275,4 +275,4 @@ function generer_url_ecrire_objet($objet, $id, $args = '', $ancre = '', $public } return generer_url_ecrire(objet_info($objet, 'url_voir'), $a . ($args ? "&$args" : '')) . ($ancre ? "#$ancre" : ''); -} \ No newline at end of file +} diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index d4dcb00ee0..24c554fd13 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -578,8 +578,7 @@ function nettoyer_uri($reset = null) { $uri1 = $GLOBALS['REQUEST_URI']; do { $uri = $uri1; - $uri1 = preg_replace - (',([?&])(PHPSESSID|(var_[^=&]*))=[^&]*(&|$),i', + $uri1 = preg_replace(',([?&])(PHPSESSID|(var_[^=&]*))=[^&]*(&|$),i', '\1', $uri); } while ($uri <> $uri1); @@ -3261,4 +3260,4 @@ function avertir_auteurs($nom, $message, $statut = '') { } $alertes[$statut][$nom] = $message; ecrire_meta("message_alertes_auteurs", serialize($alertes)); -} \ No newline at end of file +} diff --git a/ecrire/inc/xml.php b/ecrire/inc/xml.php index c58200d445..9a3a1b4ee0 100644 --- a/ecrire/inc/xml.php +++ b/ecrire/inc/xml.php @@ -266,4 +266,4 @@ function spip_xml_match_nodes($regexp, &$arbre, &$matches, $init = true) { } return (count($matches)); -} \ No newline at end of file +} diff --git a/ecrire/inc_version.php b/ecrire/inc_version.php index d7c4efcfd5..1871c01eba 100644 --- a/ecrire/inc_version.php +++ b/ecrire/inc_version.php @@ -480,4 +480,4 @@ if (!headers_sent()) { } $methode = (isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : ((php_sapi_name() == 'cli') ? 'cli' : '')); -spip_log($methode . ' ' . self() . ' - ' . _FILE_CONNECT, _LOG_DEBUG); \ No newline at end of file +spip_log($methode . ' ' . self() . ' - ' . _FILE_CONNECT, _LOG_DEBUG); diff --git a/ecrire/index.php b/ecrire/index.php index 1196f1cfb2..25bcd2ae23 100644 --- a/ecrire/index.php +++ b/ecrire/index.php @@ -167,4 +167,4 @@ if ($var_f = tester_url_ecrire($exec)) { // ce qui permet de laisser la main a un plugin $var_f = charger_fonction('404'); $var_f($exec); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_.php b/ecrire/install/etape_.php index c710fe0a29..c216bba65e 100644 --- a/ecrire/install/etape_.php +++ b/ecrire/install/etape_.php @@ -41,4 +41,4 @@ function install_etape__dist() { generer_form_ecrire('install', "" . bouton_suivant()); echo minipres('AUTO', $res); } -} \ No newline at end of file +} diff --git a/ecrire/install/etape_1.php b/ecrire/install/etape_1.php index 92f8829c28..516bcfcc1f 100644 --- a/ecrire/install/etape_1.php +++ b/ecrire/install/etape_1.php @@ -76,4 +76,4 @@ function install_etape_1_dist() { echo info_etape(_T('info_connexion_base_donnee')); echo install_connexion_form($db, $login, $pass, $predef, "\n", 2); echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_2.php b/ecrire/install/etape_2.php index 11e0c73c56..05a211232b 100644 --- a/ecrire/install/etape_2.php +++ b/ecrire/install/etape_2.php @@ -176,4 +176,4 @@ function install_etape_2_form($hidden, $checked, $res, $etape) { ) . bouton_suivant())); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_3.php b/ecrire/install/etape_3.php index 648be2eff6..efc6d97a10 100644 --- a/ecrire/install/etape_3.php +++ b/ecrire/install/etape_3.php @@ -358,4 +358,4 @@ function install_etape_3_dist() { echo install_debut_html(); echo $res; echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_3b.php b/ecrire/install/etape_3b.php index 5976f7ecb5..d54bc95ad9 100644 --- a/ecrire/install/etape_3b.php +++ b/ecrire/install/etape_3b.php @@ -151,4 +151,4 @@ function install_etape_3b_dist() { include_spip('inc/distant'); redirige_par_entete(parametre_url(self(), 'etape', '4', '&')); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_4.php b/ecrire/install/etape_4.php index eea85e6ad0..efcd605de6 100644 --- a/ecrire/install/etape_4.php +++ b/ecrire/install/etape_4.php @@ -67,4 +67,4 @@ function install_etape_4_dist() { echo generer_form_ecrire('install', $suite); echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_chmod.php b/ecrire/install/etape_chmod.php index f8d8f70448..68b469b874 100644 --- a/ecrire/install/etape_chmod.php +++ b/ecrire/install/etape_chmod.php @@ -158,4 +158,4 @@ function install_etape_chmod_dist() { redirige_url_ecrire(); } } -} \ No newline at end of file +} diff --git a/ecrire/install/etape_fin.php b/ecrire/install/etape_fin.php index 6591a30e0d..df28b1e004 100644 --- a/ecrire/install/etape_fin.php +++ b/ecrire/install/etape_fin.php @@ -79,4 +79,4 @@ function install_verifier_htaccess() { )); return "

$titre

$averti

"; -} \ No newline at end of file +} diff --git a/ecrire/install/etape_ldap1.php b/ecrire/install/etape_ldap1.php index 90b56a35ee..988a26c1b6 100644 --- a/ecrire/install/etape_ldap1.php +++ b/ecrire/install/etape_ldap1.php @@ -94,4 +94,4 @@ function install_etape_ldap1_dist() { . bouton_suivant())); echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_ldap2.php b/ecrire/install/etape_ldap2.php index e0785f974e..d0e14b5bc4 100644 --- a/ecrire/install/etape_ldap2.php +++ b/ecrire/install/etape_ldap2.php @@ -84,4 +84,4 @@ function install_etape_ldap2_dist() { } echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_ldap3.php b/ecrire/install/etape_ldap3.php index aebb92b0b6..401cc11273 100644 --- a/ecrire/install/etape_ldap3.php +++ b/ecrire/install/etape_ldap3.php @@ -81,4 +81,4 @@ function install_etape_ldap3_dist() { echo generer_form_ecrire('install', $res); echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_ldap4.php b/ecrire/install/etape_ldap4.php index 89c91c9e4b..13d0a8ba47 100644 --- a/ecrire/install/etape_ldap4.php +++ b/ecrire/install/etape_ldap4.php @@ -104,4 +104,4 @@ function install_ldap_correspondances() { return !$champs ? '' : fieldset(_T('ldap_correspondance_1'), $champs, '', _T('ldap_correspondance_2') . '

'); -} \ No newline at end of file +} diff --git a/ecrire/install/etape_ldap5.php b/ecrire/install/etape_ldap5.php index 8a8fb35755..34327b42ce 100644 --- a/ecrire/install/etape_ldap5.php +++ b/ecrire/install/etape_ldap5.php @@ -87,4 +87,4 @@ function etape_ldap5_suite() { . bouton_suivant())); echo install_fin_html(); -} \ No newline at end of file +} diff --git a/ecrire/iterateur/data.php b/ecrire/iterateur/data.php index 9410b35c84..9482a23219 100644 --- a/ecrire/iterateur/data.php +++ b/ecrire/iterateur/data.php @@ -850,4 +850,4 @@ function XMLObjectToArray($object) { } return $xml_array; -} \ No newline at end of file +} diff --git a/ecrire/iterateur/php.php b/ecrire/iterateur/php.php index 631da70bfc..9a66c23f5b 100644 --- a/ecrire/iterateur/php.php +++ b/ecrire/iterateur/php.php @@ -55,4 +55,4 @@ function iterateur_php_dist($b, $iteratorName) { */ return $b; -} \ No newline at end of file +} diff --git a/ecrire/iterateur/pour.php b/ecrire/iterateur/pour.php index 4fd5438739..61af6feffa 100644 --- a/ecrire/iterateur/pour.php +++ b/ecrire/iterateur/pour.php @@ -45,4 +45,3 @@ function iterateur_POUR_dist($b) { return $b; } - diff --git a/ecrire/iterateur/sql.php b/ecrire/iterateur/sql.php index 8a76d167f5..6fb8d9a33a 100644 --- a/ecrire/iterateur/sql.php +++ b/ecrire/iterateur/sql.php @@ -219,4 +219,4 @@ class IterateurSQL implements Iterator { return $this->total; } -} \ No newline at end of file +} diff --git a/ecrire/maj/v009.php b/ecrire/maj/v009.php index 8d53622b25..0e38b91ce2 100644 --- a/ecrire/maj/v009.php +++ b/ecrire/maj/v009.php @@ -147,4 +147,4 @@ function maj_v009_dist($version_installee, $version_cible) { } maj_version(0.999); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v010.php b/ecrire/maj/v010.php index 894c7eca44..c3a74cef95 100644 --- a/ecrire/maj/v010.php +++ b/ecrire/maj/v010.php @@ -53,4 +53,4 @@ function maj_v010_dist($version_installee, $version_cible) { spip_query("DROP TABLE spip_signatures_petition"); maj_version(1.05); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v011.php b/ecrire/maj/v011.php index 41136217b7..550f805550 100644 --- a/ecrire/maj/v011.php +++ b/ecrire/maj/v011.php @@ -32,4 +32,4 @@ function maj_v011_dist($version_installee, $version_cible) { spip_query("DROP TABLE spip_signatures_petition"); maj_version(1.1); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v012.php b/ecrire/maj/v012.php index f6b1ccbc12..1a6baf056c 100644 --- a/ecrire/maj/v012.php +++ b/ecrire/maj/v012.php @@ -88,4 +88,4 @@ function maj_v012_dist($version_installee, $version_cible) { stripslashes_base('spip_syndic_articles', array('titre', 'lesauteurs')); maj_version(1.210); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v013.php b/ecrire/maj/v013.php index 1098b0cdac..69e2f93bdb 100644 --- a/ecrire/maj/v013.php +++ b/ecrire/maj/v013.php @@ -70,4 +70,4 @@ function maj_v013_dist($version_installee, $version_cible) { spip_query("ALTER TABLE spip_syndic_articles ADD descriptif blob NOT NULL"); maj_version(1.307); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v014.php b/ecrire/maj/v014.php index 9f7abf05bd..c06a9a5f44 100644 --- a/ecrire/maj/v014.php +++ b/ecrire/maj/v014.php @@ -333,4 +333,4 @@ function maj_v014_dist($version_installee, $version_cible) { spip_query("UPDATE spip_syndic SET url_site = REPLACE(url_site, '&', '&')"); maj_version(1.473); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v015.php b/ecrire/maj/v015.php index b85ae345f7..7b66d8d52d 100644 --- a/ecrire/maj/v015.php +++ b/ecrire/maj/v015.php @@ -26,4 +26,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { * @param float $version_cible Version de destination **/ function maj_v015_dist($version_installee, $version_cible) { -} \ No newline at end of file +} diff --git a/ecrire/maj/v016.php b/ecrire/maj/v016.php index 630e93a136..7efea8da55 100644 --- a/ecrire/maj/v016.php +++ b/ecrire/maj/v016.php @@ -54,10 +54,10 @@ function maj_v016_dist($version_installee, $version_cible) { while ($row = sql_fetch($u)) { $prefs = unserialize($row['prefs']); $l = $prefs['spip_lang']; - unset ($prefs['spip_lang']); + unset($prefs['spip_lang']); spip_query("UPDATE spip_auteurs SET lang=" . _q($l) . ", prefs='" . addslashes(serialize($prefs)) . "' WHERE id_auteur=" . $row['id_auteur']); } $u = spip_query("SELECT lang FROM spip_auteurs"); maj_version(1.604, $u); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v017.php b/ecrire/maj/v017.php index bc56171624..a9256e554c 100644 --- a/ecrire/maj/v017.php +++ b/ecrire/maj/v017.php @@ -199,4 +199,4 @@ function maj_v017_dist($version_installee, $version_cible) { # creer_base(); # maj_version(1.734); #} -} \ No newline at end of file +} diff --git a/ecrire/maj/v018.php b/ecrire/maj/v018.php index c65271b4ed..ea12b8202f 100644 --- a/ecrire/maj/v018.php +++ b/ecrire/maj/v018.php @@ -236,4 +236,4 @@ function maj_v018_dist($version_installee, $version_cible) { spip_query("ALTER TABLE spip_ajax_fonc DROP fonction"); maj_version(1.826); } -} \ No newline at end of file +} diff --git a/ecrire/maj/v019.php b/ecrire/maj/v019.php index e59888402a..03a4a2cd49 100644 --- a/ecrire/maj/v019.php +++ b/ecrire/maj/v019.php @@ -552,4 +552,4 @@ $GLOBALS['maj'][1957] = array( // Ce champ est inutile et provoque une erreur a l'insertion qui l'oublie $GLOBALS['maj'][1958] = array( array('sql_alter', "TABLE spip_referers_articles DROP date") -); \ No newline at end of file +); diff --git a/ecrire/maj/v019_pre193.php b/ecrire/maj/v019_pre193.php index 85786f0ecc..7ab9710cf6 100644 --- a/ecrire/maj/v019_pre193.php +++ b/ecrire/maj/v019_pre193.php @@ -338,4 +338,4 @@ function v019_pre193($version_installee, $version_cible) { spip_query("UPDATE spip_types_documents SET `mime_type`='application/mp4' WHERE `extension`='mp4'"); maj_version('1.926'); } -} \ No newline at end of file +} diff --git a/ecrire/notifications/instituerarticle.php b/ecrire/notifications/instituerarticle.php index 4136b2434c..b7b0dafb73 100644 --- a/ecrire/notifications/instituerarticle.php +++ b/ecrire/notifications/instituerarticle.php @@ -57,4 +57,4 @@ function notifications_instituerarticle_dist($quoi, $id_article, $options) { $texte = email_notification_article($id_article, $modele); notifications_envoyer_mails($destinataires, $texte); } -} \ No newline at end of file +} diff --git a/ecrire/prive.php b/ecrire/prive.php index 80c625982f..e3fe8f7eba 100644 --- a/ecrire/prive.php +++ b/ecrire/prive.php @@ -35,4 +35,4 @@ if ($var_auth !== '') { } // En somme, est prive' ce qui est publiquement nomme'... -include 'public.php'; \ No newline at end of file +include 'public.php'; diff --git a/ecrire/public.php b/ecrire/public.php index c9ae41b6de..61dcec6c5e 100644 --- a/ecrire/public.php +++ b/ecrire/public.php @@ -210,4 +210,4 @@ if (isset($GLOBALS['_INC_PUBLIC']) AND $GLOBALS['_INC_PUBLIC']) { // sauver le cache chemin si necessaire save_path_cache(); } -} \ No newline at end of file +} diff --git a/ecrire/public/admin.php b/ecrire/public/admin.php index 172b39a7fd..cf7295fb42 100644 --- a/ecrire/public/admin.php +++ b/ecrire/public/admin.php @@ -62,4 +62,4 @@ function affiche_boutons_admin($contenu) { return $contenu; -} \ No newline at end of file +} diff --git a/ecrire/public/aiguiller.php b/ecrire/public/aiguiller.php index 985adc4ca9..eef3c8c2f6 100644 --- a/ecrire/public/aiguiller.php +++ b/ecrire/public/aiguiller.php @@ -280,4 +280,4 @@ function traiter_formulaires_dynamiques($get = false) { } return false; // le hit peut continuer normalement -} \ No newline at end of file +} diff --git a/ecrire/public/assembler.php b/ecrire/public/assembler.php index ed662a6339..2366542b80 100644 --- a/ecrire/public/assembler.php +++ b/ecrire/public/assembler.php @@ -691,4 +691,4 @@ function envoyer_entetes($entetes) { { @header(strlen($v) ? "$k: $v" : $k); } -} \ No newline at end of file +} diff --git a/ecrire/public/balises.php b/ecrire/public/balises.php index 24bff71484..1952bf7ed9 100644 --- a/ecrire/public/balises.php +++ b/ecrire/public/balises.php @@ -2856,4 +2856,4 @@ function balise_LARGEUR_ECRAN_dist($p) { $p->code = "(is_string($_class)?vide(\$GLOBALS['largeur_ecran']=$_class):(isset(\$GLOBALS['largeur_ecran'])?\$GLOBALS['largeur_ecran']:''))"; return $p; -} \ No newline at end of file +} diff --git a/ecrire/public/boucles.php b/ecrire/public/boucles.php index 36fb3954e2..ba4ccea28c 100644 --- a/ecrire/public/boucles.php +++ b/ecrire/public/boucles.php @@ -108,4 +108,4 @@ function boucle_HIERARCHIE_dist($id_boucle, &$boucles) { } return calculer_boucle($id_boucle, $boucles); -} \ No newline at end of file +} diff --git a/ecrire/public/cacher.php b/ecrire/public/cacher.php index 19c18f0884..97fc3b0415 100644 --- a/ecrire/public/cacher.php +++ b/ecrire/public/cacher.php @@ -436,4 +436,4 @@ function public_cacher_dist($contexte, &$use_cache, &$chemin_cache, &$page, &$la } return; -} \ No newline at end of file +} diff --git a/ecrire/public/compiler.php b/ecrire/public/compiler.php index 7ac945d9fe..48abe31ce5 100644 --- a/ecrire/public/compiler.php +++ b/ecrire/public/compiler.php @@ -1571,4 +1571,4 @@ function requeteur_data_dist(&$boucles, &$boucle, &$id) { ); erreur_squelette($msg, $boucle); } -} \ No newline at end of file +} diff --git a/ecrire/public/composer.php b/ecrire/public/composer.php index 39db2db824..e87e5c9041 100644 --- a/ecrire/public/composer.php +++ b/ecrire/public/composer.php @@ -1095,4 +1095,4 @@ function calculer_nom_fonction_squel($skel, $mime_type = 'html', $connect = '') return $mime_type . (!$connect ? '' : preg_replace('/\W/', "_", $connect)) . '_' . md5($GLOBALS['spip_version_code'] . ' * ' . $skel . (isset($GLOBALS['marqueur_skel']) ? '*' . $GLOBALS['marqueur_skel'] : '')); -} \ No newline at end of file +} diff --git a/ecrire/public/criteres.php b/ecrire/public/criteres.php index a7bf53ab4a..829b1fc8b9 100644 --- a/ecrire/public/criteres.php +++ b/ecrire/public/criteres.php @@ -2548,4 +2548,4 @@ function critere_feuille_dist($idb, &$boucles, $crit) { $crit->not = $not ? false : true; critere_noeud_dist($idb, $boucles, $crit); $crit->not = $not; -} \ No newline at end of file +} diff --git a/ecrire/public/debusquer.php b/ecrire/public/debusquer.php index 607dfcda46..13e9f90214 100644 --- a/ecrire/public/debusquer.php +++ b/ecrire/public/debusquer.php @@ -830,4 +830,4 @@ function debusquer_entete($titre, $corps) { $corps . inclure_balise_dynamique(balise_FORMULAIRE_ADMIN_dyn('spip-admin-float', $GLOBALS['debug_objets']), false) . ''; -} \ No newline at end of file +} diff --git a/ecrire/public/decompiler.php b/ecrire/public/decompiler.php index c77b69e000..202d2b0ef8 100644 --- a/ecrire/public/decompiler.php +++ b/ecrire/public/decompiler.php @@ -226,4 +226,4 @@ function public_decompiler($liste, $fmt = '', $prof = 0, $quoi = '') { $f = 'decompiler_' . $quoi; return $f($liste, $fmt, $prof); -} \ No newline at end of file +} diff --git a/ecrire/public/format_html.php b/ecrire/public/format_html.php index 57bb1a41d8..bfa6119e20 100644 --- a/ecrire/public/format_html.php +++ b/ecrire/public/format_html.php @@ -131,4 +131,4 @@ function format_suite_html($args) { function format_texte_html($texte) { return $texte; -} \ No newline at end of file +} diff --git a/ecrire/public/interfaces.php b/ecrire/public/interfaces.php index 46a388f3d5..2cefc33b56 100644 --- a/ecrire/public/interfaces.php +++ b/ecrire/public/interfaces.php @@ -1002,4 +1002,4 @@ function declarer_interfaces() { } } -declarer_interfaces(); \ No newline at end of file +declarer_interfaces(); diff --git a/ecrire/public/iterateur.php b/ecrire/public/iterateur.php index 11b2412429..d93e9cbaa0 100644 --- a/ecrire/public/iterateur.php +++ b/ecrire/public/iterateur.php @@ -616,4 +616,4 @@ class IterDecorator extends FilterIterator { return $this->total; } -} \ No newline at end of file +} diff --git a/ecrire/public/jointures.php b/ecrire/public/jointures.php index 0e524e00f0..2d7b9d1711 100644 --- a/ecrire/public/jointures.php +++ b/ecrire/public/jointures.php @@ -600,4 +600,4 @@ function trouver_jointure_champ($champ, &$boucle, $jointures = false, $cond = fa spip_log("trouver_jointure_champ: $champ inconnu"); return ''; -} \ No newline at end of file +} diff --git a/ecrire/public/normaliser.php b/ecrire/public/normaliser.php index 5f1dc2caa1..8077fb0b13 100644 --- a/ecrire/public/normaliser.php +++ b/ecrire/public/normaliser.php @@ -212,4 +212,4 @@ function normaliser_inclure($champ) { } } spip_log("inclure sans fond ni fichier"); -} \ No newline at end of file +} diff --git a/ecrire/public/parametrer.php b/ecrire/public/parametrer.php index e1d8430ff7..906fa8cac4 100644 --- a/ecrire/public/parametrer.php +++ b/ecrire/public/parametrer.php @@ -266,4 +266,4 @@ function tester_redirection($fond, $contexte, $connect) { } return false; -} \ No newline at end of file +} diff --git a/ecrire/public/phraser_html.php b/ecrire/public/phraser_html.php index 9bce1a477b..e855f7c9e9 100644 --- a/ecrire/public/phraser_html.php +++ b/ecrire/public/phraser_html.php @@ -601,7 +601,7 @@ function phraser_criteres($params, &$result) { // une maniere tres sale de supprimer les "' autour de {critere "xxx","yyy"} if (preg_match(',^(["\'])(.*)\1$,', $m[4])) { $c = null; - eval ('$c = ' . $m[4] . ';'); + eval('$c = ' . $m[4] . ';'); if (isset($c)) { $m[4] = $c; } diff --git a/ecrire/public/quete.php b/ecrire/public/quete.php index 7e2bba28b8..4594508cca 100644 --- a/ecrire/public/quete.php +++ b/ecrire/public/quete.php @@ -569,4 +569,4 @@ function quete_debut_pagination($primary, $valeur, $pas, $iter) { // sinon, calculer le bon numero de page return floor($pos/$pas)*$pas; -} \ No newline at end of file +} diff --git a/ecrire/public/references.php b/ecrire/public/references.php index 10b4bae363..fd6d19d40d 100644 --- a/ecrire/public/references.php +++ b/ecrire/public/references.php @@ -118,7 +118,7 @@ function index_pile( // modifie $joker si tous les champs sont autorisés. // $t = le select pour le champ, si on l'a trouvé (ou si joker) // $c = le nom du champ demandé - list ($t, $c) = index_tables_en_pile($idb, $nom_champ, $boucles, $joker); + list($t, $c) = index_tables_en_pile($idb, $nom_champ, $boucles, $joker); if ($t) { if ($select AND !in_array($t, $boucles[$idb]->select)) { $boucles[$idb]->select[] = $t; @@ -924,4 +924,4 @@ function rindex_pile($p, $champ, $motif) { $p->interdire_scripts = false; return $p; -} \ No newline at end of file +} diff --git a/ecrire/public/styliser.php b/ecrire/public/styliser.php index 3d728a41a0..5e88d694e7 100644 --- a/ecrire/public/styliser.php +++ b/ecrire/public/styliser.php @@ -189,4 +189,4 @@ function quete_rubrique_fond($contexte) { } return $quete[$s] = false; -} \ No newline at end of file +} diff --git a/ecrire/public/styliser_par_z.php b/ecrire/public/styliser_par_z.php index c95e2d7784..143566540d 100644 --- a/ecrire/public/styliser_par_z.php +++ b/ecrire/public/styliser_par_z.php @@ -421,4 +421,4 @@ function z_sanitize_var_zajax() { } return $z_ajax; -} \ No newline at end of file +} diff --git a/ecrire/public/tracer.php b/ecrire/public/tracer.php index 91bcbcc49a..6ac9d7e3d3 100644 --- a/ecrire/public/tracer.php +++ b/ecrire/public/tracer.php @@ -163,4 +163,4 @@ function chrono_requete($temps) { ); return array($temps, $navigation); -} \ No newline at end of file +} diff --git a/ecrire/req/mysql.php b/ecrire/req/mysql.php index 4499a1dabe..4c752c2b03 100644 --- a/ecrire/req/mysql.php +++ b/ecrire/req/mysql.php @@ -1766,4 +1766,4 @@ function test_sql_mode_mysql($server_db) { } return ''; -} \ No newline at end of file +} diff --git a/ecrire/req/pg.exp.php b/ecrire/req/pg.exp.php index 56dcd6fe23..d2354d0d61 100644 --- a/ecrire/req/pg.exp.php +++ b/ecrire/req/pg.exp.php @@ -1559,4 +1559,4 @@ function spip_versions_pg() { charger_php_extension('pgsql'); return function_exists('pg_connect'); -} \ No newline at end of file +} diff --git a/ecrire/req/sqlite2.php b/ecrire/req/sqlite2.php index 3a17918d57..a7a5b261f2 100644 --- a/ecrire/req/sqlite2.php +++ b/ecrire/req/sqlite2.php @@ -35,4 +35,4 @@ function spip_sqlite2_constantes() { function spip_versions_sqlite2() { return _sqlite_charger_version(2) ? 2 : false; -} \ No newline at end of file +} diff --git a/ecrire/req/sqlite3.php b/ecrire/req/sqlite3.php index 94c83ba421..a1932c4b22 100644 --- a/ecrire/req/sqlite3.php +++ b/ecrire/req/sqlite3.php @@ -37,4 +37,4 @@ function spip_sqlite3_constantes() { function spip_versions_sqlite3() { return _sqlite_charger_version(3) ? 3 : false; -} \ No newline at end of file +} diff --git a/ecrire/req/sqlite_fonctions.php b/ecrire/req/sqlite_fonctions.php index 3c70fa0f80..c9d7cb20e5 100644 --- a/ecrire/req/sqlite_fonctions.php +++ b/ecrire/req/sqlite_fonctions.php @@ -438,4 +438,4 @@ function _sqlite_func_date($quoi, $d) { // http://code.spip.net/@_sqlite_func_vide function _sqlite_func_vide() { return; -} \ No newline at end of file +} diff --git a/ecrire/req/sqlite_generique.php b/ecrire/req/sqlite_generique.php index beb3d91953..4e754c3588 100644 --- a/ecrire/req/sqlite_generique.php +++ b/ecrire/req/sqlite_generique.php @@ -2841,7 +2841,7 @@ class spip_sqlite { **/ static function finir_transaction($serveur) { // si pas de transaction en cours, ne rien faire et le dire - if (!isset (spip_sqlite::$transaction_en_cours[$serveur]) + if (!isset(spip_sqlite::$transaction_en_cours[$serveur]) OR spip_sqlite::$transaction_en_cours[$serveur] == false ) { return false; @@ -3188,4 +3188,4 @@ class sqlite_traducteur { return "CASE $res ELSE 0 END "; } -} \ No newline at end of file +} diff --git a/ecrire/typographie/en.php b/ecrire/typographie/en.php index c940bb728a..de5b6b3293 100644 --- a/ecrire/typographie/en.php +++ b/ecrire/typographie/en.php @@ -44,4 +44,4 @@ function typographie_en_dist($letexte) { $letexte = preg_replace($cherche2, $remplace2, $letexte); return $letexte; -} \ No newline at end of file +} diff --git a/ecrire/urls/page.php b/ecrire/urls/page.php index eaee0f878b..de107c894e 100644 --- a/ecrire/urls/page.php +++ b/ecrire/urls/page.php @@ -100,4 +100,4 @@ function urls_page_dist($i, &$entite, $args = '', $ancre = '') { return $urls_anciennes ? $urls_anciennes($url_propre, $entite, $contexte) : ''; } /* Fin du bloc compatibilite url-propres */ -} \ No newline at end of file +} diff --git a/ecrire/xml/analyser_dtd.php b/ecrire/xml/analyser_dtd.php index ef9465f0e9..d5cba34551 100644 --- a/ecrire/xml/analyser_dtd.php +++ b/ecrire/xml/analyser_dtd.php @@ -411,4 +411,4 @@ function expanserEntite($val, $macros = array()) { } return trim(preg_replace('/\s+/', ' ', $val)); -} \ No newline at end of file +} diff --git a/ecrire/xml/indenter.php b/ecrire/xml/indenter.php index d67278a08e..9f1a77f93c 100644 --- a/ecrire/xml/indenter.php +++ b/ecrire/xml/indenter.php @@ -68,4 +68,4 @@ function xml_indenter_dist($page, $apply = false) { spip_log("indentation impossible " . count($f->err) . " erreurs de validation"); return $f->entete . $f->page; -} \ No newline at end of file +} diff --git a/ecrire/xml/interfaces.php b/ecrire/xml/interfaces.php index 8c1fb5ae8a..44fe9ad588 100644 --- a/ecrire/xml/interfaces.php +++ b/ecrire/xml/interfaces.php @@ -57,4 +57,4 @@ class DTC { var $entites = array(); var $regles = array(); var $pcdata = array(); -} \ No newline at end of file +} diff --git a/ecrire/xml/sax.php b/ecrire/xml/sax.php index daaa286bd2..358c7c5f63 100644 --- a/ecrire/xml/sax.php +++ b/ecrire/xml/sax.php @@ -323,4 +323,4 @@ function analyser_doctype($data) { } return array($entete, $avail, $grammaire, $rotlvl); -} \ No newline at end of file +} diff --git a/ecrire/xml/valider.php b/ecrire/xml/valider.php index 3a6c285b2a..c62a852f6b 100644 --- a/ecrire/xml/valider.php +++ b/ecrire/xml/valider.php @@ -363,4 +363,4 @@ function xml_valider_dist($page, $apply = false, $process = false, $doctype = '' $sax = charger_fonction('sax', 'xml'); return $sax($page, $apply, $f, $doctype, $charset); -} \ No newline at end of file +} diff --git a/index.php b/index.php index 0dcd6be90a..a37f8a603b 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,3 @@ if (window.jQuery) jQuery('#bando_identite .nom_site_spip .nom').html('$reload');"; return array('message_ok' => _T('config_info_enregistree') . $reload, 'editable' => true); -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_langage.php b/prive/formulaires/configurer_langage.php index f49f07e1e2..b3840ab1c1 100644 --- a/prive/formulaires/configurer_langage.php +++ b/prive/formulaires/configurer_langage.php @@ -56,4 +56,4 @@ function afficher_langues_choix($langues, $name, $id, $selected) { } return $ret; -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_logos.php b/prive/formulaires/configurer_logos.php index 483f48a6c5..d1827c03e1 100644 --- a/prive/formulaires/configurer_logos.php +++ b/prive/formulaires/configurer_logos.php @@ -41,4 +41,3 @@ function formulaires_configurer_logos_traiter_dist() { return $res; } - diff --git a/prive/formulaires/configurer_metas.php b/prive/formulaires/configurer_metas.php index a554b30913..22d21a9a7c 100644 --- a/prive/formulaires/configurer_metas.php +++ b/prive/formulaires/configurer_metas.php @@ -107,4 +107,4 @@ function formulaires_configurer_metas_infos($form) { } return $infos; -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_moderniseur.php b/prive/formulaires/configurer_moderniseur.php index d761f8a150..e67a684fd9 100644 --- a/prive/formulaires/configurer_moderniseur.php +++ b/prive/formulaires/configurer_moderniseur.php @@ -38,4 +38,3 @@ function formulaires_configurer_moderniseur_traiter_dist() { return $res; } - diff --git a/prive/formulaires/configurer_multilinguisme.php b/prive/formulaires/configurer_multilinguisme.php index a3369ae3ef..7d3d1a1ffe 100644 --- a/prive/formulaires/configurer_multilinguisme.php +++ b/prive/formulaires/configurer_multilinguisme.php @@ -145,4 +145,4 @@ function saisie_langues_utiles($name, $selection) { $res .= "
"; return $res; -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_preferences.php b/prive/formulaires/configurer_preferences.php index dfee101096..4d86bbb9f4 100644 --- a/prive/formulaires/configurer_preferences.php +++ b/prive/formulaires/configurer_preferences.php @@ -110,4 +110,4 @@ function formulaires_configurer_preferences_traiter_dist() { } return array('message_ok' => _T('config_info_enregistree'), 'editable' => true); -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_previsualiseur.php b/prive/formulaires/configurer_previsualiseur.php index 066ebe314b..a2139e8592 100644 --- a/prive/formulaires/configurer_previsualiseur.php +++ b/prive/formulaires/configurer_previsualiseur.php @@ -35,4 +35,3 @@ function formulaires_configurer_previsualiseur_traiter_dist() { return $res; } - diff --git a/prive/formulaires/configurer_redacteurs.php b/prive/formulaires/configurer_redacteurs.php index 8f95abc56f..879f1d5657 100644 --- a/prive/formulaires/configurer_redacteurs.php +++ b/prive/formulaires/configurer_redacteurs.php @@ -48,4 +48,3 @@ function formulaires_configurer_redacteurs_traiter_dist() { return $res; } - diff --git a/prive/formulaires/configurer_relayeur.php b/prive/formulaires/configurer_relayeur.php index 1195b8ed48..57aa47afa3 100644 --- a/prive/formulaires/configurer_relayeur.php +++ b/prive/formulaires/configurer_relayeur.php @@ -146,4 +146,4 @@ function no_password_proxy_url($http_proxy) { } return $http_proxy; -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_rubriques.php b/prive/formulaires/configurer_rubriques.php index 7a621f62fe..3568d8d91f 100644 --- a/prive/formulaires/configurer_rubriques.php +++ b/prive/formulaires/configurer_rubriques.php @@ -41,4 +41,3 @@ function formulaires_configurer_rubriques_traiter_dist() { return $res; } - diff --git a/prive/formulaires/configurer_transcodeur.php b/prive/formulaires/configurer_transcodeur.php index 723445cdcc..4a5c23c839 100644 --- a/prive/formulaires/configurer_transcodeur.php +++ b/prive/formulaires/configurer_transcodeur.php @@ -42,4 +42,4 @@ function formulaires_configurer_transcodeur_traiter_dist() { $res['message_ok'] = _T('config_info_enregistree'); return $res; -} \ No newline at end of file +} diff --git a/prive/formulaires/configurer_visiteurs.php b/prive/formulaires/configurer_visiteurs.php index 2a6b85cc97..5d19d869cd 100644 --- a/prive/formulaires/configurer_visiteurs.php +++ b/prive/formulaires/configurer_visiteurs.php @@ -53,4 +53,3 @@ function formulaires_configurer_visiteurs_traiter_dist() { return $res; } - diff --git a/prive/formulaires/dater.php b/prive/formulaires/dater.php index 82aebf145c..f17ff1bf88 100644 --- a/prive/formulaires/dater.php +++ b/prive/formulaires/dater.php @@ -358,4 +358,4 @@ function dater_recuperer_heure_saisie($post) { } return array($regs[1], $regs[2]); -} \ No newline at end of file +} diff --git a/prive/formulaires/declarer_bases.php b/prive/formulaires/declarer_bases.php index 7ae2fca0ed..1b917700f8 100644 --- a/prive/formulaires/declarer_bases.php +++ b/prive/formulaires/declarer_bases.php @@ -228,4 +228,4 @@ function formulaires_declarer_bases_traiter_dist() { return array( 'message_ok' => _T('install_connect_ok', array('connect' => "" . _DECLARER_nom_connect . "")) ); -} \ No newline at end of file +} diff --git a/prive/formulaires/editer_article.php b/prive/formulaires/editer_article.php index 0660e63113..4c329b8ebe 100644 --- a/prive/formulaires/editer_article.php +++ b/prive/formulaires/editer_article.php @@ -200,4 +200,4 @@ function formulaires_editer_article_traiter_dist( return formulaires_editer_objet_traiter('article', $id_article, $id_rubrique, $lier_trad, $retour, $config_fonc, $row, $hidden); -} \ No newline at end of file +} diff --git a/prive/formulaires/editer_auteur.php b/prive/formulaires/editer_auteur.php index c3dbf0577f..04a03eafbc 100644 --- a/prive/formulaires/editer_auteur.php +++ b/prive/formulaires/editer_auteur.php @@ -327,4 +327,4 @@ function formulaires_editer_auteur_traiter_dist( } return $res; -} \ No newline at end of file +} diff --git a/prive/formulaires/editer_liens.php b/prive/formulaires/editer_liens.php index 70c4dc06ab..25c862c152 100644 --- a/prive/formulaires/editer_liens.php +++ b/prive/formulaires/editer_liens.php @@ -452,4 +452,3 @@ function lien_ajouter_liaisons($objet_source, $ids, $objet_lien, $idl, $qualifs) objet_associer(array($objet_source => $ids), array($objet_lien => $idl)); } } - diff --git a/prive/formulaires/editer_logo.php b/prive/formulaires/editer_logo.php index 7e1ecc9e23..3fd63d11fe 100644 --- a/prive/formulaires/editer_logo.php +++ b/prive/formulaires/editer_logo.php @@ -62,7 +62,7 @@ function formulaires_editer_logo_charger_dist($objet, $id_objet, $retour = '', $ $options = unserialize($options); } - if (!isset ($options['titre'])) { + if (!isset($options['titre'])) { $balise_img = chercher_filtre('balise_img'); $img = $balise_img(chemin_image('image-24.png'), "", 'cadre-icone'); $libelles = pipeline('libeller_logo', $GLOBALS['logo_libelles']); @@ -90,7 +90,7 @@ function formulaires_editer_logo_charger_dist($objet, $id_objet, $retour = '', $ $options['titre'] = $img . $libelle; } - if (!isset ($options['editable'])) { + if (!isset($options['editable'])) { include_spip('inc/autoriser'); $options['editable'] = autoriser('iconifier', $objet, $id_objet); } diff --git a/prive/formulaires/editer_rubrique.php b/prive/formulaires/editer_rubrique.php index 246631e690..8f39cc026f 100644 --- a/prive/formulaires/editer_rubrique.php +++ b/prive/formulaires/editer_rubrique.php @@ -184,4 +184,4 @@ function formulaires_editer_rubrique_traiter_dist( ) { return formulaires_editer_objet_traiter('rubrique', $id_rubrique, $id_parent, $lier_trad, $retour, $config_fonc, $row, $hidden); -} \ No newline at end of file +} diff --git a/prive/formulaires/inc-instituer_auteur_fonctions.php b/prive/formulaires/inc-instituer_auteur_fonctions.php index 3c208a16fb..60374695b2 100644 --- a/prive/formulaires/inc-instituer_auteur_fonctions.php +++ b/prive/formulaires/inc-instituer_auteur_fonctions.php @@ -72,4 +72,4 @@ jQuery(function(){ } return $res; -} \ No newline at end of file +} diff --git a/prive/formulaires/login.php b/prive/formulaires/login.php index 18ce0f5e36..a9279944ff 100644 --- a/prive/formulaires/login.php +++ b/prive/formulaires/login.php @@ -325,4 +325,4 @@ function formulaires_login_traiter_dist($cible = "", $login = "", $prive = null) } return $res; -} \ No newline at end of file +} diff --git a/prive/formulaires/recherche_ecrire.php b/prive/formulaires/recherche_ecrire.php index 7312b11bc0..18c2b9146b 100644 --- a/prive/formulaires/recherche_ecrire.php +++ b/prive/formulaires/recherche_ecrire.php @@ -48,4 +48,4 @@ function formulaires_recherche_ecrire_charger_dist($action = '', $class = '') { 'class' => $class, '_id_champ' => 'rechercher_' . substr(md5($action . $class), 0, 4), ); -} \ No newline at end of file +} diff --git a/prive/formulaires/rediriger_article.php b/prive/formulaires/rediriger_article.php index 41e2246fc7..0a4dc558ab 100644 --- a/prive/formulaires/rediriger_article.php +++ b/prive/formulaires/rediriger_article.php @@ -71,4 +71,4 @@ function formulaires_rediriger_article_traiter_dist($id_article, $retour = '') { 'message_ok' => ($url ? _T('info_redirection_activee') : _T('info_redirection_desactivee')) . $js, 'editable' => true ); -} \ No newline at end of file +} diff --git a/prive/formulaires/selecteur/generique_fonctions.php b/prive/formulaires/selecteur/generique_fonctions.php index cca621205a..750ad25c29 100644 --- a/prive/formulaires/selecteur/generique_fonctions.php +++ b/prive/formulaires/selecteur/generique_fonctions.php @@ -7,4 +7,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -include_spip('inc/filtres_selecteur_generique'); \ No newline at end of file +include_spip('inc/filtres_selecteur_generique'); diff --git a/prive/formulaires/traduire.php b/prive/formulaires/traduire.php index 72b1538b89..360f51d728 100644 --- a/prive/formulaires/traduire.php +++ b/prive/formulaires/traduire.php @@ -176,4 +176,4 @@ function formulaires_traduire_traiter_dist($objet, $id_objet, $retour = '', $tra } // provoquer la fermeture du forumlaire return $res; -} \ No newline at end of file +} diff --git a/prive/informer_auteur_fonctions.php b/prive/informer_auteur_fonctions.php index 3bc81edebc..bd16228a77 100644 --- a/prive/informer_auteur_fonctions.php +++ b/prive/informer_auteur_fonctions.php @@ -51,4 +51,4 @@ function informer_auteur($bof) { } return json_export($row); -} \ No newline at end of file +} diff --git a/prive/objets/liste/articles_fonctions.php b/prive/objets/liste/articles_fonctions.php index 6e56ac8d7e..2fa3b8ca43 100644 --- a/prive/objets/liste/articles_fonctions.php +++ b/prive/objets/liste/articles_fonctions.php @@ -44,4 +44,4 @@ function defaut_tri_par($par, $defaut) { $par = array_keys($defaut); return reset($par); -} \ No newline at end of file +} diff --git a/prive/objets/liste/auteurs_associer_fonctions.php b/prive/objets/liste/auteurs_associer_fonctions.php index bc8878a771..91b84cbdc9 100644 --- a/prive/objets/liste/auteurs_associer_fonctions.php +++ b/prive/objets/liste/auteurs_associer_fonctions.php @@ -14,4 +14,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -include_spip('prive/objets/liste/auteurs_fonctions'); \ No newline at end of file +include_spip('prive/objets/liste/auteurs_fonctions'); diff --git a/prive/objets/liste/auteurs_fonctions.php b/prive/objets/liste/auteurs_fonctions.php index 757c279a73..53dae98b47 100644 --- a/prive/objets/liste/auteurs_fonctions.php +++ b/prive/objets/liste/auteurs_fonctions.php @@ -161,4 +161,4 @@ function auteur_lien_messagerie($id_auteur, $en_ligne, $statut, $imessage, $emai return ''; } -} \ No newline at end of file +} diff --git a/prive/objets/liste/auteurs_lies_fonctions.php b/prive/objets/liste/auteurs_lies_fonctions.php index bc8878a771..91b84cbdc9 100644 --- a/prive/objets/liste/auteurs_lies_fonctions.php +++ b/prive/objets/liste/auteurs_lies_fonctions.php @@ -14,4 +14,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -include_spip('prive/objets/liste/auteurs_fonctions'); \ No newline at end of file +include_spip('prive/objets/liste/auteurs_fonctions'); diff --git a/prive/objets/liste/objets-en-edition_fonctions.php b/prive/objets/liste/objets-en-edition_fonctions.php index 0b0333c105..65c0463916 100644 --- a/prive/objets/liste/objets-en-edition_fonctions.php +++ b/prive/objets/liste/objets-en-edition_fonctions.php @@ -14,4 +14,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -include_spip('inc/drapeau_edition'); \ No newline at end of file +include_spip('inc/drapeau_edition'); diff --git a/prive/objets/liste/objets-trad_fonctions.php b/prive/objets/liste/objets-trad_fonctions.php index 992c1329cb..959aa581ec 100644 --- a/prive/objets/liste/objets-trad_fonctions.php +++ b/prive/objets/liste/objets-trad_fonctions.php @@ -22,4 +22,4 @@ function lister_traductions($id_trad, $objet) { lang_select(); return $rows; -} \ No newline at end of file +} diff --git a/prive/objets/liste/visiteurs_fonctions.php b/prive/objets/liste/visiteurs_fonctions.php index bc8878a771..91b84cbdc9 100644 --- a/prive/objets/liste/visiteurs_fonctions.php +++ b/prive/objets/liste/visiteurs_fonctions.php @@ -14,4 +14,4 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -include_spip('prive/objets/liste/auteurs_fonctions'); \ No newline at end of file +include_spip('prive/objets/liste/auteurs_fonctions'); diff --git a/prive/rss/a_suivre_fonctions.php b/prive/rss/a_suivre_fonctions.php index bbf72b62d0..d583b631f7 100644 --- a/prive/rss/a_suivre_fonctions.php +++ b/prive/rss/a_suivre_fonctions.php @@ -19,4 +19,4 @@ function trier_rss($texte) { } return $texte; -} \ No newline at end of file +} diff --git a/spip.php b/spip.php index 6a569096ee..f308f17557 100644 --- a/spip.php +++ b/spip.php @@ -21,4 +21,4 @@ if (isset($_GET['fond'])) { } # au travail... -include _DIR_RESTREINT_ABS.'public.php'; \ No newline at end of file +include _DIR_RESTREINT_ABS.'public.php';