From aa27962bd9f8944507b154f4bbe72358055fd6b2 Mon Sep 17 00:00:00 2001 From: erational <erational@erational.org> Date: Sun, 10 May 2015 12:17:44 +0000 Subject: [PATCH] remplacement des http://doc.spip.org par http://code.spip.net (Francky) passage du copyright en 2015 --- ecrire/action/activer_plugins.php | 2 +- ecrire/action/ajouter_lien.php | 2 +- ecrire/action/annuler_job.php | 2 +- ecrire/action/auth.php | 2 +- ecrire/action/calculer_taille_cache.php | 2 +- ecrire/action/confirmer_email.php | 2 +- ecrire/action/confirmer_inscription.php | 2 +- ecrire/action/converser.php | 2 +- ecrire/action/cookie.php | 2 +- ecrire/action/debloquer_edition.php | 2 +- ecrire/action/desinstaller_plugin.php | 2 +- ecrire/action/editer_article.php | 4 +- ecrire/action/editer_auteur.php | 2 +- ecrire/action/editer_logo.php | 2 +- ecrire/action/editer_objet.php | 2 +- ecrire/action/editer_rubrique.php | 2 +- ecrire/action/etre_webmestre.php | 2 +- ecrire/action/forcer_job.php | 2 +- ecrire/action/inscrire_auteur.php | 4 +- ecrire/action/instituer_langue_objet.php | 2 +- ecrire/action/instituer_langue_rubrique.php | 2 +- ecrire/action/instituer_objet.php | 2 +- ecrire/action/logout.php | 2 +- ecrire/action/menu_rubriques.php | 2 +- ecrire/action/preferer.php | 2 +- ecrire/action/purger.php | 2 +- ecrire/action/purger_queue.php | 2 +- ecrire/action/redirect.php | 2 +- ecrire/action/referencer_traduction.php | 2 +- ecrire/action/session.php | 2 +- ecrire/action/super_cron.php | 2 +- ecrire/action/supprimer_lien.php | 2 +- ecrire/action/supprimer_rubrique.php | 2 +- ecrire/action/tester.php | 2 +- ecrire/action/tester_taille.php | 2 +- ecrire/auth/ldap.php | 2 +- ecrire/auth/spip.php | 2 +- ecrire/balise/configurer_metas.php | 2 +- ecrire/balise/formulaire_.php | 2 +- ecrire/balise/formulaire_admin.php | 2 +- ecrire/balise/formulaire_ecrire_auteur.php | 2 +- ecrire/balise/formulaire_inscription.php | 2 +- ecrire/balise/info_.php | 2 +- ecrire/balise/login_prive.php | 2 +- ecrire/balise/login_public.php | 2 +- ecrire/balise/logo_.php | 2 +- ecrire/balise/menu_lang.php | 2 +- ecrire/balise/menu_lang_ecrire.php | 2 +- ecrire/balise/url_.php | 2 +- ecrire/balise/url_logout.php | 2 +- ecrire/base/abstract_sql.php | 2 +- ecrire/base/auxiliaires.php | 2 +- ecrire/base/connect_sql.php | 2 +- ecrire/base/create.php | 2 +- ecrire/base/delete_all.php | 2 +- ecrire/base/dump.php | 2 +- ecrire/base/objets.php | 2 +- ecrire/base/repair.php | 2 +- ecrire/base/serial.php | 2 +- ecrire/base/trouver_table.php | 2 +- ecrire/base/upgrade.php | 2 +- ecrire/charsets/iso-8859-15.php | 2 +- ecrire/charsets/iso-8859-6.php | 2 +- ecrire/charsets/iso-8859-9.php | 2 +- ecrire/charsets/translitcomplexe.php | 2 +- ecrire/exec/403.php | 2 +- ecrire/exec/404.php | 2 +- ecrire/exec/admin_plugin.php | 2 +- ecrire/exec/base_delete_all.php | 2 +- ecrire/exec/base_repair.php | 2 +- ecrire/exec/demande_mise_a_jour.php | 2 +- ecrire/exec/fond.php | 2 +- ecrire/exec/fond_monobloc.php | 2 +- ecrire/exec/informer.php | 2 +- ecrire/exec/install.php | 2 +- ecrire/exec/plonger.php | 2 +- ecrire/exec/puce_statut.php | 2 +- ecrire/exec/rechercher.php | 2 +- ecrire/exec/selectionner.php | 2 +- ecrire/exec/upgrade.php | 2 +- ecrire/exec/valider_xml.php | 2 +- ecrire/genie/mail.php | 2 +- ecrire/genie/maintenance.php | 2 +- ecrire/genie/mise_a_jour.php | 2 +- ecrire/genie/optimiser.php | 2 +- ecrire/inc/acces.php | 2 +- ecrire/inc/actions.php | 2 +- ecrire/inc/admin.php | 2 +- ecrire/inc/aider.php | 2 +- ecrire/inc/auth.php | 2 +- ecrire/inc/autoriser.php | 4 +- ecrire/inc/bandeau.php | 2 +- ecrire/inc/boutons.php | 2 +- ecrire/inc/charsets.php | 2 +- ecrire/inc/chercher_logo.php | 2 +- ecrire/inc/chercher_rubrique.php | 2 +- ecrire/inc/commencer_page.php | 2 +- ecrire/inc/config.php | 2 +- ecrire/inc/cookie.php | 2 +- ecrire/inc/couleurs.php | 2 +- ecrire/inc/csv.php | 2 +- ecrire/inc/cvt_autosave.php | 2 +- ecrire/inc/cvt_configurer.php | 2 +- ecrire/inc/cvt_multietapes.php | 2 +- ecrire/inc/distant.php | 2 +- ecrire/inc/documents.php | 2 +- ecrire/inc/drapeau_edition.php | 2 +- ecrire/inc/editer.php | 2 +- ecrire/inc/envoyer_mail.php | 2 +- ecrire/inc/exporter_csv.php | 2 +- ecrire/inc/filtres.php | 126 +++++++++--------- ecrire/inc/filtres_boites.php | 2 +- ecrire/inc/filtres_ecrire.php | 6 +- ecrire/inc/filtres_images_lib_mini.php | 14 +- ecrire/inc/filtres_images_mini.php | 10 +- ecrire/inc/filtres_mime.php | 8 +- ecrire/inc/filtres_mini.php | 2 +- ecrire/inc/flock.php | 2 +- ecrire/inc/genie.php | 8 +- ecrire/inc/headers.php | 6 +- ecrire/inc/icone_renommer.php | 2 +- ecrire/inc/iconifier.php | 2 +- ecrire/inc/importer_csv.php | 2 +- ecrire/inc/informer.php | 4 +- ecrire/inc/install.php | 18 +-- ecrire/inc/invalideur.php | 18 +-- ecrire/inc/journal.php | 2 +- ecrire/inc/json.php | 6 +- ecrire/inc/lang.php | 12 +- ecrire/inc/lang_liste.php | 2 +- ecrire/inc/layer.php | 12 +- ecrire/inc/lien.php | 28 ++-- ecrire/inc/lien_court.php | 2 +- ecrire/inc/lister_objets.php | 2 +- ecrire/inc/log.php | 2 +- ecrire/inc/mail.php | 2 +- ecrire/inc/math.php | 6 +- ecrire/inc/meta.php | 6 +- ecrire/inc/minipres.php | 2 +- ecrire/inc/modifier.php | 2 +- ecrire/inc/notifications.php | 2 +- ecrire/inc/pipelines.php | 2 +- ecrire/inc/pipelines_ecrire.php | 6 +- ecrire/inc/plonger.php | 4 +- ecrire/inc/plugin.php | 10 +- ecrire/inc/precharger_article.php | 2 +- ecrire/inc/precharger_objet.php | 2 +- ecrire/inc/prepare_recherche.php | 2 +- .../preselectionner_parent_nouvel_objet.php | 2 +- ecrire/inc/presentation.php | 18 +-- ecrire/inc/presentation_mini.php | 2 +- ecrire/inc/presenter_enfants.php | 2 +- ecrire/inc/puce_statut.php | 10 +- ecrire/inc/queue.php | 2 +- ecrire/inc/recherche_to_array.php | 2 +- ecrire/inc/rechercher.php | 10 +- ecrire/inc/rubriques.php | 2 +- ecrire/inc/securiser_action.php | 4 +- ecrire/inc/selectionner.php | 2 +- ecrire/inc/session.php | 10 +- ecrire/inc/simplexml_to_array.php | 2 +- ecrire/inc/surligne.php | 2 +- ecrire/inc/texte.php | 2 +- ecrire/inc/texte_mini.php | 22 +-- ecrire/inc/traduire.php | 2 +- ecrire/inc/urls.php | 2 +- ecrire/inc/utils.php | 46 +++---- ecrire/inc/xml.php | 8 +- ecrire/inc_version.php | 4 +- ecrire/index.php | 2 +- ecrire/install/etape_.php | 2 +- ecrire/install/etape_1.php | 2 +- ecrire/install/etape_2.php | 8 +- ecrire/install/etape_3.php | 10 +- ecrire/install/etape_3b.php | 2 +- ecrire/install/etape_4.php | 4 +- ecrire/install/etape_chmod.php | 6 +- ecrire/install/etape_fin.php | 4 +- ecrire/install/etape_ldap1.php | 4 +- ecrire/install/etape_ldap2.php | 4 +- ecrire/install/etape_ldap3.php | 4 +- ecrire/install/etape_ldap4.php | 6 +- ecrire/install/etape_ldap5.php | 4 +- ecrire/iterateur/condition.php | 2 +- ecrire/iterateur/data.php | 2 +- ecrire/iterateur/php.php | 2 +- ecrire/iterateur/pour.php | 2 +- ecrire/iterateur/sql.php | 2 +- ecrire/maj/svn10000.php | 2 +- ecrire/maj/v009.php | 2 +- ecrire/maj/v010.php | 2 +- ecrire/maj/v011.php | 2 +- ecrire/maj/v012.php | 2 +- ecrire/maj/v013.php | 2 +- ecrire/maj/v014.php | 2 +- ecrire/maj/v015.php | 2 +- ecrire/maj/v016.php | 2 +- ecrire/maj/v017.php | 2 +- ecrire/maj/v018.php | 2 +- ecrire/maj/v019.php | 2 +- ecrire/maj/v019_pre193.php | 2 +- ecrire/notifications/instituerarticle.php | 2 +- ecrire/plugins/afficher_liste.php | 6 +- ecrire/plugins/afficher_nom_plugin.php | 4 +- ecrire/plugins/afficher_plugin.php | 8 +- ecrire/plugins/afficher_repertoires.php | 8 +- ecrire/plugins/extraire_boutons.php | 2 +- ecrire/plugins/extraire_pipelines.php | 2 +- ecrire/plugins/get_infos.php | 2 +- ecrire/plugins/infos_paquet.php | 2 +- ecrire/plugins/infos_plugin.php | 2 +- ecrire/plugins/installer.php | 4 +- ecrire/plugins/verifie_conformite.php | 4 +- ecrire/prive.php | 2 +- ecrire/public.php | 2 +- ecrire/public/admin.php | 2 +- ecrire/public/aiguiller.php | 10 +- ecrire/public/assembler.php | 24 ++-- ecrire/public/balises.php | 2 +- ecrire/public/boucles.php | 2 +- ecrire/public/cacher.php | 16 +-- ecrire/public/compiler.php | 16 +-- ecrire/public/composer.php | 20 +-- ecrire/public/criteres.php | 22 +-- ecrire/public/debusquer.php | 16 +-- ecrire/public/decompiler.php | 2 +- ecrire/public/evaluer_page.php | 2 +- ecrire/public/format_html.php | 2 +- ecrire/public/interfaces.php | 4 +- ecrire/public/iterateur.php | 2 +- ecrire/public/jointures.php | 10 +- ecrire/public/normaliser.php | 2 +- ecrire/public/parametrer.php | 6 +- ecrire/public/phraser_html.php | 22 +-- ecrire/public/quete.php | 10 +- ecrire/public/references.php | 12 +- ecrire/public/sandbox.php | 2 +- ecrire/public/styliser.php | 2 +- ecrire/public/styliser_par_z.php | 2 +- ecrire/public/tracer.php | 8 +- ecrire/req/mysql.php | 2 +- ecrire/req/pg.exp.php | 94 ++++++------- ecrire/req/sqlite2.php | 6 +- ecrire/req/sqlite3.php | 6 +- ecrire/req/sqlite_fonctions.php | 44 +++--- ecrire/req/sqlite_generique.php | 16 +-- ecrire/typographie/en.php | 2 +- ecrire/typographie/fr.php | 2 +- ecrire/urls/page.php | 6 +- ecrire/xml/analyser_dtd.php | 26 ++-- ecrire/xml/indenter.php | 14 +- ecrire/xml/interfaces.php | 2 +- ecrire/xml/sax.php | 20 +-- ecrire/xml/valider.php | 30 ++--- prive/aide_body.css | 2 +- prive/aide_menu.html | 2 +- .../hierarchie/objet_fonctions.php | 2 +- prive/formulaires/configurer_annonces.php | 2 +- prive/formulaires/configurer_articles.php | 2 +- prive/formulaires/configurer_avertisseur.php | 2 +- prive/formulaires/configurer_flux.php | 2 +- prive/formulaires/configurer_identite.php | 2 +- prive/formulaires/configurer_langage.php | 2 +- prive/formulaires/configurer_langue.php | 2 +- prive/formulaires/configurer_logos.php | 2 +- prive/formulaires/configurer_metas.php | 2 +- prive/formulaires/configurer_moderniseur.php | 2 +- .../formulaires/configurer_multilinguisme.php | 2 +- prive/formulaires/configurer_preferences.php | 2 +- .../formulaires/configurer_previsualiseur.php | 2 +- prive/formulaires/configurer_redacteurs.php | 2 +- prive/formulaires/configurer_reducteur.php | 2 +- prive/formulaires/configurer_relayeur.php | 6 +- prive/formulaires/configurer_rubriques.php | 2 +- prive/formulaires/configurer_transcodeur.php | 2 +- prive/formulaires/configurer_visiteurs.php | 2 +- prive/formulaires/dater.php | 2 +- prive/formulaires/declarer_bases.php | 2 +- prive/formulaires/editer_article.php | 2 +- prive/formulaires/editer_liens.php | 2 +- prive/formulaires/editer_logo.php | 2 +- prive/formulaires/editer_rubrique.php | 2 +- prive/formulaires/instituer_objet.php | 2 +- prive/formulaires/login.php | 2 +- prive/formulaires/recherche_ecrire.php | 2 +- prive/formulaires/rediriger_article.php | 2 +- prive/formulaires/traduire.php | 2 +- prive/informer_auteur_fonctions.php | 2 +- prive/objets/liste/articles_fonctions.php | 2 +- .../liste/auteurs_associer_fonctions.php | 2 +- prive/objets/liste/auteurs_fonctions.php | 2 +- prive/objets/liste/auteurs_lies_fonctions.php | 2 +- .../liste/objets-en-edition_fonctions.php | 2 +- prive/objets/liste/objets-trad_fonctions.php | 2 +- prive/objets/liste/visiteurs_fonctions.php | 2 +- prive/squelettes/contenu/aide_fonctions.php | 2 +- spip.php | 2 +- 297 files changed, 727 insertions(+), 727 deletions(-) diff --git a/ecrire/action/activer_plugins.php b/ecrire/action/activer_plugins.php index 842ad4ed99..4674f8016a 100644 --- a/ecrire/action/activer_plugins.php +++ b/ecrire/action/activer_plugins.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/ajouter_lien.php b/ecrire/action/ajouter_lien.php index 978adbb851..0d55c3e0bc 100644 --- a/ecrire/action/ajouter_lien.php +++ b/ecrire/action/ajouter_lien.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/annuler_job.php b/ecrire/action/annuler_job.php index 1fbfcdf31b..668977799b 100644 --- a/ecrire/action/annuler_job.php +++ b/ecrire/action/annuler_job.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/auth.php b/ecrire/action/auth.php index fa4680d948..bad372ce02 100644 --- a/ecrire/action/auth.php +++ b/ecrire/action/auth.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/calculer_taille_cache.php b/ecrire/action/calculer_taille_cache.php index 97741cd9ba..e5fefa9d86 100644 --- a/ecrire/action/calculer_taille_cache.php +++ b/ecrire/action/calculer_taille_cache.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/confirmer_email.php b/ecrire/action/confirmer_email.php index 430d7433a2..764b3ac69e 100644 --- a/ecrire/action/confirmer_email.php +++ b/ecrire/action/confirmer_email.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/confirmer_inscription.php b/ecrire/action/confirmer_inscription.php index f1b2e8c16a..4864cf42d8 100644 --- a/ecrire/action/confirmer_inscription.php +++ b/ecrire/action/confirmer_inscription.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/converser.php b/ecrire/action/converser.php index b99b870001..e5e3e87a82 100644 --- a/ecrire/action/converser.php +++ b/ecrire/action/converser.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/cookie.php b/ecrire/action/cookie.php index 320eb71b99..165dd69e1f 100644 --- a/ecrire/action/cookie.php +++ b/ecrire/action/cookie.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/debloquer_edition.php b/ecrire/action/debloquer_edition.php index f51f7958bc..7a0b995771 100644 --- a/ecrire/action/debloquer_edition.php +++ b/ecrire/action/debloquer_edition.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/desinstaller_plugin.php b/ecrire/action/desinstaller_plugin.php index d4820df932..0f0e5b5024 100644 --- a/ecrire/action/desinstaller_plugin.php +++ b/ecrire/action/desinstaller_plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/editer_article.php b/ecrire/action/editer_article.php index de57f71f2c..6d92ccb76f 100644 --- a/ecrire/action/editer_article.php +++ b/ecrire/action/editer_article.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -27,7 +27,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * à condition que la rubrique parente (id_rubrique) puisse être obtenue * (avec _request()) * - * @link http://doc.spip.org/@action_editer_article_dist + * @link http://code.spip.net/@action_editer_article_dist * @uses article_inserer() * @uses article_modifier() * diff --git a/ecrire/action/editer_auteur.php b/ecrire/action/editer_auteur.php index 10f2a5f94f..a86543771d 100644 --- a/ecrire/action/editer_auteur.php +++ b/ecrire/action/editer_auteur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/editer_logo.php b/ecrire/action/editer_logo.php index 433bbf7fc6..f86bc40006 100644 --- a/ecrire/action/editer_logo.php +++ b/ecrire/action/editer_logo.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/editer_objet.php b/ecrire/action/editer_objet.php index 90842e12df..1378ee0881 100644 --- a/ecrire/action/editer_objet.php +++ b/ecrire/action/editer_objet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/editer_rubrique.php b/ecrire/action/editer_rubrique.php index 7222ef7df2..f99ecfbeef 100644 --- a/ecrire/action/editer_rubrique.php +++ b/ecrire/action/editer_rubrique.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/etre_webmestre.php b/ecrire/action/etre_webmestre.php index 5b1c3f6630..6c71cfa592 100644 --- a/ecrire/action/etre_webmestre.php +++ b/ecrire/action/etre_webmestre.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/forcer_job.php b/ecrire/action/forcer_job.php index 8d00be2a88..d3b8030b86 100644 --- a/ecrire/action/forcer_job.php +++ b/ecrire/action/forcer_job.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/inscrire_auteur.php b/ecrire/action/inscrire_auteur.php index 589312f419..4904140fae 100644 --- a/ecrire/action/inscrire_auteur.php +++ b/ecrire/action/inscrire_auteur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -163,7 +163,7 @@ function inscription_nouveau($desc) /** - * http://doc.spip.org/@test_login + * http://code.spip.net/@test_login * * @param string $nom * @param string $mail diff --git a/ecrire/action/instituer_langue_objet.php b/ecrire/action/instituer_langue_objet.php index 22c1526ae1..39cfc4e3d8 100644 --- a/ecrire/action/instituer_langue_objet.php +++ b/ecrire/action/instituer_langue_objet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/instituer_langue_rubrique.php b/ecrire/action/instituer_langue_rubrique.php index b2af9a5f5d..19a3a5e125 100644 --- a/ecrire/action/instituer_langue_rubrique.php +++ b/ecrire/action/instituer_langue_rubrique.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/instituer_objet.php b/ecrire/action/instituer_objet.php index 5ef196e65d..2b0cedb590 100644 --- a/ecrire/action/instituer_objet.php +++ b/ecrire/action/instituer_objet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/logout.php b/ecrire/action/logout.php index 93dd9f2cf1..940faf2e76 100644 --- a/ecrire/action/logout.php +++ b/ecrire/action/logout.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/menu_rubriques.php b/ecrire/action/menu_rubriques.php index e598e397ac..ec3952cd44 100644 --- a/ecrire/action/menu_rubriques.php +++ b/ecrire/action/menu_rubriques.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/preferer.php b/ecrire/action/preferer.php index 31debcb3d5..27fba0e6db 100644 --- a/ecrire/action/preferer.php +++ b/ecrire/action/preferer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/purger.php b/ecrire/action/purger.php index 1f5984a002..fbbd07ca14 100644 --- a/ecrire/action/purger.php +++ b/ecrire/action/purger.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/purger_queue.php b/ecrire/action/purger_queue.php index 19682f7366..6d13cf6bb3 100644 --- a/ecrire/action/purger_queue.php +++ b/ecrire/action/purger_queue.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/redirect.php b/ecrire/action/redirect.php index b6d3daa834..bca287f117 100644 --- a/ecrire/action/redirect.php +++ b/ecrire/action/redirect.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/referencer_traduction.php b/ecrire/action/referencer_traduction.php index f984168435..f196a8f897 100644 --- a/ecrire/action/referencer_traduction.php +++ b/ecrire/action/referencer_traduction.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/session.php b/ecrire/action/session.php index 2acdb54d42..38ef8a9c7b 100644 --- a/ecrire/action/session.php +++ b/ecrire/action/session.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/super_cron.php b/ecrire/action/super_cron.php index d525563921..5b232279e3 100644 --- a/ecrire/action/super_cron.php +++ b/ecrire/action/super_cron.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/supprimer_lien.php b/ecrire/action/supprimer_lien.php index 0b99c4446e..59d8d39906 100644 --- a/ecrire/action/supprimer_lien.php +++ b/ecrire/action/supprimer_lien.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/supprimer_rubrique.php b/ecrire/action/supprimer_rubrique.php index b57e2c8c64..66c7db98fc 100644 --- a/ecrire/action/supprimer_rubrique.php +++ b/ecrire/action/supprimer_rubrique.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/tester.php b/ecrire/action/tester.php index cf94346ec6..41a35080a7 100644 --- a/ecrire/action/tester.php +++ b/ecrire/action/tester.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/action/tester_taille.php b/ecrire/action/tester_taille.php index 9ff3a4a1cc..b41dab9e80 100644 --- a/ecrire/action/tester_taille.php +++ b/ecrire/action/tester_taille.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/auth/ldap.php b/ecrire/auth/ldap.php index caf1551a20..0f3e58cf48 100644 --- a/ecrire/auth/ldap.php +++ b/ecrire/auth/ldap.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/auth/spip.php b/ecrire/auth/spip.php index 6acf64e90a..a773ffb6b9 100644 --- a/ecrire/auth/spip.php +++ b/ecrire/auth/spip.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/configurer_metas.php b/ecrire/balise/configurer_metas.php index 1b0321bb3c..d147c7d304 100644 --- a/ecrire/balise/configurer_metas.php +++ b/ecrire/balise/configurer_metas.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/formulaire_.php b/ecrire/balise/formulaire_.php index 81394d1ad9..7a27408bda 100644 --- a/ecrire/balise/formulaire_.php +++ b/ecrire/balise/formulaire_.php @@ -2,7 +2,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/formulaire_admin.php b/ecrire/balise/formulaire_admin.php index c9013e5c9b..67cf2ea379 100644 --- a/ecrire/balise/formulaire_admin.php +++ b/ecrire/balise/formulaire_admin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/formulaire_ecrire_auteur.php b/ecrire/balise/formulaire_ecrire_auteur.php index 0530970015..16a2dc5425 100644 --- a/ecrire/balise/formulaire_ecrire_auteur.php +++ b/ecrire/balise/formulaire_ecrire_auteur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/formulaire_inscription.php b/ecrire/balise/formulaire_inscription.php index b0f0c4d4e6..ab3ad82d85 100644 --- a/ecrire/balise/formulaire_inscription.php +++ b/ecrire/balise/formulaire_inscription.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/info_.php b/ecrire/balise/info_.php index 08fc9fe540..f2ee7f737f 100644 --- a/ecrire/balise/info_.php +++ b/ecrire/balise/info_.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/login_prive.php b/ecrire/balise/login_prive.php index c85968f089..a0e3b087a3 100644 --- a/ecrire/balise/login_prive.php +++ b/ecrire/balise/login_prive.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/login_public.php b/ecrire/balise/login_public.php index 00841c4988..c1096f8f1c 100644 --- a/ecrire/balise/login_public.php +++ b/ecrire/balise/login_public.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/logo_.php b/ecrire/balise/logo_.php index 872dbe421f..ae38da9ee1 100644 --- a/ecrire/balise/logo_.php +++ b/ecrire/balise/logo_.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/menu_lang.php b/ecrire/balise/menu_lang.php index 3ec520abc8..ce84e9f400 100644 --- a/ecrire/balise/menu_lang.php +++ b/ecrire/balise/menu_lang.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/menu_lang_ecrire.php b/ecrire/balise/menu_lang_ecrire.php index 257c5f1245..f55b608b23 100644 --- a/ecrire/balise/menu_lang_ecrire.php +++ b/ecrire/balise/menu_lang_ecrire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/url_.php b/ecrire/balise/url_.php index bc31eae84f..90ca09af07 100644 --- a/ecrire/balise/url_.php +++ b/ecrire/balise/url_.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/balise/url_logout.php b/ecrire/balise/url_logout.php index 302bbd23db..0717360843 100644 --- a/ecrire/balise/url_logout.php +++ b/ecrire/balise/url_logout.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/abstract_sql.php b/ecrire/base/abstract_sql.php index 1cee75f938..77c7ea26e2 100644 --- a/ecrire/base/abstract_sql.php +++ b/ecrire/base/abstract_sql.php @@ -3,7 +3,7 @@ /* *************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/auxiliaires.php b/ecrire/base/auxiliaires.php index f6948b5cd3..5de1615a70 100644 --- a/ecrire/base/auxiliaires.php +++ b/ecrire/base/auxiliaires.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/connect_sql.php b/ecrire/base/connect_sql.php index 6302453fe4..49e574dc1f 100644 --- a/ecrire/base/connect_sql.php +++ b/ecrire/base/connect_sql.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/create.php b/ecrire/base/create.php index 61d9c624b4..24fdabc30b 100644 --- a/ecrire/base/create.php +++ b/ecrire/base/create.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/delete_all.php b/ecrire/base/delete_all.php index 2ac29d62ec..a0a71f080a 100644 --- a/ecrire/base/delete_all.php +++ b/ecrire/base/delete_all.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/dump.php b/ecrire/base/dump.php index ae876d7be4..fa3e6bfd4d 100644 --- a/ecrire/base/dump.php +++ b/ecrire/base/dump.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/objets.php b/ecrire/base/objets.php index 9c1d3cf5e3..8dfec73b25 100644 --- a/ecrire/base/objets.php +++ b/ecrire/base/objets.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/repair.php b/ecrire/base/repair.php index 0087545775..471d57e021 100644 --- a/ecrire/base/repair.php +++ b/ecrire/base/repair.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/serial.php b/ecrire/base/serial.php index ecb82289e2..4f7ef4074f 100644 --- a/ecrire/base/serial.php +++ b/ecrire/base/serial.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/trouver_table.php b/ecrire/base/trouver_table.php index 68786ca37b..fd5853919a 100644 --- a/ecrire/base/trouver_table.php +++ b/ecrire/base/trouver_table.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/base/upgrade.php b/ecrire/base/upgrade.php index 2b2e31c600..da0eb5b19b 100644 --- a/ecrire/base/upgrade.php +++ b/ecrire/base/upgrade.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/charsets/iso-8859-15.php b/ecrire/charsets/iso-8859-15.php index 99ba8eadd6..d94437d002 100644 --- a/ecrire/charsets/iso-8859-15.php +++ b/ecrire/charsets/iso-8859-15.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/charsets/iso-8859-6.php b/ecrire/charsets/iso-8859-6.php index 2e760307b0..ee2ac3ced4 100644 --- a/ecrire/charsets/iso-8859-6.php +++ b/ecrire/charsets/iso-8859-6.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/charsets/iso-8859-9.php b/ecrire/charsets/iso-8859-9.php index ab9ac6c551..7c734475fb 100644 --- a/ecrire/charsets/iso-8859-9.php +++ b/ecrire/charsets/iso-8859-9.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/charsets/translitcomplexe.php b/ecrire/charsets/translitcomplexe.php index 0e26d7d7ba..49953fb94e 100644 --- a/ecrire/charsets/translitcomplexe.php +++ b/ecrire/charsets/translitcomplexe.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/403.php b/ecrire/exec/403.php index f69a15f397..9dddea4928 100644 --- a/ecrire/exec/403.php +++ b/ecrire/exec/403.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/404.php b/ecrire/exec/404.php index 6baae1bf9c..1688938ded 100644 --- a/ecrire/exec/404.php +++ b/ecrire/exec/404.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/admin_plugin.php b/ecrire/exec/admin_plugin.php index 467953124e..8c522bfc2f 100644 --- a/ecrire/exec/admin_plugin.php +++ b/ecrire/exec/admin_plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/base_delete_all.php b/ecrire/exec/base_delete_all.php index 457b9aef47..9911e6288a 100644 --- a/ecrire/exec/base_delete_all.php +++ b/ecrire/exec/base_delete_all.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/base_repair.php b/ecrire/exec/base_repair.php index 6956b63ef0..08027b93b4 100644 --- a/ecrire/exec/base_repair.php +++ b/ecrire/exec/base_repair.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/demande_mise_a_jour.php b/ecrire/exec/demande_mise_a_jour.php index 0198b40193..fc85e8cfef 100644 --- a/ecrire/exec/demande_mise_a_jour.php +++ b/ecrire/exec/demande_mise_a_jour.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/fond.php b/ecrire/exec/fond.php index 4b2844b1af..4e4edec9af 100644 --- a/ecrire/exec/fond.php +++ b/ecrire/exec/fond.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/fond_monobloc.php b/ecrire/exec/fond_monobloc.php index 67218872c0..0aae94136b 100644 --- a/ecrire/exec/fond_monobloc.php +++ b/ecrire/exec/fond_monobloc.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/informer.php b/ecrire/exec/informer.php index 207421d3c8..420e41585f 100644 --- a/ecrire/exec/informer.php +++ b/ecrire/exec/informer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/install.php b/ecrire/exec/install.php index 3c7adab933..df2c9f85e9 100644 --- a/ecrire/exec/install.php +++ b/ecrire/exec/install.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/plonger.php b/ecrire/exec/plonger.php index 29e72c63dd..782399cf06 100644 --- a/ecrire/exec/plonger.php +++ b/ecrire/exec/plonger.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/puce_statut.php b/ecrire/exec/puce_statut.php index 6f4eb88fd8..bed10c07b1 100644 --- a/ecrire/exec/puce_statut.php +++ b/ecrire/exec/puce_statut.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/rechercher.php b/ecrire/exec/rechercher.php index 9c6fc48917..ecb8598904 100644 --- a/ecrire/exec/rechercher.php +++ b/ecrire/exec/rechercher.php @@ -2,7 +2,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/selectionner.php b/ecrire/exec/selectionner.php index 04c2c216e0..a760b2edad 100644 --- a/ecrire/exec/selectionner.php +++ b/ecrire/exec/selectionner.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/upgrade.php b/ecrire/exec/upgrade.php index 8f0a6f184d..106482d32e 100644 --- a/ecrire/exec/upgrade.php +++ b/ecrire/exec/upgrade.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/exec/valider_xml.php b/ecrire/exec/valider_xml.php index 916f36a37a..acaa7c7884 100644 --- a/ecrire/exec/valider_xml.php +++ b/ecrire/exec/valider_xml.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/genie/mail.php b/ecrire/genie/mail.php index 17824c5a58..fc636b2bde 100644 --- a/ecrire/genie/mail.php +++ b/ecrire/genie/mail.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/genie/maintenance.php b/ecrire/genie/maintenance.php index 432d913ed8..6a15b45bd5 100644 --- a/ecrire/genie/maintenance.php +++ b/ecrire/genie/maintenance.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/genie/mise_a_jour.php b/ecrire/genie/mise_a_jour.php index fa432030e3..8aa51d3eb7 100644 --- a/ecrire/genie/mise_a_jour.php +++ b/ecrire/genie/mise_a_jour.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/genie/optimiser.php b/ecrire/genie/optimiser.php index 703300d0c8..ecf1120cfe 100644 --- a/ecrire/genie/optimiser.php +++ b/ecrire/genie/optimiser.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/acces.php b/ecrire/inc/acces.php index 71ce488f5e..7fe6560e64 100644 --- a/ecrire/inc/acces.php +++ b/ecrire/inc/acces.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/actions.php b/ecrire/inc/actions.php index 99f04be984..1dd7283ab3 100644 --- a/ecrire/inc/actions.php +++ b/ecrire/inc/actions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/admin.php b/ecrire/inc/admin.php index e54b71f17c..c496b8f82e 100644 --- a/ecrire/inc/admin.php +++ b/ecrire/inc/admin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/aider.php b/ecrire/inc/aider.php index f3d1dd8840..c510c2d908 100644 --- a/ecrire/inc/aider.php +++ b/ecrire/inc/aider.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/auth.php b/ecrire/inc/auth.php index 48389b4020..31fd5f8bee 100644 --- a/ecrire/inc/auth.php +++ b/ecrire/inc/auth.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php index 7a6d0942bc..a94ce8657c 100644 --- a/ecrire/inc/autoriser.php +++ b/ecrire/inc/autoriser.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -203,7 +203,7 @@ $GLOBALS['autoriser_exception']=array(); /** * Accorder une autorisation exceptionnel pour le hit en cours, ou la revoquer * - * http://doc.spip.org/@autoriser_exception + * http://code.spip.net/@autoriser_exception * * @param string $faire Action demandée * @param string $type Type d'objet sur lequel appliquer l'action diff --git a/ecrire/inc/bandeau.php b/ecrire/inc/bandeau.php index b2db851b6e..f74a01f684 100644 --- a/ecrire/inc/bandeau.php +++ b/ecrire/inc/bandeau.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/boutons.php b/ecrire/inc/boutons.php index 17be01f275..5706cbb2ba 100644 --- a/ecrire/inc/boutons.php +++ b/ecrire/inc/boutons.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/charsets.php b/ecrire/inc/charsets.php index 861b891154..e17318b07d 100644 --- a/ecrire/inc/charsets.php +++ b/ecrire/inc/charsets.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/chercher_logo.php b/ecrire/inc/chercher_logo.php index 1ae6adbf05..7fdc6765ae 100644 --- a/ecrire/inc/chercher_logo.php +++ b/ecrire/inc/chercher_logo.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/chercher_rubrique.php b/ecrire/inc/chercher_rubrique.php index 4009944171..602081d56d 100644 --- a/ecrire/inc/chercher_rubrique.php +++ b/ecrire/inc/chercher_rubrique.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/commencer_page.php b/ecrire/inc/commencer_page.php index 1fdb381624..e9efe472c5 100644 --- a/ecrire/inc/commencer_page.php +++ b/ecrire/inc/commencer_page.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/config.php b/ecrire/inc/config.php index ba914ae968..74da8e10f6 100644 --- a/ecrire/inc/config.php +++ b/ecrire/inc/config.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/cookie.php b/ecrire/inc/cookie.php index 1a7f33b309..cee7e57ad5 100644 --- a/ecrire/inc/cookie.php +++ b/ecrire/inc/cookie.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/couleurs.php b/ecrire/inc/couleurs.php index fce252b685..532551aacc 100644 --- a/ecrire/inc/couleurs.php +++ b/ecrire/inc/couleurs.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/csv.php b/ecrire/inc/csv.php index cd6c37e6af..2cbd098543 100644 --- a/ecrire/inc/csv.php +++ b/ecrire/inc/csv.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/cvt_autosave.php b/ecrire/inc/cvt_autosave.php index 5715275603..a5c29d4c09 100644 --- a/ecrire/inc/cvt_autosave.php +++ b/ecrire/inc/cvt_autosave.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/cvt_configurer.php b/ecrire/inc/cvt_configurer.php index b1aca589de..e4553eae9d 100644 --- a/ecrire/inc/cvt_configurer.php +++ b/ecrire/inc/cvt_configurer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/cvt_multietapes.php b/ecrire/inc/cvt_multietapes.php index 9b16381a45..ba8a2982b4 100644 --- a/ecrire/inc/cvt_multietapes.php +++ b/ecrire/inc/cvt_multietapes.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 515912c052..f369831179 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/documents.php b/ecrire/inc/documents.php index 424cfdb1e4..5e62fdfff2 100644 --- a/ecrire/inc/documents.php +++ b/ecrire/inc/documents.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/drapeau_edition.php b/ecrire/inc/drapeau_edition.php index bd49ea8f9b..a09ad8dca6 100644 --- a/ecrire/inc/drapeau_edition.php +++ b/ecrire/inc/drapeau_edition.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/editer.php b/ecrire/inc/editer.php index dc2609f130..9d64924e72 100644 --- a/ecrire/inc/editer.php +++ b/ecrire/inc/editer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/envoyer_mail.php b/ecrire/inc/envoyer_mail.php index 5a21a70de2..5276c2bd3d 100644 --- a/ecrire/inc/envoyer_mail.php +++ b/ecrire/inc/envoyer_mail.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/exporter_csv.php b/ecrire/inc/exporter_csv.php index 69dc4ab972..5a5d8174a9 100644 --- a/ecrire/inc/exporter_csv.php +++ b/ecrire/inc/exporter_csv.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index 5e13e2fb16..b859236b71 100644 --- a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -508,7 +508,7 @@ function corriger_toutes_entites_html($texte) { return preg_replace(',&(#?[a-z0-9]+;),iS', '&\1', $texte); } -// http://doc.spip.org/@proteger_amp +// http://code.spip.net/@proteger_amp function proteger_amp($texte){ return str_replace('&','&',$texte); } @@ -582,7 +582,7 @@ function filtrer_entites($texte) { } // caracteres de controle - http://www.w3.org/TR/REC-xml/#charsets -// http://doc.spip.org/@supprimer_caracteres_illegaux +// http://code.spip.net/@supprimer_caracteres_illegaux function supprimer_caracteres_illegaux($texte) { static $from = "\x0\x1\x2\x3\x4\x5\x6\x7\x8\xB\xC\xE\xF\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F"; static $to = null; @@ -596,7 +596,7 @@ function supprimer_caracteres_illegaux($texte) { } // Supprimer caracteres windows et les caracteres de controle ILLEGAUX -// http://doc.spip.org/@corriger_caracteres +// http://code.spip.net/@corriger_caracteres function corriger_caracteres ($texte) { $texte = corriger_caracteres_windows($texte); $texte = supprimer_caracteres_illegaux($texte); @@ -940,7 +940,7 @@ function majuscules($texte) { } // "127.4 ko" ou "3.1 Mo" -// http://doc.spip.org/@taille_en_octets +// http://code.spip.net/@taille_en_octets function taille_en_octets ($taille) { if (!defined('_KILOBYTE')) define('_KILOBYTE', 1024); @@ -1048,7 +1048,7 @@ function antispam($texte) { return preg_replace("/@/", " $masque ", $texte); } -// http://doc.spip.org/@securiser_acces +// http://code.spip.net/@securiser_acces function securiser_acces($id_auteur, $cle, $dir, $op='', $args='') { include_spip('inc/acces'); @@ -1085,13 +1085,13 @@ function sinon ($texte, $sinon='') { } // |choixsivide{vide,pasvide} affiche pasvide si la chaine n'est pas vide... -// http://doc.spip.org/@choixsivide +// http://code.spip.net/@choixsivide function choixsivide($a, $vide, $pasvide) { return $a ? $pasvide : $vide; } // |choixsiegal{aquoi,oui,non} affiche oui si la chaine est egal a aquoi ... -// http://doc.spip.org/@choixsiegal +// http://code.spip.net/@choixsiegal function choixsiegal($a1,$a2,$v,$f) { return ($a1 == $a2) ? $v : $f; } @@ -1102,7 +1102,7 @@ function choixsiegal($a1,$a2,$v,$f) { // // on normalise la date, si elle vient du contexte (public/parametrer.php), on force le jour -// http://doc.spip.org/@normaliser_date +// http://code.spip.net/@normaliser_date function normaliser_date($date, $forcer_jour = false) { $date = vider_date($date); if ($date) { @@ -1125,7 +1125,7 @@ function normaliser_date($date, $forcer_jour = false) { return $date; } -// http://doc.spip.org/@vider_date +// http://code.spip.net/@vider_date function vider_date($letexte) { if (strncmp("0000-00-00", $letexte,10)==0) return ''; if (strncmp("0001-01-01", $letexte,10)==0) return ''; @@ -1133,7 +1133,7 @@ function vider_date($letexte) { return $letexte; } -// http://doc.spip.org/@recup_heure +// http://code.spip.net/@recup_heure function recup_heure($date){ static $d = array(0,0,0); @@ -1144,7 +1144,7 @@ function recup_heure($date){ return $r; } -// http://doc.spip.org/@heures +// http://code.spip.net/@heures function heures($numdate) { $date_array = recup_heure($numdate); if ($date_array) @@ -1152,7 +1152,7 @@ function heures($numdate) { return $heures; } -// http://doc.spip.org/@minutes +// http://code.spip.net/@minutes function minutes($numdate) { $date_array = recup_heure($numdate); if ($date_array) @@ -1160,7 +1160,7 @@ function minutes($numdate) { return $minutes; } -// http://doc.spip.org/@secondes +// http://code.spip.net/@secondes function secondes($numdate) { $date_array = recup_heure($numdate); if ($date_array) @@ -1168,12 +1168,12 @@ function secondes($numdate) { return $secondes; } -// http://doc.spip.org/@heures_minutes +// http://code.spip.net/@heures_minutes function heures_minutes($numdate) { return _T('date_fmt_heures_minutes', array('h'=> heures($numdate), 'm'=> minutes($numdate))); } -// http://doc.spip.org/@recup_date +// http://code.spip.net/@recup_date function recup_date($numdate, $forcer_jour = true){ if (!$numdate) return ''; $heures = $minutes = $secondes = 0; @@ -1220,7 +1220,7 @@ function recup_date($numdate, $forcer_jour = true){ // une date pour l'interface : utilise date_relative si le decalage // avec time() est de moins de douze heures, sinon la date complete -// http://doc.spip.org/@date_interface +// http://code.spip.net/@date_interface function date_interface($date, $decalage_maxi = 43200/* 12*3600 */) { return sinon( date_relative($date, $decalage_maxi), @@ -1228,7 +1228,7 @@ function date_interface($date, $decalage_maxi = 43200/* 12*3600 */) { ); } -// http://doc.spip.org/@date_relative +// http://code.spip.net/@date_relative function date_relative($date, $decalage_maxi=0,$ref_date=null) { if (is_null($ref_date)) @@ -1298,7 +1298,7 @@ function date_relative($date, $decalage_maxi=0,$ref_date=null) { } -// http://doc.spip.org/@date_relativecourt +// http://code.spip.net/@date_relativecourt function date_relativecourt($date, $decalage_maxi=0) { if (!$date) return; @@ -1330,7 +1330,7 @@ function date_relativecourt($date, $decalage_maxi=0) { /** * Formatage humain de la date $numdate selon le format $vue - * http://doc.spip.org/@affdate_base + * http://code.spip.net/@affdate_base * * @param $numdate * @param $vue @@ -1453,34 +1453,34 @@ function affdate_base($numdate, $vue, $options = array()) { } } -// http://doc.spip.org/@nom_jour +// http://code.spip.net/@nom_jour function nom_jour($numdate, $forme = '') { if(!($forme == 'abbr' OR $forme == 'initiale')) $forme = ''; return affdate_base($numdate, 'nom_jour', $forme); } -// http://doc.spip.org/@jour +// http://code.spip.net/@jour function jour($numdate) { return affdate_base($numdate, 'jour'); } -// http://doc.spip.org/@journum +// http://code.spip.net/@journum function journum($numdate) { return affdate_base($numdate, 'journum'); } -// http://doc.spip.org/@mois +// http://code.spip.net/@mois function mois($numdate) { return affdate_base($numdate, 'mois'); } -// http://doc.spip.org/@nom_mois +// http://code.spip.net/@nom_mois function nom_mois($numdate, $forme='') { if(!($forme == 'abbr')) $forme = ''; return affdate_base($numdate, 'nom_mois', $forme); } -// http://doc.spip.org/@annee +// http://code.spip.net/@annee function annee($numdate) { return affdate_base($numdate, 'annee'); } @@ -1510,13 +1510,13 @@ function annee($numdate) { * @return string * La date formatée **/ -// http://doc.spip.org/@saison +// http://code.spip.net/@saison function saison($numdate, $hemisphere = 'nord') { if ($hemisphere != 'sud') $hemisphere = 'nord'; return affdate_base($numdate, 'saison', $hemisphere); } -// http://doc.spip.org/@saison_annee +// http://code.spip.net/@saison_annee function saison_annee($numdate, $hemisphere = 'nord') { if ($hemisphere != 'sud') $hemisphere = 'nord'; return affdate_base($numdate, 'saison_annee', $hemisphere); @@ -1550,12 +1550,12 @@ function affdate($numdate, $format='entier') { return affdate_base($numdate, $format); } -// http://doc.spip.org/@affdate_court +// http://code.spip.net/@affdate_court function affdate_court($numdate, $annee_courante=null) { return affdate_base($numdate, 'court', array('annee_courante'=>$annee_courante)); } -// http://doc.spip.org/@affdate_jourcourt +// http://code.spip.net/@affdate_jourcourt function affdate_jourcourt($numdate, $annee_courante=null) { return affdate_base($numdate, 'jourcourt', array('annee_courante'=>$annee_courante)); } @@ -1578,7 +1578,7 @@ function affdate_mois_annee($numdate) { return affdate_base($numdate, 'mois_annee'); } -// http://doc.spip.org/@affdate_heure +// http://code.spip.net/@affdate_heure function affdate_heure($numdate) { $date_array = recup_date($numdate); if (!$date_array) return; @@ -1778,7 +1778,7 @@ function style_align($bof) { // Export iCal // -// http://doc.spip.org/@filtrer_ical +// http://code.spip.net/@filtrer_ical function filtrer_ical($texte) { #include_spip('inc/charsets'); $texte = html2unicode($texte); @@ -1789,7 +1789,7 @@ function filtrer_ical($texte) { return $texte; } -// http://doc.spip.org/@date_ical +// http://code.spip.net/@date_ical function date_ical($date, $addminutes = 0) { list($heures, $minutes, $secondes) = recup_heure($date); list($annee, $mois, $jour) = recup_date($date); @@ -1799,7 +1799,7 @@ function date_ical($date, $addminutes = 0) { // date_iso retourne la date au format "RFC 3339" / "ISO 8601" // voir http://www.php.net/manual/fr/ref.datetime.php#datetime.constants -// http://doc.spip.org/@date_iso +// http://code.spip.net/@date_iso function date_iso($date_heure) { list($annee, $mois, $jour) = recup_date($date_heure); list($heures, $minutes, $secondes) = recup_heure($date_heure); @@ -1809,7 +1809,7 @@ function date_iso($date_heure) { // date_822 retourne la date au format "RFC 822" // utilise pour <pubdate> dans certains feeds RSS -// http://doc.spip.org/@date_822 +// http://code.spip.net/@date_822 function date_822($date_heure) { list($annee, $mois, $jour) = recup_date($date_heure); list($heures, $minutes, $secondes) = recup_heure($date_heure); @@ -1817,19 +1817,19 @@ function date_822($date_heure) { return date('r', $time); } -// http://doc.spip.org/@date_anneemoisjour +// http://code.spip.net/@date_anneemoisjour function date_anneemoisjour($d) { if (!$d) $d = date("Y-m-d"); return substr($d, 0, 4) . substr($d, 5, 2) .substr($d, 8, 2); } -// http://doc.spip.org/@date_anneemois +// http://code.spip.net/@date_anneemois function date_anneemois($d) { if (!$d) $d = date("Y-m-d"); return substr($d, 0, 4) . substr($d, 5, 2); } -// http://doc.spip.org/@date_debut_semaine +// http://code.spip.net/@date_debut_semaine function date_debut_semaine($annee, $mois, $jour) { $w_day = date("w", mktime(0,0,0,$mois, $jour, $annee)); if ($w_day == 0) $w_day = 7; // Gaffe: le dimanche est zero @@ -1837,7 +1837,7 @@ function date_debut_semaine($annee, $mois, $jour) { return date("Ymd", mktime(0,0,0,$mois,$debut,$annee)); } -// http://doc.spip.org/@date_fin_semaine +// http://code.spip.net/@date_fin_semaine function date_fin_semaine($annee, $mois, $jour) { $w_day = date("w", mktime(0,0,0,$mois, $jour, $annee)); if ($w_day == 0) $w_day = 7; // Gaffe: le dimanche est zero @@ -1870,7 +1870,7 @@ function extra($letexte, $champ) { } // postautobr : transforme les sauts de ligne en _ -// http://doc.spip.org/@post_autobr +// http://code.spip.net/@post_autobr function post_autobr($texte, $delim="\n_ ") { if (!function_exists('echappe_html')) include_spip('inc/texte_mini'); @@ -1921,7 +1921,7 @@ define('_EXTRAIRE_MULTI', "@<multi>(.*?)</multi>@sS"); // Extraire et transformer les blocs multi ; on indique la langue courante // pour ne pas mettre de span@lang=fr si on est deja en fr -// http://doc.spip.org/@extraire_multi +// http://code.spip.net/@extraire_multi function extraire_multi($letexte, $lang=null, $options=array()) { if ($letexte @@ -1977,7 +1977,7 @@ function extraire_multi($letexte, $lang=null, $options=array()) { } // convertit le contenu d'une balise multi en un tableau -// http://doc.spip.org/@extraire_trad +// http://code.spip.net/@extraire_trad function extraire_trads($bloc) { $lang = ''; // ce reg fait planter l'analyse multi s'il y a de l'{italique} dans le champ @@ -2079,7 +2079,7 @@ function unique($donnee, $famille='', $cpt = false) { // // Exemple [(#COMPTEUR_BOUCLE|alterner{'bleu','vert','rouge'})] // -// http://doc.spip.org/@alterner +// http://code.spip.net/@alterner function alterner($i) { // recuperer les arguments (attention fonctions un peu space) $num = func_num_args(); @@ -2155,7 +2155,7 @@ function extraire_attribut($balise, $attribut, $complet = false) { } // modifier (ou inserer) un attribut html dans une balise -// http://doc.spip.org/@inserer_attribut +// http://code.spip.net/@inserer_attribut function inserer_attribut($balise, $attribut, $val, $proteger=true, $vider=false) { // preparer l'attribut // supprimer les etc mais pas les balises html @@ -2519,7 +2519,7 @@ function tags2dcsubject($tags) { // retourne la premiere balise du type demande // ex: [(#DESCRIPTIF|extraire_balise{img})] // Si on a passe un tableau de textes, renvoyer un tableau de resultats -// http://doc.spip.org/@extraire_balise +// http://code.spip.net/@extraire_balise function extraire_balise($texte, $tag='a') { if (is_array($texte)) { array_walk($texte, @@ -2536,7 +2536,7 @@ function extraire_balise($texte, $tag='a') { // extraire toutes les balises du type demande, sous forme de tableau // Si on a passe un tableau de textes, renvoyer un tableau de resultats -// http://doc.spip.org/@extraire_balises +// http://code.spip.net/@extraire_balises function extraire_balises($texte, $tag='a') { if (is_array($texte)) { array_walk($texte, @@ -2732,29 +2732,29 @@ function filtre_bornes_pagination_dist($courante, $nombre, $max = 10) { // Ces trois fonctions permettent de simuler les filtres |reset et |end // pour extraire la premiere ou la derniere valeur d'un tableau ; utile // pour la pagination (mais peut-etre a refaire plus simplement) -// http://doc.spip.org/@filtre_valeur_tableau +// http://code.spip.net/@filtre_valeur_tableau function filtre_valeur_tableau($array, $index) { if (!is_array($array) OR !isset($array[$index])) return null; return $array[$index]; } -// http://doc.spip.org/@filtre_reset +// http://code.spip.net/@filtre_reset function filtre_reset($array) { return !is_array($array) ? null : reset($array); } -// http://doc.spip.org/@filtre_end +// http://code.spip.net/@filtre_end function filtre_end($array) { return !is_array($array) ? null : end($array); } -// http://doc.spip.org/@filtre_push +// http://code.spip.net/@filtre_push function filtre_push($array, $val) { if($array == '' OR !array_push($array, $val)) return ''; return $array; } -// http://doc.spip.org/@filtre_find +// http://code.spip.net/@filtre_find function filtre_find($array, $val) { return (is_array($array) AND in_array($val, $array)); } @@ -2828,7 +2828,7 @@ function filtre_pagination_dist($total, $nom, $position, $pas, $liste = true, $m } // passer les url relatives a la css d'origine en url absolues -// http://doc.spip.org/@urls_absolues_css +// http://code.spip.net/@urls_absolues_css function urls_absolues_css($contenu, $source) { $path = suivre_lien(url_absolue($source),'./'); @@ -2961,7 +2961,7 @@ function direction_css ($css, $voulue='') { // recuperere le chemin d'une css existante et : // cree (ou recree) dans _DIR_VAR/cache_css/ une css dont les url relatives sont passees en url absolues -// http://doc.spip.org/@url_absolue_css +// http://code.spip.net/@url_absolue_css function url_absolue_css ($css) { if (!preg_match(',\.css$,i', $css, $r)) return $css; @@ -3044,7 +3044,7 @@ function table_valeur($table, $cle, $defaut='') { // retourne le fragment de chaine qui "matche" // il est possible de passer en 3eme argument optionnel le numero de parenthese capturante // accepte egalement la syntaxe #TRUC|match{truc(...)$,1} ou le modificateur n'est pas passe en second argument -// http://doc.spip.org/@match +// http://code.spip.net/@match function match($texte, $expression, $modif="UimsS",$capte=0) { if (intval($modif) AND $capte==0){ $capte = $modif; @@ -3094,8 +3094,8 @@ function replace($texte, $expression, $replace='', $modif="UimsS") { // cherche les documents numerotes dans un texte traite par propre() // et affecte les doublons['documents'] -// http://doc.spip.org/@traiter_doublons_documents -// http://doc.spip.org/@traiter_doublons_documents +// http://code.spip.net/@traiter_doublons_documents +// http://code.spip.net/@traiter_doublons_documents function traiter_doublons_documents(&$doublons, $letexte) { // Verifier dans le texte & les notes (pas beau, helas) @@ -3115,7 +3115,7 @@ function traiter_doublons_documents(&$doublons, $letexte) { } // filtre vide qui ne renvoie rien -// http://doc.spip.org/@vide +// http://code.spip.net/@vide function vide($texte){ return ""; } @@ -3125,7 +3125,7 @@ function vide($texte){ // // A partir d'un #ENV, retourne des <param ...> -// http://doc.spip.org/@env_to_params +// http://code.spip.net/@env_to_params function env_to_params ($texte, $ignore_params=array()) { $ignore_params = array_merge ( array('id', 'lang', 'id_document', 'date', 'date_redac', 'align', 'fond', '', 'recurs', 'emb', 'dir_racine'), @@ -3138,7 +3138,7 @@ function env_to_params ($texte, $ignore_params=array()) { return $texte; } // A partir d'un #ENV, retourne des attributs -// http://doc.spip.org/@env_to_attributs +// http://code.spip.net/@env_to_attributs function env_to_attributs ($texte, $ignore_params=array()) { $ignore_params = array_merge ( array('id', 'lang', 'id_document', 'date', 'date_redac', 'align', 'fond', '', 'recurs', 'emb', 'dir_racine'), @@ -3170,7 +3170,7 @@ function concat(){ } -// http://doc.spip.org/@charge_scripts +// http://code.spip.net/@charge_scripts function charge_scripts($files, $script = true) { $flux = ""; foreach(is_array($files)?$files:explode("|",$files) as $file) { @@ -3189,7 +3189,7 @@ function charge_scripts($files, $script = true) { * produit une balise img avec un champ alt d'office si vide * attention le htmlentities et la traduction doivent etre appliques avant. * - * http://doc.spip.org/@http_img_pack + * http://code.spip.net/@http_img_pack * * @param $img * @param $alt @@ -3227,7 +3227,7 @@ function http_img_pack($img, $alt, $atts='', $title='', $options = array()) { /** * generer une directive style='background:url()' a partir d'un fichier image * - * http://doc.spip.org/@http_style_background + * http://code.spip.net/@http_style_background * * @param string $img * @param string $att @@ -3251,7 +3251,7 @@ function filtre_balise_img_dist($img,$alt="",$class=""){ //[(#ENV*|unserialize|foreach)] -// http://doc.spip.org/@filtre_foreach_dist +// http://code.spip.net/@filtre_foreach_dist function filtre_foreach_dist($balise_deserializee, $modele = 'foreach') { $texte = ''; if(is_array($balise_deserializee)) diff --git a/ecrire/inc/filtres_boites.php b/ecrire/inc/filtres_boites.php index a1a757fea4..b63500c807 100644 --- a/ecrire/inc/filtres_boites.php +++ b/ecrire/inc/filtres_boites.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/filtres_ecrire.php b/ecrire/inc/filtres_ecrire.php index c0bd26e575..e3d1b0e821 100644 --- a/ecrire/inc/filtres_ecrire.php +++ b/ecrire/inc/filtres_ecrire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -357,7 +357,7 @@ function lien_article_virtuel($virtuel){ * Filtre pour generer un bouton RSS prive * protege par un hash de faible securite * - * http://doc.spip.org/@bouton_spip_rss + * http://code.spip.net/@bouton_spip_rss * * @param string $op * @param array $args @@ -376,7 +376,7 @@ function bouton_spip_rss($op, $args=array(), $lang='', $title='RSS') { /** * Verifier la presence d'alertes pour les auteur * - * http://doc.spip.org/@alertes_auteur + * http://code.spip.net/@alertes_auteur * * @param int $id_auteur * @return string diff --git a/ecrire/inc/filtres_images_lib_mini.php b/ecrire/inc/filtres_images_lib_mini.php index 8ec4ce70f7..80a139114f 100644 --- a/ecrire/inc/filtres_images_lib_mini.php +++ b/ecrire/inc/filtres_images_lib_mini.php @@ -3,7 +3,7 @@ /* *************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -596,7 +596,7 @@ function ramasse_miettes($fichier){ * d'images dans un squelette. * * @filtre - * @link http://doc.spip.org/@image_graver + * @link http://code.spip.net/@image_graver * * @uses reconstruire_image_intermediaire() * Si l'image finale a déjà été supprimée car considérée comme temporaire @@ -639,7 +639,7 @@ function image_graver($img){ // Si la transformation ne peut se faire on renvoie false. Si elle peut se faire ou si // l'image est deja en vrai RGB, on renvoie true. // Existe seulement pour compatibilite avec PHP < 5.5 -// http://doc.spip.org/@imagepalettetotruecolor +// http://code.spip.net/@imagepalettetotruecolor if (!function_exists("imagepalettetotruecolor")) { function imagepalettetotruecolor(&$img) { if (!$img OR !function_exists('imagecreatetruecolor')) { @@ -664,7 +664,7 @@ if (!function_exists("imagepalettetotruecolor")) { } } -// http://doc.spip.org/@image_tag_changer_taille +// http://code.spip.net/@image_tag_changer_taille function _image_tag_changer_taille($tag,$width,$height,$style=false){ if ($style===false) $style = extraire_attribut($tag,'style'); // enlever le width et height du style @@ -954,7 +954,7 @@ function _image_creer_vignette($valeurs, $maxWidth, $maxHeight, $process='AUTO', } // Calculer le ratio -// http://doc.spip.org/@image_ratio +// http://code.spip.net/@image_ratio function _image_ratio ($srcWidth, $srcHeight, $maxWidth, $maxHeight) { $ratioWidth = $srcWidth/$maxWidth; $ratioHeight = $srcHeight/$maxHeight; @@ -975,7 +975,7 @@ function _image_ratio ($srcWidth, $srcHeight, $maxWidth, $maxHeight) { } // Calculer le ratio ajuste sur la plus petite dimension -// http://doc.spip.org/@ratio_passe_partout +// http://code.spip.net/@ratio_passe_partout function ratio_passe_partout ($srcWidth, $srcHeight, $maxWidth, $maxHeight) { $ratioWidth = $srcWidth/$maxWidth; $ratioHeight = $srcHeight/$maxHeight; @@ -995,7 +995,7 @@ function ratio_passe_partout ($srcWidth, $srcHeight, $maxWidth, $maxHeight) { min($ratioWidth,$ratioHeight)); } -// http://doc.spip.org/@process_image_reduire +// http://code.spip.net/@process_image_reduire function process_image_reduire($fonction,$img,$taille,$taille_y,$force,$cherche_image,$process){ $image = false; if (($process == 'AUTO') AND isset($GLOBALS['meta']['image_process'])) diff --git a/ecrire/inc/filtres_images_mini.php b/ecrire/inc/filtres_images_mini.php index bc02f9737e..439cf4a1a0 100644 --- a/ecrire/inc/filtres_images_mini.php +++ b/ecrire/inc/filtres_images_mini.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -13,7 +13,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('inc/filtres_images_lib_mini'); // par precaution -// http://doc.spip.org/@couleur_html_to_hex +// http://code.spip.net/@couleur_html_to_hex function couleur_html_to_hex($couleur){ $couleurs_html=array( 'aqua'=>'00FFFF','black'=>'000000','blue'=>'0000FF','fuchsia'=>'FF00FF','gray'=>'808080','green'=>'008000','lime'=>'00FF00','maroon'=>'800000', @@ -23,7 +23,7 @@ function couleur_html_to_hex($couleur){ return $couleur; } -// http://doc.spip.org/@couleur_foncer +// http://code.spip.net/@couleur_foncer function couleur_foncer ($couleur, $coeff=0.5) { $couleurs = _couleur_hex_to_dec($couleur); @@ -36,7 +36,7 @@ function couleur_foncer ($couleur, $coeff=0.5) { return $couleur; } -// http://doc.spip.org/@couleur_eclaircir +// http://code.spip.net/@couleur_eclaircir function couleur_eclaircir ($couleur, $coeff=0.5) { $couleurs = _couleur_hex_to_dec($couleur); @@ -53,7 +53,7 @@ function couleur_eclaircir ($couleur, $coeff=0.5) { // selectionner les images qui vont subir une transformation sur un critere de taille // ls images exclues sont marquees d'une class filtre_inactif qui bloque les filtres suivants // dans la fonction image_filtrer -// http://doc.spip.org/@image_select +// http://code.spip.net/@image_select function image_select($img,$width_min=0, $height_min=0, $width_max=10000, $height_max=1000){ if (!$img) return $img; list ($h,$l) = taille_image($img); diff --git a/ecrire/inc/filtres_mime.php b/ecrire/inc/filtres_mime.php index e5ddba44ab..ca7368794c 100644 --- a/ecrire/inc/filtres_mime.php +++ b/ecrire/inc/filtres_mime.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -29,7 +29,7 @@ function filtre_application_dist($t) {return '';} function filtre_message_dist($t) {return '';} function filtre_multipart_dist($t) {return '';} -// http://doc.spip.org/@filtre_text_txt_dist +// http://code.spip.net/@filtre_text_txt_dist function filtre_text_dist($t) { static $t1 = array('&', '<', '>'); static $t2 = array('&', '<', '>'); @@ -63,7 +63,7 @@ function filtre_text_csv_dist($t) { // Incrustation de HTML, si on est capable de le securiser // sinon, afficher le source -// http://doc.spip.org/@filtre_text_html_dist +// http://code.spip.net/@filtre_text_html_dist function filtre_text_html_dist($t) { if (!preg_match(',^(.*?)<body[^>]*>(.*)</body>,is', $t, $r)) @@ -89,7 +89,7 @@ function filtre_text_html_dist($t) return (!$style ? '' : "\n<style>".$style."</style>") . $t; } -// http://doc.spip.org/@filtre_audio_x_pn_realaudio +// http://code.spip.net/@filtre_audio_x_pn_realaudio function filtre_audio_x_pn_realaudio($id) { return " diff --git a/ecrire/inc/filtres_mini.php b/ecrire/inc/filtres_mini.php index dad72b912d..2f70f2a7b6 100644 --- a/ecrire/inc/filtres_mini.php +++ b/ecrire/inc/filtres_mini.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/flock.php b/ecrire/inc/flock.php index c798c2180f..53dec54a8e 100644 --- a/ecrire/inc/flock.php +++ b/ecrire/inc/flock.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/genie.php b/ecrire/inc/genie.php index 04b6e6d2a2..a0dec838b4 100644 --- a/ecrire/inc/genie.php +++ b/ecrire/inc/genie.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -50,7 +50,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; // Le fichier homonyme du repertoire "genie/" est automatiquement lu // et il est suppose definir cette fonction. -// http://doc.spip.org/@inc_genie_dist +// http://code.spip.net/@inc_genie_dist function inc_genie_dist($taches = array()) { include_spip('inc/queue'); @@ -77,7 +77,7 @@ function inc_genie_dist($taches = array()) { // les serveurs Http n'accordant en general pas plus de 30 secondes // a leur sous-processus // -// http://doc.spip.org/@taches_generales +// http://code.spip.net/@taches_generales function taches_generales($taches_generales = array()) { // verifier que toutes les taches cron sont planifiees @@ -114,7 +114,7 @@ function taches_generales($taches_generales = array()) { // - elle peut retirer les fichiers perimes // - elle fait appliquer le quota // En cas de quota sur le CACHE/, nettoyer les fichiers les plus vieux -// http://doc.spip.org/@genie_invalideur_dist +// http://code.spip.net/@genie_invalideur_dist function genie_invalideur_dist($t) { include_spip('inc/invalideur'); diff --git a/ecrire/inc/headers.php b/ecrire/inc/headers.php index 49070dfea3..747c87004e 100644 --- a/ecrire/inc/headers.php +++ b/ecrire/inc/headers.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -94,7 +94,7 @@ function redirige_par_entete($url, $equiv='', $status = 302) { exit; } -// http://doc.spip.org/@redirige_formulaire +// http://code.spip.net/@redirige_formulaire function redirige_formulaire($url, $equiv = '', $format='message') { if (!_AJAX AND !headers_sent() @@ -193,7 +193,7 @@ function http_status($status) { } // Retourne ce qui va bien pour que le navigateur ne mette pas la page en cache -// http://doc.spip.org/@http_no_cache +// http://code.spip.net/@http_no_cache function http_no_cache() { if (headers_sent()) { spip_log("http_no_cache arrive trop tard"); return;} diff --git a/ecrire/inc/icone_renommer.php b/ecrire/inc/icone_renommer.php index cfa9a41d97..4955cce1eb 100644 --- a/ecrire/inc/icone_renommer.php +++ b/ecrire/inc/icone_renommer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/iconifier.php b/ecrire/inc/iconifier.php index 530093c566..6635d76510 100644 --- a/ecrire/inc/iconifier.php +++ b/ecrire/inc/iconifier.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/importer_csv.php b/ecrire/inc/importer_csv.php index f986f86647..964c2b9338 100644 --- a/ecrire/inc/importer_csv.php +++ b/ecrire/inc/importer_csv.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/informer.php b/ecrire/inc/informer.php index d887f480d4..67cee2c8d2 100644 --- a/ecrire/inc/informer.php +++ b/ecrire/inc/informer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; # Les information d'une rubrique selectionnee dans le mini navigateur -// http://doc.spip.org/@inc_informer_dist +// http://code.spip.net/@inc_informer_dist function inc_informer_dist($id, $col, $exclus, $rac, $type, $do='aff') { include_spip('inc/texte'); diff --git a/ecrire/inc/install.php b/ecrire/inc/install.php index f2b7b9d21f..ad6c0f8410 100644 --- a/ecrire/inc/install.php +++ b/ecrire/inc/install.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -157,7 +157,7 @@ function install_mode_appel($server_db, $tout=true) // // Verifier que l'hebergement est compatible SPIP ... ou l'inverse :-) // (sert a l'etape 1 de l'installation) -// http://doc.spip.org/@tester_compatibilite_hebergement +// http://code.spip.net/@tester_compatibilite_hebergement function tester_compatibilite_hebergement() { $err = array(); @@ -210,7 +210,7 @@ function tester_compatibilite_hebergement() { // Une fonction pour faciliter la recherche du login (superflu ?) -// http://doc.spip.org/@login_hebergeur +// http://code.spip.net/@login_hebergeur function login_hebergeur() { global $HTTP_X_HOST, $REQUEST_URI, $SERVER_NAME, $HTTP_HOST; @@ -236,7 +236,7 @@ function login_hebergeur() { } -// http://doc.spip.org/@info_etape +// http://code.spip.net/@info_etape function info_etape($titre, $complement = ''){ return "<h2>".$titre."</h2>\n" . ($complement ? "".$complement."\n":''); @@ -258,7 +258,7 @@ function bouton_suivant($code = '') { " >>\" /></p>\n"; } -// http://doc.spip.org/@info_progression_etape +// http://code.spip.net/@info_progression_etape function info_progression_etape($en_cours,$phase,$dir, $erreur = false){ //$en_cours = _request('etape')?_request('etape'):""; $liste = find_all_in_path($dir,$phase.'(([0-9])+|fin)[.]php$'); @@ -303,7 +303,7 @@ function info_progression_etape($en_cours,$phase,$dir, $erreur = false){ } -// http://doc.spip.org/@fieldset +// http://code.spip.net/@fieldset function fieldset($legend, $champs = array(), $apres='', $avant='') { return "<fieldset>\n" . $avant . @@ -366,7 +366,7 @@ function install_select_serveur() return $options; } -// http://doc.spip.org/@install_connexion_form +// http://code.spip.net/@install_connexion_form function install_connexion_form($db, $login, $pass, $predef, $hidden, $etape, $jquery=true) { $server_db = (is_string($predef[0])) ? $predef[0] : ''; @@ -470,7 +470,7 @@ function install_connexion_form($db, $login, $pass, $predef, $hidden, $etape, $j // 4 valeurs qu'on reconduit d'un script a l'autre // sauf s'ils sont predefinis. -// http://doc.spip.org/@predef_ou_cache +// http://code.spip.net/@predef_ou_cache function predef_ou_cache($adresse_db, $login_db, $pass_db, $server_db) { return ((defined('_INSTALL_HOST_DB')) @@ -494,7 +494,7 @@ function predef_ou_cache($adresse_db, $login_db, $pass_db, $server_db) // presentation des bases existantes -// http://doc.spip.org/@install_etape_liste_bases +// http://code.spip.net/@install_etape_liste_bases function install_etape_liste_bases($server_db, $login_db, $disabled=array()) { $bases = $checked = array(); diff --git a/ecrire/inc/invalideur.php b/ecrire/inc/invalideur.php index 015bbb941c..d752d5fd2f 100644 --- a/ecrire/inc/invalideur.php +++ b/ecrire/inc/invalideur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -189,7 +189,7 @@ function purger_repertoire($dir, $options=array()) { // et on le ratiboise en supprimant les fichiers qui n'ont pas // ete sollicites dans l'heure qui vient de s'ecouler // -// http://doc.spip.org/@appliquer_quota_cache +// http://code.spip.net/@appliquer_quota_cache function appliquer_quota_cache() { global $quota_cache; $encore = false; @@ -240,7 +240,7 @@ function appliquer_quota_cache() { // // Securite : est sur que c'est un cache -// http://doc.spip.org/@retire_cache +// http://code.spip.net/@retire_cache function retire_cache($cache) { if (preg_match( @@ -262,7 +262,7 @@ function retire_cache($cache) { // Supprimer les caches marques "x" // A priori dans cette version la fonction ne sera pas appelee, car // la meta est toujours false ; mais evitons un bug si elle est appellee -// http://doc.spip.org/@retire_caches +// http://code.spip.net/@retire_caches function retire_caches($chemin = '') { if (isset($GLOBALS['meta']['invalider_caches'])) effacer_meta('invalider_caches'); # concurrence @@ -272,7 +272,7 @@ function retire_caches($chemin = '') { // Fonction permettant au compilo de calculer les invalideurs d'une page // (note: si absente, n'est pas appellee) /* -// http://doc.spip.org/@calcul_invalideurs +// http://code.spip.net/@calcul_invalideurs function calcul_invalideurs($corps, $primary, &$boucles, $id_boucle) { return $corps; } @@ -282,23 +282,23 @@ function calcul_invalideurs($corps, $primary, &$boucles, $id_boucle) { // Elle ne touche pas aux fichiers cache eux memes ; elle est // invoquee quand on vide tout le cache en bloc (action/purger) // -// http://doc.spip.org/@supprime_invalideurs +// http://code.spip.net/@supprime_invalideurs function supprime_invalideurs() { } // Calcul des pages : noter dans la base les liens d'invalidation -// http://doc.spip.org/@maj_invalideurs +// http://code.spip.net/@maj_invalideurs function maj_invalideurs ($fichier, &$page) { } // les invalideurs sont de la forme "objet/id_objet" -// http://doc.spip.org/@insere_invalideur +// http://code.spip.net/@insere_invalideur function insere_invalideur($inval, $fichier) { } // // Marquer les fichiers caches invalides comme etant a supprimer // -// http://doc.spip.org/@applique_invalideur +// http://code.spip.net/@applique_invalideur function applique_invalideur($depart) { } ?> diff --git a/ecrire/inc/journal.php b/ecrire/inc/journal.php index f34ea91635..e59f153061 100644 --- a/ecrire/inc/journal.php +++ b/ecrire/inc/journal.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/json.php b/ecrire/inc/json.php index 538d08d039..1085dd675c 100644 --- a/ecrire/inc/json.php +++ b/ecrire/inc/json.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -21,7 +21,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * @return string js script | boolean false if error */ -// http://doc.spip.org/@var2js +// http://code.spip.net/@var2js function var2js($var) { $asso = false; switch (true) { @@ -66,7 +66,7 @@ if(!function_exists('json_encode')) { function json_encode($v) { return var2js($v); } } -// http://doc.spip.org/@json_export +// http://code.spip.net/@json_export function json_export($var) { $var = json_encode($var); diff --git a/ecrire/inc/lang.php b/ecrire/inc/lang.php index 38c377e449..e7944d5fe4 100644 --- a/ecrire/inc/lang.php +++ b/ecrire/inc/lang.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -118,7 +118,7 @@ function traduire_nom_langue($lang) { // alphabet arabe a priori), hebreu, yiddish (langues ecrites en alphabet // hebreu a priori), 'droitier' sinon. // C'est utilise par #LANG_DIR, #LANG_LEFT, #LANG_RIGHT. -// http://doc.spip.org/@lang_dir +// http://code.spip.net/@lang_dir function lang_dir($lang='', $droitier='ltr', $gaucher='rtl') { static $lang_rtl = array('ar', 'fa', 'ku', 'prs', 'ps', 'ur', 'he', 'heb', 'hbo', 'yi'); @@ -131,7 +131,7 @@ function lang_dir($lang='', $droitier='ltr', $gaucher='rtl') { // un texte anglais en interface francaise (ou l'inverse) ; // sinon determiner la typo en fonction de la langue courante -// http://doc.spip.org/@lang_typo +// http://code.spip.net/@lang_typo function lang_typo($lang='') { if (!$lang) { $lang = isset($GLOBALS['lang_objet']) @@ -149,7 +149,7 @@ function lang_typo($lang='') { // gestion de la globale $lang_objet pour que les textes soient affiches // avec les memes typo et direction dans l'espace prive que dans le public -// http://doc.spip.org/@changer_typo +// http://code.spip.net/@changer_typo function changer_typo($lang = '') { if ($lang) $GLOBALS['lang_objet'] = $lang; @@ -163,7 +163,7 @@ function changer_typo($lang = '') { // pour var_lang' = langue de l'article, espace public, voir les squelettes // pour 'changer_lang' (langue de l'article, espace prive), c'est en Ajax // -// http://doc.spip.org/@menu_langues +// http://code.spip.net/@menu_langues function menu_langues($nom_select, $default='') { include_spip('inc/actions'); @@ -193,7 +193,7 @@ function menu_langues($nom_select, $default='') { " method='post'"); } -// http://doc.spip.org/@select_langues +// http://code.spip.net/@select_langues function select_langues($nom_select, $change, $options, $label="") { static $cpt = 0; diff --git a/ecrire/inc/lang_liste.php b/ecrire/inc/lang_liste.php index abb6ea8496..3eb32a83e1 100644 --- a/ecrire/inc/lang_liste.php +++ b/ecrire/inc/lang_liste.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/layer.php b/ecrire/inc/layer.php index f198e80bce..1353912a0a 100644 --- a/ecrire/inc/layer.php +++ b/ecrire/inc/layer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -35,7 +35,7 @@ function cadre_depliable($icone,$titre,$deplie,$contenu,$ids='',$style_cadre='r' . fin_cadre(); } -// http://doc.spip.org/@block_parfois_visible +// http://code.spip.net/@block_parfois_visible function block_parfois_visible($nom, $invite, $masque, $style='', $visible=false){ return "\n" . bouton_block_depliable($invite,$visible,$nom) @@ -44,7 +44,7 @@ function block_parfois_visible($nom, $invite, $masque, $style='', $visible=false . fin_block(); } -// http://doc.spip.org/@debut_block_depliable +// http://code.spip.net/@debut_block_depliable function debut_block_depliable($deplie,$id=""){ $class=' blocdeplie'; // si on n'accepte pas js, ne pas fermer @@ -52,14 +52,14 @@ function debut_block_depliable($deplie,$id=""){ $class=" blocreplie"; return "<div ".($id?"id='$id' ":"")."class='bloc_depliable$class'>"; } -// http://doc.spip.org/@fin_block +// http://code.spip.net/@fin_block function fin_block() { return "<div class='nettoyeur'></div>\n</div>"; } // $texte : texte du bouton // $deplie : true (deplie) ou false (plie) ou -1 (inactif) ou 'incertain' pour que le bouton s'auto init au chargement de la page // $ids : id des div lies au bouton (facultatif, par defaut c'est le div.bloc_depliable qui suit) -// http://doc.spip.org/@bouton_block_depliable +// http://code.spip.net/@bouton_block_depliable function bouton_block_depliable($texte,$deplie,$ids=""){ $bouton_id = 'b'.substr(md5($texte.microtime()),0,8); @@ -92,7 +92,7 @@ function bouton_block_depliable($texte,$deplie,$ids=""){ // // Tests sur le nom du butineur // -// http://doc.spip.org/@verif_butineur +// http://code.spip.net/@verif_butineur function verif_butineur() { global $browser_name, $browser_version; diff --git a/ecrire/inc/lien.php b/ecrire/inc/lien.php index 9fc5d4804f..fa84392e90 100644 --- a/ecrire/inc/lien.php +++ b/ecrire/inc/lien.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -31,7 +31,7 @@ function inc_lien_dist($lien, $texte='', $class='', $title='', $hlang='', $rel=' // sinon les crochets ne peuvent plus servir qu'a ce type de raccourci define('_RACCOURCI_LIEN', "/\[([^][]*?([[]\w*[]][^][]*)*)->(>?)([^]]*)\]/msS"); -// http://doc.spip.org/@expanser_liens +// http://code.spip.net/@expanser_liens function expanser_liens($t, $connect='', $env=array()){ $t = pipeline('pre_liens', $t); @@ -44,7 +44,7 @@ function expanser_liens($t, $connect='', $env=array()){ // Meme analyse mais pour eliminer les liens // et ne laisser que leur titre, a expliciter si ce n'est fait -// http://doc.spip.org/@nettoyer_raccourcis_typo +// http://code.spip.net/@nettoyer_raccourcis_typo function nettoyer_raccourcis_typo($texte, $connect='') { @@ -56,7 +56,7 @@ function nettoyer_raccourcis_typo($texte, $connect='') // Repere dans la partie texte d'un raccourci [texte->...] // la langue et la bulle eventuelles -// http://doc.spip.org/@traiter_raccourci_lien_atts +// http://code.spip.net/@traiter_raccourci_lien_atts function traiter_raccourci_lien_atts($texte) { $bulle=''; $hlang=''; @@ -72,7 +72,7 @@ define('_RACCOURCI_CHAPO', '/^(\W*)(\W*)(\w*\d+([?#].*)?)$/'); * renvoie l'url reelle de redirection si le $url=true, * l'url brute contenue dans le chapo sinon * - * http://doc.spip.org/@chapo_redirige + * http://code.spip.net/@chapo_redirige * * @param string $virtuel * @param bool $url @@ -92,7 +92,7 @@ function virtuel_redirige($virtuel, $url=false){ // 'titre': seulement T ci-dessus (i.e. le TITRE ci-dessus ou dans table SQL) // 'url': seulement U (i.e. generer_url_RACCOURCI) -// http://doc.spip.org/@calculer_url +// http://code.spip.net/@calculer_url function calculer_url ($ref, $texte='', $pour='url', $connect='', $echappe_typo = true) { $r = traiter_lien_implicite($ref, $texte, $pour, $connect, $echappe_typo); return $r ? $r : traiter_lien_explicite($ref, $texte, $pour, $connect, $echappe_typo); @@ -100,7 +100,7 @@ function calculer_url ($ref, $texte='', $pour='url', $connect='', $echappe_typo define('_EXTRAIRE_LIEN', ',^\s*(?:' . _PROTOCOLES_STD . '):?/?/?\s*$,iS'); -// http://doc.spip.org/@traiter_lien_explicite +// http://code.spip.net/@traiter_lien_explicite function traiter_lien_explicite ($ref, $texte='', $pour='url', $connect='', $echappe_typo = true) { if (preg_match(_EXTRAIRE_LIEN, $ref)) @@ -142,7 +142,7 @@ function liens_implicite_glose_dist($texte,$id,$type,$args,$ancre,$connect=''){ return $url; } -// http://doc.spip.org/@traiter_lien_implicite +// http://code.spip.net/@traiter_lien_implicite function traiter_lien_implicite ($ref, $texte='', $pour='url', $connect='') { if (!($match = typer_raccourci($ref))) return false; @@ -181,7 +181,7 @@ function traiter_lien_implicite ($ref, $texte='', $pour='url', $connect='') define('_RACCOURCI_URL', '/^\s*(\w*?)\s*(\d+)(\?(.*?))?(#([^\s]*))?\s*$/S'); -// http://doc.spip.org/@typer_raccourci +// http://code.spip.net/@typer_raccourci function typer_raccourci ($lien) { if (!preg_match(_RACCOURCI_URL, $lien, $match)) return array(); $f = $match[1]; @@ -219,7 +219,7 @@ function traiter_raccourci_titre($id, $type, $connect=NULL) // Le nom du modele doit faire au moins trois caracteres (evite <h2>) // Si $doublons==true, on repere les documents sans calculer les modeles // mais on renvoie les params (pour l'indexation par le moteur de recherche) -// http://doc.spip.org/@traiter_modeles +// http://code.spip.net/@traiter_modeles define('_RACCOURCI_MODELE', '(<([a-z_-]{3,})' # <modele @@ -231,7 +231,7 @@ define('_RACCOURCI_MODELE', define('_RACCOURCI_MODELE_DEBUT', '@^' . _RACCOURCI_MODELE .'@isS'); -// http://doc.spip.org/@traiter_modeles +// http://code.spip.net/@traiter_modeles function traiter_modeles($texte, $doublons=false, $echap='', $connect='', $liens = null, $env = array()) { // preserver la compatibilite : true = recherche des documents if ($doublons===true) @@ -326,19 +326,19 @@ function traiter_modeles($texte, $doublons=false, $echap='', $connect='', $liens // // Raccourcis ancre [#ancre<-] // -// http://doc.spip.org/@traiter_raccourci_ancre +// http://code.spip.net/@traiter_raccourci_ancre function traiter_raccourci_ancre($letexte) { return $letexte; } -// http://doc.spip.org/@traiter_raccourci_glossaire +// http://code.spip.net/@traiter_raccourci_glossaire function traiter_raccourci_glossaire($texte) { return $texte; } -// http://doc.spip.org/@glossaire_std +// http://code.spip.net/@glossaire_std function glossaire_std($terme) { return $terme; diff --git a/ecrire/inc/lien_court.php b/ecrire/inc/lien_court.php index 5166ff8d83..0c0525df61 100644 --- a/ecrire/inc/lien_court.php +++ b/ecrire/inc/lien_court.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/lister_objets.php b/ecrire/inc/lister_objets.php index ae6c4b7583..b03639150a 100644 --- a/ecrire/inc/lister_objets.php +++ b/ecrire/inc/lister_objets.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/log.php b/ecrire/inc/log.php index 12c1bde209..ae15afbc95 100644 --- a/ecrire/inc/log.php +++ b/ecrire/inc/log.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/mail.php b/ecrire/inc/mail.php index 2db673d2fb..73dd01e920 100644 --- a/ecrire/inc/mail.php +++ b/ecrire/inc/mail.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/math.php b/ecrire/inc/math.php index ecbb5a0c04..6390ecea00 100644 --- a/ecrire/inc/math.php +++ b/ecrire/inc/math.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; // Gestion du raccourci <math>...</math> en client-serveur // -// http://doc.spip.org/@image_math +// http://code.spip.net/@image_math function produire_image_math($tex) { global $traiter_math; switch ($traiter_math) { @@ -75,7 +75,7 @@ function produire_image_math($tex) { // Fonction appelee par propre() s'il repere un mode <math> -// http://doc.spip.org/@traiter_math +// http://code.spip.net/@traiter_math function traiter_math($letexte, $source='') { $texte_a_voir = $letexte; diff --git a/ecrire/inc/meta.php b/ecrire/inc/meta.php index 0e4a7f5c50..6d6f99441d 100644 --- a/ecrire/inc/meta.php +++ b/ecrire/inc/meta.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -24,7 +24,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; // duree maximale du cache. Le double pour l'antidater define('_META_CACHE_TIME', 1<<24); -// http://doc.spip.org/@inc_meta_dist +// http://code.spip.net/@inc_meta_dist function inc_meta_dist($table='meta') { // Lire les meta, en cache si present, valide et lisible @@ -63,7 +63,7 @@ function inc_meta_dist($table='meta') // fonctions aussi appelees a l'install ==> spip_query en premiere requete // pour eviter l'erreur fatale (serveur non encore configure) -// http://doc.spip.org/@lire_metas +// http://code.spip.net/@lire_metas function lire_metas($table='meta') { if ($result = spip_query("SELECT nom,valeur FROM spip_$table")) { diff --git a/ecrire/inc/minipres.php b/ecrire/inc/minipres.php index d58ea2cbf0..8b6caf8791 100644 --- a/ecrire/inc/minipres.php +++ b/ecrire/inc/minipres.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/modifier.php b/ecrire/inc/modifier.php index fc3416dbe7..afc1267d92 100644 --- a/ecrire/inc/modifier.php +++ b/ecrire/inc/modifier.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/notifications.php b/ecrire/inc/notifications.php index 0a27f067ff..dd31e18a04 100644 --- a/ecrire/inc/notifications.php +++ b/ecrire/inc/notifications.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/pipelines.php b/ecrire/inc/pipelines.php index 7bea7ea38e..e773baa2ff 100644 --- a/ecrire/inc/pipelines.php +++ b/ecrire/inc/pipelines.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/pipelines_ecrire.php b/ecrire/inc/pipelines_ecrire.php index 2e1ebd68ee..645c1bad7a 100644 --- a/ecrire/inc/pipelines_ecrire.php +++ b/ecrire/inc/pipelines_ecrire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -28,7 +28,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * Cette fonction est appelée par le pipeline header_prive * * @see f_jQuery() - * @link http://doc.spip.org/@f_jQuery + * @link http://code.spip.net/@f_jQuery * * @param string $texte Contenu qui sera inséré dans le head HTML * @return string Contenu complété des scripts javascripts, dont jQuery @@ -91,7 +91,7 @@ function affichage_final_prive_title_auto($texte){ // Fonction standard pour le pipeline 'boite_infos' -// http://doc.spip.org/@f_boite_infos +// http://code.spip.net/@f_boite_infos function f_boite_infos($flux) { $args = $flux['args']; $type = $args['type']; diff --git a/ecrire/inc/plonger.php b/ecrire/inc/plonger.php index 7acfa93b4f..2975017ad7 100644 --- a/ecrire/inc/plonger.php +++ b/ecrire/inc/plonger.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('inc/texte'); -// http://doc.spip.org/@inc_plonger_dist +// http://code.spip.net/@inc_plonger_dist function inc_plonger_dist($id_rubrique, $idom="", $list=array(), $col = 1, $exclu=0, $do='aff') { global $spip_lang_left; diff --git a/ecrire/inc/plugin.php b/ecrire/inc/plugin.php index aeab128931..7b499330e8 100644 --- a/ecrire/inc/plugin.php +++ b/ecrire/inc/plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -28,7 +28,7 @@ include_spip('plugins/installer'); // $dir_plugins pour forcer un repertoire (ex: _DIR_PLUGINS_DIST) // _DIR_PLUGINS_SUPPL pour aller en chercher ailleurs // (chemin relatif a la racine du site) -// http://doc.spip.org/@liste_plugin_files +// http://code.spip.net/@liste_plugin_files function liste_plugin_files($dir_plugins = null){ static $plugin_files=array(); if (is_null($dir_plugins)) @@ -158,7 +158,7 @@ function plugin_version_compatible($intervalle, $version, $avec_quoi = '') { // Construire la liste des infos strictement necessaires aux plugins a activer // afin de les memoriser dans une meta pas trop grosse -// http://doc.spip.org/@liste_plugin_valides +// http://code.spip.net/@liste_plugin_valides function liste_plugin_valides($liste_plug, $force = false) { $liste_ext = liste_plugin_files(_DIR_PLUGINS_DIST); @@ -867,7 +867,7 @@ function pipeline_matrice_precompile($plugin_valides, $ordre, $pipe_recherche) } // precompilation des pipelines -// http://doc.spip.org/@pipeline_precompile +// http://code.spip.net/@pipeline_precompile function pipeline_precompile($prepend_code = array()){ global $spip_pipeline, $spip_matrice; @@ -910,7 +910,7 @@ function pipeline_precompile($prepend_code = array()){ } -// http://doc.spip.org/@plugin_est_installe +// http://code.spip.net/@plugin_est_installe function plugin_est_installe($plug_path){ $plugin_installes = isset($GLOBALS['meta']['plugin_installes'])?unserialize($GLOBALS['meta']['plugin_installes']):array(); if (!$plugin_installes) return false; diff --git a/ecrire/inc/precharger_article.php b/ecrire/inc/precharger_article.php index c884822fee..8b61ec1e75 100644 --- a/ecrire/inc/precharger_article.php +++ b/ecrire/inc/precharger_article.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/precharger_objet.php b/ecrire/inc/precharger_objet.php index 8e2d809938..ad137f5393 100644 --- a/ecrire/inc/precharger_objet.php +++ b/ecrire/inc/precharger_objet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/prepare_recherche.php b/ecrire/inc/prepare_recherche.php index 0a6026661c..3a3c8a4d90 100644 --- a/ecrire/inc/prepare_recherche.php +++ b/ecrire/inc/prepare_recherche.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/preselectionner_parent_nouvel_objet.php b/ecrire/inc/preselectionner_parent_nouvel_objet.php index 98996f022f..5e3f40b8c1 100644 --- a/ecrire/inc/preselectionner_parent_nouvel_objet.php +++ b/ecrire/inc/preselectionner_parent_nouvel_objet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/presentation.php b/ecrire/inc/presentation.php index edccddbd92..5f0752ff91 100644 --- a/ecrire/inc/presentation.php +++ b/ecrire/inc/presentation.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -27,7 +27,7 @@ include_spip('inc/puce_statut'); include_spip('inc/filtres_ecrire'); include_spip('inc/filtres_boites'); -// http://doc.spip.org/@debut_cadre +// http://code.spip.net/@debut_cadre function debut_cadre($style, $icone = "", $fonction = "", $titre = "", $id="", $class="", $padding=true) { $style_mapping=array('r'=>'simple','e'=>'raccourcis','couleur'=>'basic highlight','couleur-foncee'=>'basic highlight','trait-couleur'=>'important','alerte'=>'notice','info'=>'info','sous_rub'=>'simple sous-rub'); $style_titre_mapping=array('couleur'=>'topper','trait-couleur'=>'section'); @@ -57,7 +57,7 @@ function debut_cadre($style, $icone = "", $fonction = "", $titre = "", $id="", $ return boite_ouvrir($titre, $class,isset($style_titre_mapping[$style])?$style_titre_mapping[$style]:'',$id); } -// http://doc.spip.org/@fin_cadre +// http://code.spip.net/@fin_cadre function fin_cadre() {return boite_fermer();} @@ -89,14 +89,14 @@ function gros_titre($titre, $ze_logo=''){return "<h1 class='grostitre'>" . $ze_l // La boite des raccourcis // Se place a droite si l'ecran est en mode panoramique. -// http://doc.spip.org/@bloc_des_raccourcis +// http://code.spip.net/@bloc_des_raccourcis function bloc_des_raccourcis($bloc) { return creer_colonne_droite() . boite_ouvrir(_T('titre_cadre_raccourcis'),'raccourcis') . $bloc . boite_fermer(); } // Compatibilite -// http://doc.spip.org/@afficher_plus +// http://code.spip.net/@afficher_plus function afficher_plus($lien) {include_spip('inc/filtres_ecrire');afficher_plus_info($lien);} @@ -105,19 +105,19 @@ function afficher_plus($lien) {include_spip('inc/filtres_ecrire');afficher_plus_ // Fonctions d'affichage // -// http://doc.spip.org/@afficher_objets +// http://code.spip.net/@afficher_objets function afficher_objets($type, $titre_table,$requete,$formater='',$force=false){ $afficher_objets = charger_fonction('afficher_objets','inc'); return $afficher_objets($type, $titre_table,$requete,$formater,$force); } // Fonctions onglets -// http://doc.spip.org/@debut_onglet +// http://code.spip.net/@debut_onglet // @param string $sous_classe prend la valeur second pour definir les onglet de deuxieme niveau function debut_onglet($classe="barre_onglet"){return "<div class='$classe clearfix'><ul>\n";} -// http://doc.spip.org/@fin_onglet +// http://code.spip.net/@fin_onglet function fin_onglet(){return "</ul></div>\n";} -// http://doc.spip.org/@onglet +// http://code.spip.net/@onglet function onglet($texte, $lien, $onglet_ref, $onglet, $icone=""){ return "<li>" . ($icone?http_img_pack($icone, '', " class='cadre-icone'"):'') diff --git a/ecrire/inc/presentation_mini.php b/ecrire/inc/presentation_mini.php index 3de90b4010..d3e43f03cc 100644 --- a/ecrire/inc/presentation_mini.php +++ b/ecrire/inc/presentation_mini.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/presenter_enfants.php b/ecrire/inc/presenter_enfants.php index 3a21035f89..d31004ddd3 100644 --- a/ecrire/inc/presenter_enfants.php +++ b/ecrire/inc/presenter_enfants.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/puce_statut.php b/ecrire/inc/puce_statut.php index c566790eab..30679e932e 100644 --- a/ecrire/inc/puce_statut.php +++ b/ecrire/inc/puce_statut.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -235,7 +235,7 @@ function statut_texte_instituer($objet,$statut){ * Hack de compatibilite: les appels directs ont un $type != 'auteur' * si l'auteur ne peut pas se connecter * - * http://doc.spip.org/@puce_statut_auteur_dist + * http://code.spip.net/@puce_statut_auteur_dist * * @param int $id * @param string $statut @@ -264,7 +264,7 @@ function puce_statut_auteur_dist($id, $statut, $id_parent, $type, $ajax='', $men } -// http://doc.spip.org/@puce_statut_rubrique_dist +// http://code.spip.net/@puce_statut_rubrique_dist function puce_statut_rubrique_dist($id, $statut, $id_rubrique, $type, $ajax='',$menu_rapide=_ACTIVER_PUCE_RAPIDE) { return http_img_pack('rubrique-16.png', ''); } @@ -365,7 +365,7 @@ function puce_statut_changement_rapide($id, $statut, $id_rubrique, $type='articl } } -// http://doc.spip.org/@afficher_script_statut +// http://code.spip.net/@afficher_script_statut function afficher_script_statut($id, $type, $n, $img, $statut, $titre, $act='') { $h = generer_action_auteur("instituer_objet","$type-$id-$statut"); $h = "selec_statut('$id', '$type', $n, jQuery('img',this).attr('src'), '$h');return false;"; @@ -375,7 +375,7 @@ function afficher_script_statut($id, $type, $n, $img, $statut, $titre, $act='') // compat // La couleur du statut -// http://doc.spip.org/@puce_statut +// http://code.spip.net/@puce_statut function puce_statut($statut, $atts='') { $src = statut_image('article',$statut); diff --git a/ecrire/inc/queue.php b/ecrire/inc/queue.php index d09040188a..6435a82f76 100644 --- a/ecrire/inc/queue.php +++ b/ecrire/inc/queue.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/recherche_to_array.php b/ecrire/inc/recherche_to_array.php index 507dc349c3..b0ee402eb8 100644 --- a/ecrire/inc/recherche_to_array.php +++ b/ecrire/inc/recherche_to_array.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/rechercher.php b/ecrire/inc/rechercher.php index 1500b49ce9..abacd33573 100644 --- a/ecrire/inc/rechercher.php +++ b/ecrire/inc/rechercher.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -21,7 +21,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; // Donne la liste des champs/tables ou l'on sait chercher/remplacer // avec un poids pour le score -// http://doc.spip.org/@liste_des_champs +// http://code.spip.net/@liste_des_champs function liste_des_champs() { static $liste=null; if (is_null($liste)) { @@ -43,7 +43,7 @@ function liste_des_champs() { // Recherche des auteurs et mots-cles associes // en ne regardant que le titre ou le nom -// http://doc.spip.org/@liste_des_jointures +// http://code.spip.net/@liste_des_jointures function liste_des_jointures() { static $liste=null; if (is_null($liste)) { @@ -206,7 +206,7 @@ function expression_recherche($recherche, $options) { // - champs pour retourner les champs concernes // - score pour retourner un score // On peut passer les tables, ou une chaine listant les tables souhaitees -// http://doc.spip.org/@recherche_en_base +// http://code.spip.net/@recherche_en_base function recherche_en_base($recherche='', $tables=NULL, $options=array(), $serveur='') { include_spip('base/abstract_sql'); @@ -279,7 +279,7 @@ function recherche_en_base($recherche='', $tables=NULL, $options=array(), $serve // Effectue une recherche sur toutes les tables de la base de donnees -// http://doc.spip.org/@remplace_en_base +// http://code.spip.net/@remplace_en_base function remplace_en_base($recherche='', $remplace=NULL, $tables=NULL, $options=array()) { include_spip('inc/modifier'); diff --git a/ecrire/inc/rubriques.php b/ecrire/inc/rubriques.php index 9c7f3a9e19..810fe17584 100644 --- a/ecrire/inc/rubriques.php +++ b/ecrire/inc/rubriques.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/securiser_action.php b/ecrire/inc/securiser_action.php index 0a533a144d..2a55a87319 100644 --- a/ecrire/inc/securiser_action.php +++ b/ecrire/inc/securiser_action.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -69,7 +69,7 @@ function inc_securiser_action_dist($action='', $arg='', $redirect="", $mode=fals * @note * Attention: PHP applique urldecode sur $_GET mais pas sur $_POST * cf http://fr.php.net/urldecode#48481 - * http://doc.spip.org/@securiser_action_auteur + * http://code.spip.net/@securiser_action_auteur * * @uses calculer_action_auteur() * @uses generer_form_action() diff --git a/ecrire/inc/selectionner.php b/ecrire/inc/selectionner.php index fb17713440..907f878617 100644 --- a/ecrire/inc/selectionner.php +++ b/ecrire/inc/selectionner.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/session.php b/ecrire/inc/session.php index 6031bfb16c..11ba4cabcb 100644 --- a/ecrire/inc/session.php +++ b/ecrire/inc/session.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -29,7 +29,7 @@ $GLOBALS['visiteur_session'] = array(); # globale decrivant l'auteur * - tableau: cree une session pour l'auteur decrit et retourne l'identifiant * - bool: predicat de validite de la session indiquee par le cookie * - * http://doc.spip.org/@inc_session_dist + * http://code.spip.net/@inc_session_dist * * @param int|array|bool $auteur * @return bool|null|void @@ -55,7 +55,7 @@ function inc_session_dist($auteur=false) * et du meme coup des repertoires plats * Attention : id_auteur peut etre negatif (cas des auteurs temporaires pendant le dump) * - * http://doc.spip.org/@supprimer_sessions + * http://code.spip.net/@supprimer_sessions * * @param int $id_auteur * Identifiant d'auteur dont on veut supprimer les sessions @@ -190,7 +190,7 @@ function ajouter_session($auteur) { * * Retourne false en cas d'echec, l'id_auteur de la session si defini, null sinon * - * http://doc.spip.org/@verifier_session + * http://code.spip.net/@verifier_session * * @param bool $change * @return bool|int|null @@ -442,7 +442,7 @@ function preparer_ecriture_session($auteur){ /** * Ecrire le fichier d'une session * - * http://doc.spip.org/@ecrire_fichier_session + * http://code.spip.net/@ecrire_fichier_session * * @param string $fichier * @param array $auteur diff --git a/ecrire/inc/simplexml_to_array.php b/ecrire/inc/simplexml_to_array.php index fbb91d4010..d81ab2362f 100644 --- a/ecrire/inc/simplexml_to_array.php +++ b/ecrire/inc/simplexml_to_array.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/surligne.php b/ecrire/inc/surligne.php index 012db008b9..130981a50a 100644 --- a/ecrire/inc/surligne.php +++ b/ecrire/inc/surligne.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/texte.php b/ecrire/inc/texte.php index 7f3c0d70eb..8e3f650e1c 100644 --- a/ecrire/inc/texte.php +++ b/ecrire/inc/texte.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/texte_mini.php b/ecrire/inc/texte_mini.php index 0ee2c66bde..91d507db68 100644 --- a/ecrire/inc/texte_mini.php +++ b/ecrire/inc/texte_mini.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -71,7 +71,7 @@ if (!defined('_BALISES_BLOCS_REGEXP')) // Creer un bloc base64 correspondant a $rempl ; au besoin en marquant // une $source differente ; le script detecte automagiquement si ce qu'on // echappe est un div ou un span -// http://doc.spip.org/@code_echappement +// http://code.spip.net/@code_echappement function code_echappement($rempl, $source='', $no_transform=false, $mode=NULL) { if (!strlen($rempl)) return ''; @@ -95,13 +95,13 @@ function code_echappement($rempl, $source='', $no_transform=false, $mode=NULL) { // Echapper les <html>...</ html> -// http://doc.spip.org/@traiter_echap_html_dist +// http://code.spip.net/@traiter_echap_html_dist function traiter_echap_html_dist($regs) { return $regs[3]; } // Echapper les <code>...</ code> -// http://doc.spip.org/@traiter_echap_code_dist +// http://code.spip.net/@traiter_echap_code_dist function traiter_echap_code_dist($regs) { list(,,$att,$corps) = $regs; $echap = spip_htmlspecialchars($corps); // il ne faut pas passer dans entites_html, ne pas transformer les &#xxx; du code ! @@ -125,7 +125,7 @@ function traiter_echap_code_dist($regs) { } // Echapper les <cadre>...</ cadre> aka <frame>...</ frame> -// http://doc.spip.org/@traiter_echap_cadre_dist +// http://code.spip.net/@traiter_echap_cadre_dist function traiter_echap_cadre_dist($regs) { $echap = trim(entites_html($regs[3])); // compter les lignes un peu plus finement qu'avec les \n @@ -137,12 +137,12 @@ function traiter_echap_cadre_dist($regs) { $echap = "\n<textarea readonly='readonly' cols='40' rows='$n' class='spip_cadre' dir='ltr'>$echap</textarea>"; return $echap; } -// http://doc.spip.org/@traiter_echap_frame_dist +// http://code.spip.net/@traiter_echap_frame_dist function traiter_echap_frame_dist($regs) { return traiter_echap_cadre_dist($regs); } -// http://doc.spip.org/@traiter_echap_script_dist +// http://code.spip.net/@traiter_echap_script_dist function traiter_echap_script_dist($regs) { // rendre joli (et inactif) si c'est un script language=php if (preg_match(',<script\b[^>]+php,ims', $regs[0])) @@ -156,7 +156,7 @@ define('_PROTEGE_BLOCS', ',<(html|code|cadre|frame|script|style)(\s[^>]*)?>(.*)< // - pour $source voir commentaire infra (echappe_retour) // - pour $no_transform voir le filtre post_autobr dans inc/filtres -// http://doc.spip.org/@echappe_html +// http://code.spip.net/@echappe_html function echappe_html($letexte, $source='', $no_transform=false, $preg='') { if (!is_string($letexte) or !strlen($letexte)) @@ -215,7 +215,7 @@ $preg='') { // Traitement final des echappements // Rq: $source sert a faire des echappements "a soi" qui ne sont pas nettoyes // par propre() : exemple dans multi et dans typo() -// http://doc.spip.org/@echappe_retour +// http://code.spip.net/@echappe_retour function echappe_retour($letexte, $source='', $filtre = "") { if (strpos($letexte,"base64$source")) { # spip_log(spip_htmlspecialchars($letexte)); ## pour les curieux @@ -248,7 +248,7 @@ function echappe_retour($letexte, $source='', $filtre = "") { // Reinserer le javascript de confiance (venant des modeles) -// http://doc.spip.org/@echappe_retour_modeles +// http://code.spip.net/@echappe_retour_modeles function echappe_retour_modeles($letexte, $interdire_scripts=false) { $letexte = echappe_retour($letexte); @@ -360,7 +360,7 @@ function couper($texte, $taille=50, $suite = ' (...)') { } -// http://doc.spip.org/@protege_js_modeles +// http://code.spip.net/@protege_js_modeles function protege_js_modeles($t) { if (isset($GLOBALS['visiteur_session'])){ if (preg_match_all(',<script.*?($|</script.),isS', $t, $r, PREG_SET_ORDER)){ diff --git a/ecrire/inc/traduire.php b/ecrire/inc/traduire.php index 49ad65821e..505c2fe5c3 100644 --- a/ecrire/inc/traduire.php +++ b/ecrire/inc/traduire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/urls.php b/ecrire/inc/urls.php index 555e903d9d..cc6d5146b4 100644 --- a/ecrire/inc/urls.php +++ b/ecrire/inc/urls.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index ef946e4076..c5f4ff513d 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -181,7 +181,7 @@ function minipipe($fonc,&$val){ } // chargement du pipeline sous la forme d'un fichier php prepare -// http://doc.spip.org/@pipeline +// http://code.spip.net/@pipeline function pipeline($action, $val=null) { static $charger; @@ -489,7 +489,7 @@ function parametre_url($url, $c, $v=NULL, $sep='&') { // Prend une URL et lui ajoute/retire une ancre apres l'avoir nettoyee // pour l'ancre on translitere, vire les non alphanum du debut, // et on remplace ceux a l'interieur ou au bout par - -// http://doc.spip.org/@ancre_url +// http://code.spip.net/@ancre_url function ancre_url($url, $ancre) { // lever l'#ancre if (preg_match(',^([^#]*)(#.*)$,', $url, $r)) { @@ -506,7 +506,7 @@ function ancre_url($url, $ancre) { /** * pour le nom du cache, les types_urls et self - * http://doc.spip.org/@nettoyer_uri + * http://code.spip.net/@nettoyer_uri * * @param string|null $reset * @return string @@ -716,7 +716,7 @@ function _L($text, $args=array(), $class=null) { // Afficher "ecrire/data/" au lieu de "data/" dans les messages // ou tmp/ au lieu de ../tmp/ -// http://doc.spip.org/@joli_repertoire +// http://code.spip.net/@joli_repertoire function joli_repertoire($rep) { $a = substr($rep,0,1); if ($a<>'.' AND $a<>'/') @@ -729,7 +729,7 @@ function joli_repertoire($rep) { // // spip_timer : on l'appelle deux fois et on a la difference, affichable // -// http://doc.spip.org/@spip_timer +// http://code.spip.net/@spip_timer function spip_timer($t='rien', $raw = false) { static $time; $a=time(); $b=microtime(); @@ -757,7 +757,7 @@ function spip_timer($t='rien', $raw = false) { // Renvoie False si un fichier n'est pas plus vieux que $duree secondes, // sinon renvoie True et le date sauf si ca n'est pas souhaite -// http://doc.spip.org/@spip_touch +// http://code.spip.net/@spip_touch function spip_touch($fichier, $duree=0, $touch=true) { if ($duree) { clearstatcache(); @@ -778,7 +778,7 @@ function spip_touch($fichier, $duree=0, $touch=true) { // c'est plus rassurant. // C'est aussi plus discret qu'un <img> sous un navigateur non graphique. -// http://doc.spip.org/@action_cron +// http://code.spip.net/@action_cron function action_cron() { include_spip('inc/headers'); http_status(204); // No Content @@ -795,7 +795,7 @@ function action_cron() { * pas de verrou ici : les verrous sont geres sur chaque tache * a chaque execution * - * http://doc.spip.org/@cron + * http://code.spip.net/@cron * * @param array $taches * taches forcees @@ -919,7 +919,7 @@ function queue_sleep_time_to_next_job($force=null) { // transformation XML des "&" en "&" -// http://doc.spip.org/@quote_amp +// http://code.spip.net/@quote_amp function quote_amp($u) { return preg_replace( "/&(?![a-z]{0,4}\w{2,3};|#x?[0-9a-f]{2,6};)/i", @@ -1359,7 +1359,7 @@ function find_all_in_path($dir,$pattern, $recurs=false){ // predicat sur les scripts de ecrire qui n'authentifient pas par cookie -// http://doc.spip.org/@autoriser_sans_cookie +// http://code.spip.net/@autoriser_sans_cookie function autoriser_sans_cookie($nom) { static $autsanscookie = array('install', 'base_repair'); @@ -1454,7 +1454,7 @@ function generer_url_ecrire_entite_edit($id, $entite, $args='', $ancre=''){ return $url; } -// http://doc.spip.org/@urls_connect_dist +// http://code.spip.net/@urls_connect_dist function urls_connect_dist($i, &$entite, $args='', $ancre='', $public=null) { include_spip('base/connect_sql'); $id_type = id_table_objet($entite,$public); @@ -1484,7 +1484,7 @@ function urlencode_1738($url) { return quote_amp($url); } -// http://doc.spip.org/@generer_url_entite_absolue +// http://code.spip.net/@generer_url_entite_absolue function generer_url_entite_absolue($id='', $entite='', $args='', $ancre='', $connect=NULL) { if (!$connect) $connect = true; @@ -1498,7 +1498,7 @@ function generer_url_entite_absolue($id='', $entite='', $args='', $ancre='', $co // Sur certains serveurs, la valeur 'Off' tient lieu de false dans certaines // variables d'environnement comme $_SERVER[HTTPS] ou ini_get(register_globals) -// http://doc.spip.org/@test_valeur_serveur +// http://code.spip.net/@test_valeur_serveur function test_valeur_serveur($truc) { if (!$truc) return false; return (strtolower($truc) !== 'off'); @@ -1514,7 +1514,7 @@ function test_valeur_serveur($truc) { * indiquer le nombre de sous-repertoires de l'url courante par rapport a la * racine de SPIP : par exemple, sur ecrire/ elle vaut 1, sur sedna/ 1, et a * la racine 0. Sur url/perso/ elle vaut 2 - * http://doc.spip.org/@url_de_base + * http://code.spip.net/@url_de_base * * @param int|boo|array $profondeur * si non renseignee : retourne l'url pour la profondeur $GLOBALS['profondeur_url'] @@ -1630,7 +1630,7 @@ function generer_url_ecrire($script='', $args="", $no_entities=false, $rel=false return $rel . ($no_entities ? $args : str_replace('&', '&', $args)); } -// http://doc.spip.org/@generer_url_retour +// http://code.spip.net/@generer_url_retour function generer_url_retour($script, $args="") { return rawurlencode(generer_url_ecrire($script, $args, true, true)); @@ -1711,7 +1711,7 @@ function generer_url_public($script='', $args="", $no_entities=false, $rel=true, return ($rel ? _DIR_RACINE . $action : rtrim(url_de_base(),'/') . preg_replace(",^/[.]/,","/","/$action")); } -// http://doc.spip.org/@generer_url_prive +// http://code.spip.net/@generer_url_prive function generer_url_prive($script, $args="", $no_entities=false) { return generer_url_public($script, $args, $no_entities, false, _DIR_RESTREINT_ABS . 'prive.php'); @@ -1761,7 +1761,7 @@ function generer_form_ecrire($script, $corps, $atts='', $submit='') { * Attention, JS/Ajax n'aime pas le melange de param GET/POST * On n'applique pas la recommandation ci-dessus pour les scripts publics * qui ne sont pas destines a etre mis en signets - * http://doc.spip.org/@generer_form_action + * http://code.spip.net/@generer_form_action * * @param string $script * @param string $corps @@ -2207,7 +2207,7 @@ function spip_initialisation_suite(){ // Reperer les variables d'URL qui conditionnent la perennite du cache, des urls // ou d'autres petit caches (trouver_table, css et js compactes ...) -// http://doc.spip.org/@init_var_mode +// http://code.spip.net/@init_var_mode function init_var_mode(){ static $done = false; if (!$done) { @@ -2293,7 +2293,7 @@ function init_var_mode(){ // Annuler les magic quotes \' sur GET POST COOKIE et GLOBALS ; // supprimer aussi les eventuels caracteres nuls %00, qui peuvent tromper // la commande is_readable('chemin/vers/fichier/interdit%00truc_normal') -// http://doc.spip.org/@spip_desinfecte +// http://code.spip.net/@spip_desinfecte function spip_desinfecte(&$t,$deep = true) { static $magic_quotes; if (!isset($magic_quotes)) @@ -2313,7 +2313,7 @@ function spip_desinfecte(&$t,$deep = true) { // retourne le statut du visiteur s'il s'annonce -// http://doc.spip.org/@verifier_visiteur +// http://code.spip.net/@verifier_visiteur function verifier_visiteur() { // Rq: pour que cette fonction marche depuis mes_options // il faut forcer l'init si ce n'est fait @@ -2382,7 +2382,7 @@ function verifier_visiteur() { // Le noyau de Spip sait le faire, mais pour assurer la compatibilite // cette fonction retourne toujours non False -// http://doc.spip.org/@lang_select +// http://code.spip.net/@lang_select function lang_select ($lang=NULL) { static $pile_langues = array(); if (!function_exists('changer_langue')) @@ -2406,7 +2406,7 @@ function lang_select ($lang=NULL) { // est une chaine arbitraire // Cette chaine est courte (8 cars) pour pouvoir etre utilisee dans un nom // de fichier cache -// http://doc.spip.org/@spip_session +// http://code.spip.net/@spip_session function spip_session($force = false) { static $session; if ($force OR !isset($session)) { diff --git a/ecrire/inc/xml.php b/ecrire/inc/xml.php index 2d46868b31..56c1232137 100644 --- a/ecrire/inc/xml.php +++ b/ecrire/inc/xml.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -152,7 +152,7 @@ function spip_xml_parse(&$texte, $strict=true, $clean=true, $profondeur = -1){ return importer_charset($texte,$charset);//$texte; } -// http://doc.spip.org/@spip_xml_aplatit +// http://code.spip.net/@spip_xml_aplatit function spip_xml_aplatit($arbre,$separateur = " "){ $s = ""; if (is_array($arbre)) @@ -177,13 +177,13 @@ function spip_xml_aplatit($arbre,$separateur = " "){ return strlen($separateur) ? substr($s, 0, -strlen($separateur)) : $s; } -// http://doc.spip.org/@spip_xml_tagname +// http://code.spip.net/@spip_xml_tagname function spip_xml_tagname($tag){ if (preg_match(',^([a-z][\w:]*),i',$tag,$reg)) return $reg[1]; return ""; } -// http://doc.spip.org/@spip_xml_decompose_tag +// http://code.spip.net/@spip_xml_decompose_tag function spip_xml_decompose_tag($tag){ $tagname = spip_xml_tagname($tag); $liste = array(); diff --git a/ecrire/inc_version.php b/ecrire/inc_version.php index 1e3ae906fc..f0a1d2cb22 100644 --- a/ecrire/inc_version.php +++ b/ecrire/inc_version.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -255,7 +255,7 @@ $controler_dates_rss = true; # ils seront compiles par la suite # note: un pipeline non reference se compile aussi, mais uniquement # lorsqu'il est rencontre -// http://doc.spip.org/@Tuto-Se-servir-des-points-d-entree +// http://code.spip.net/@Tuto-Se-servir-des-points-d-entree $spip_pipeline = array(); # la matrice standard (fichiers definissant les fonctions a inclure) diff --git a/ecrire/index.php b/ecrire/index.php index 0711b3bdfe..16303656cd 100644 --- a/ecrire/index.php +++ b/ecrire/index.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/install/etape_.php b/ecrire/install/etape_.php index ae359aa251..08f4873591 100644 --- a/ecrire/install/etape_.php +++ b/ecrire/install/etape_.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/install/etape_1.php b/ecrire/install/etape_1.php index ea7cb56c00..934eabe2ac 100644 --- a/ecrire/install/etape_1.php +++ b/ecrire/install/etape_1.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/install/etape_2.php b/ecrire/install/etape_2.php index a6042aa51d..785c05679f 100644 --- a/ecrire/install/etape_2.php +++ b/ecrire/install/etape_2.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('base/abstract_sql'); -// http://doc.spip.org/@install_etape_2_dist +// http://code.spip.net/@install_etape_2_dist function install_etape_2_dist() { $adresse_db = defined('_INSTALL_HOST_DB') @@ -98,7 +98,7 @@ function install_etape_2_dist() // Liste les bases accessibles, // avec une heuristique pour preselectionner la plus probable -// http://doc.spip.org/@install_etape_2_bases +// http://code.spip.net/@install_etape_2_bases function install_etape_2_bases($login_db, $server_db) { $res = install_etape_liste_bases($server_db, $login_db); @@ -146,7 +146,7 @@ function install_etape_2_bases($login_db, $server_db) return array($checked, $res); } -// http://doc.spip.org/@install_etape_2_form +// http://code.spip.net/@install_etape_2_form function install_etape_2_form($hidden, $checked, $res, $etape) { return generer_form_ecrire('install', ( diff --git a/ecrire/install/etape_3.php b/ecrire/install/etape_3.php index 8d41617984..ddf1fa58eb 100644 --- a/ecrire/install/etape_3.php +++ b/ecrire/install/etape_3.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -15,7 +15,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('inc/headers'); include_spip('base/abstract_sql'); -// http://doc.spip.org/@install_bases +// http://code.spip.net/@install_bases function install_bases($adresse_db, $login_db, $pass_db, $server_db, $choix_db, $sel_db, $chmod_db){ global $spip_version_base; @@ -172,7 +172,7 @@ function install_bases($adresse_db, $login_db, $pass_db, $server_db, $choix_db, return ''; } -// http://doc.spip.org/@install_propose_ldap +// http://code.spip.net/@install_propose_ldap function install_propose_ldap() { return generer_form_ecrire('install', ( @@ -188,7 +188,7 @@ function install_propose_ldap() } -// http://doc.spip.org/@install_premier_auteur +// http://code.spip.net/@install_premier_auteur function install_premier_auteur($email, $login, $nom, $pass, $hidden, $auteur_obligatoire) { return info_progression_etape(3,'etape_','install/') . @@ -241,7 +241,7 @@ function install_premier_auteur($email, $login, $nom, $pass, $hidden, $auteur_ob . bouton_suivant())); } -// http://doc.spip.org/@install_etape_3_dist +// http://code.spip.net/@install_etape_3_dist function install_etape_3_dist() { $ldap_present = _request('ldap_present'); diff --git a/ecrire/install/etape_3b.php b/ecrire/install/etape_3b.php index 7057bbd635..5c703d47f2 100644 --- a/ecrire/install/etape_3b.php +++ b/ecrire/install/etape_3b.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/install/etape_4.php b/ecrire/install/etape_4.php index e0ba060317..d9d01e0f06 100644 --- a/ecrire/install/etape_4.php +++ b/ecrire/install/etape_4.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('inc/headers'); -// http://doc.spip.org/@install_etape_4_dist +// http://code.spip.net/@install_etape_4_dist function install_etape_4_dist() { diff --git a/ecrire/install/etape_chmod.php b/ecrire/install/etape_chmod.php index 9c257402a4..6f2555fa07 100644 --- a/ecrire/install/etape_chmod.php +++ b/ecrire/install/etape_chmod.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -21,7 +21,7 @@ utiliser_langue_visiteur(); // // Tente d'ecrire // -// http://doc.spip.org/@test_ecrire +// http://code.spip.net/@test_ecrire function test_ecrire($my_dir) { static $chmod = 0; @@ -70,7 +70,7 @@ function test_ecrire($my_dir) { // rajouter celui passe dans l'url ou celui du source (a l'installation) // -// http://doc.spip.org/@install_etape_chmod_dist +// http://code.spip.net/@install_etape_chmod_dist function install_etape_chmod_dist() { global $test_dirs; diff --git a/ecrire/install/etape_fin.php b/ecrire/install/etape_fin.php index cb3cec6541..ad7e0a1a04 100644 --- a/ecrire/install/etape_fin.php +++ b/ecrire/install/etape_fin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -17,7 +17,7 @@ include_spip('inc/acces'); // Mise en place des fichiers de configuration si ce n'est fait -// http://doc.spip.org/@install_etape_fin_dist +// http://code.spip.net/@install_etape_fin_dist function install_etape_fin_dist() { ecrire_acces(); diff --git a/ecrire/install/etape_ldap1.php b/ecrire/install/etape_ldap1.php index 4acbac55ed..bd72b65915 100644 --- a/ecrire/install/etape_ldap1.php +++ b/ecrire/install/etape_ldap1.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -12,7 +12,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; -// http://doc.spip.org/@install_etape_ldap1_dist +// http://code.spip.net/@install_etape_ldap1_dist function install_etape_ldap1_dist() { $adresse_ldap = defined('_INSTALL_HOST_LDAP') diff --git a/ecrire/install/etape_ldap2.php b/ecrire/install/etape_ldap2.php index b6ce021fd0..8ee82dfc1d 100644 --- a/ecrire/install/etape_ldap2.php +++ b/ecrire/install/etape_ldap2.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -13,7 +13,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; -// http://doc.spip.org/@install_etape_ldap2_dist +// http://code.spip.net/@install_etape_ldap2_dist function install_etape_ldap2_dist() { echo install_debut_html('AUTO', ' onload="document.getElementById(\'suivant\').focus();return false;"'); diff --git a/ecrire/install/etape_ldap3.php b/ecrire/install/etape_ldap3.php index 4f8b61c30e..844413a110 100644 --- a/ecrire/install/etape_ldap3.php +++ b/ecrire/install/etape_ldap3.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -13,7 +13,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; -// http://doc.spip.org/@install_etape_ldap3_dist +// http://code.spip.net/@install_etape_ldap3_dist function install_etape_ldap3_dist() { $adresse_ldap = _request('adresse_ldap'); diff --git a/ecrire/install/etape_ldap4.php b/ecrire/install/etape_ldap4.php index 23223ce740..3198beec9b 100644 --- a/ecrire/install/etape_ldap4.php +++ b/ecrire/install/etape_ldap4.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('auth/ldap'); -// http://doc.spip.org/@install_etape_ldap4_dist +// http://code.spip.net/@install_etape_ldap4_dist function install_etape_ldap4_dist() { $adresse_ldap = _request('adresse_ldap'); @@ -71,7 +71,7 @@ function install_etape_ldap4_dist() echo install_fin_html(); } -// http://doc.spip.org/@liste_statuts_ldap +// http://code.spip.net/@liste_statuts_ldap function liste_statuts_ldap() { $recom = array("info_administrateurs" => ("<b>" ._T('info_administrateur_1')."</b> "._T('info_administrateur_2')."<br />"), "info_redacteurs" => ("<b>"._T('info_redacteur_1')."</b> "._T('info_redacteur_2')."<br />"), diff --git a/ecrire/install/etape_ldap5.php b/ecrire/install/etape_ldap5.php index 9a3bd0b3d2..845c58005d 100644 --- a/ecrire/install/etape_ldap5.php +++ b/ecrire/install/etape_ldap5.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('inc/headers'); include_spip('auth/ldap'); -// http://doc.spip.org/@install_etape_ldap5_dist +// http://code.spip.net/@install_etape_ldap5_dist function install_etape_ldap5_dist() { etape_ldap5_save(); diff --git a/ecrire/iterateur/condition.php b/ecrire/iterateur/condition.php index 8b2d4b65e3..d3864a3dbc 100644 --- a/ecrire/iterateur/condition.php +++ b/ecrire/iterateur/condition.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/iterateur/data.php b/ecrire/iterateur/data.php index cb5a297c3d..c748f080dd 100644 --- a/ecrire/iterateur/data.php +++ b/ecrire/iterateur/data.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/iterateur/php.php b/ecrire/iterateur/php.php index 2bc4eb9764..60728c3043 100644 --- a/ecrire/iterateur/php.php +++ b/ecrire/iterateur/php.php @@ -4,7 +4,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/iterateur/pour.php b/ecrire/iterateur/pour.php index 8c806c0ecc..03a5440140 100644 --- a/ecrire/iterateur/pour.php +++ b/ecrire/iterateur/pour.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/iterateur/sql.php b/ecrire/iterateur/sql.php index 5c2a262043..0ad6aa1735 100644 --- a/ecrire/iterateur/sql.php +++ b/ecrire/iterateur/sql.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/svn10000.php b/ecrire/maj/svn10000.php index 022d82f96e..aafec47fdc 100644 --- a/ecrire/maj/svn10000.php +++ b/ecrire/maj/svn10000.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v009.php b/ecrire/maj/v009.php index 3e2f565c72..29b8ab83b2 100644 --- a/ecrire/maj/v009.php +++ b/ecrire/maj/v009.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v010.php b/ecrire/maj/v010.php index 27ac9c7571..08226f98e9 100644 --- a/ecrire/maj/v010.php +++ b/ecrire/maj/v010.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v011.php b/ecrire/maj/v011.php index 8bb3bc04d0..98cb2845f0 100644 --- a/ecrire/maj/v011.php +++ b/ecrire/maj/v011.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v012.php b/ecrire/maj/v012.php index 53e964d0f8..95275b9819 100644 --- a/ecrire/maj/v012.php +++ b/ecrire/maj/v012.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v013.php b/ecrire/maj/v013.php index 4c8b264fa8..4b6c581c5b 100644 --- a/ecrire/maj/v013.php +++ b/ecrire/maj/v013.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v014.php b/ecrire/maj/v014.php index 8e321c4942..38761b6fd2 100644 --- a/ecrire/maj/v014.php +++ b/ecrire/maj/v014.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v015.php b/ecrire/maj/v015.php index 4c86e5fc01..1b8259b217 100644 --- a/ecrire/maj/v015.php +++ b/ecrire/maj/v015.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v016.php b/ecrire/maj/v016.php index 20307b054a..d2505b388b 100644 --- a/ecrire/maj/v016.php +++ b/ecrire/maj/v016.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v017.php b/ecrire/maj/v017.php index 1e9b89c3ce..731fddf6e1 100644 --- a/ecrire/maj/v017.php +++ b/ecrire/maj/v017.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v018.php b/ecrire/maj/v018.php index 8fa6811ebe..0d40807e7d 100644 --- a/ecrire/maj/v018.php +++ b/ecrire/maj/v018.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v019.php b/ecrire/maj/v019.php index 5070f8989b..dee8216d48 100644 --- a/ecrire/maj/v019.php +++ b/ecrire/maj/v019.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/maj/v019_pre193.php b/ecrire/maj/v019_pre193.php index ee8ce793aa..51550454c9 100644 --- a/ecrire/maj/v019_pre193.php +++ b/ecrire/maj/v019_pre193.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/notifications/instituerarticle.php b/ecrire/notifications/instituerarticle.php index daba95bced..74588d17aa 100644 --- a/ecrire/notifications/instituerarticle.php +++ b/ecrire/notifications/instituerarticle.php @@ -10,7 +10,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; // Fonction appelee par divers pipelines -// http://doc.spip.org/@notifications_instituerarticle_dist +// http://code.spip.net/@notifications_instituerarticle_dist function notifications_instituerarticle_dist($quoi, $id_article, $options) { // ne devrait jamais se produire diff --git a/ecrire/plugins/afficher_liste.php b/ecrire/plugins/afficher_liste.php index 6aa7b1b3c1..ace2998fb2 100644 --- a/ecrire/plugins/afficher_liste.php +++ b/ecrire/plugins/afficher_liste.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -15,7 +15,7 @@ include_spip('inc/charsets'); /** * Afficher une liste de plugins dans l'interface - * http://doc.spip.org/@affiche_liste_plugins + * http://code.spip.net/@affiche_liste_plugins * * @param string $url_page * @param array $liste_plugins @@ -87,7 +87,7 @@ function plugins_afficher_liste_dist($url_page,$liste_plugins, $liste_plugins_ch } -// http://doc.spip.org/@affiche_block_initiale +// http://code.spip.net/@affiche_block_initiale function affiche_block_initiale($initiale,$block,$block_actif){ if (strlen($block)){ return "<li class='item'>" diff --git a/ecrire/plugins/afficher_nom_plugin.php b/ecrire/plugins/afficher_nom_plugin.php index ae074d22f1..fe78edd69e 100644 --- a/ecrire/plugins/afficher_nom_plugin.php +++ b/ecrire/plugins/afficher_nom_plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -15,7 +15,7 @@ include_spip('inc/charsets'); include_spip('inc/texte'); include_spip('plugins/afficher_plugin'); -// http://doc.spip.org/@ligne_plug +// http://code.spip.net/@ligne_plug function plugins_afficher_nom_plugin_dist($url_page, $plug_file, $checked, $actif, $expose=false, $class_li="item", $dir_plugins=_DIR_PLUGINS){ static $id_input=0; static $versions = array(); diff --git a/ecrire/plugins/afficher_plugin.php b/ecrire/plugins/afficher_plugin.php index 9263d090d5..f0cef256b6 100644 --- a/ecrire/plugins/afficher_plugin.php +++ b/ecrire/plugins/afficher_plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -21,7 +21,7 @@ include_spip('inc/charsets'); include_spip('inc/texte'); include_spip('inc/plugin'); // pour plugin_est_installe -// http://doc.spip.org/@ligne_plug +// http://code.spip.net/@ligne_plug function plugins_afficher_plugin_dist($url_page, $plug_file, $checked, $actif, $expose=false, $class_li="item", $dir_plugins=_DIR_PLUGINS) { static $id_input = 0; @@ -194,7 +194,7 @@ function plugin_etat_en_clair($etat){ return _T('plugin_etat_'.$etat); } -// http://doc.spip.org/@plugin_propre +// http://code.spip.net/@plugin_propre function plugin_propre($texte, $module='') { // retirer le retour a la racine du module, car le find_in_path se fait depuis la racine if (_DIR_RACINE AND strncmp($module,_DIR_RACINE,strlen(_DIR_RACINE))==0) @@ -207,7 +207,7 @@ function plugin_propre($texte, $module='') { -// http://doc.spip.org/@affiche_bloc_plugin +// http://code.spip.net/@affiche_bloc_plugin function affiche_bloc_plugin($plug_file, $info, $dir_plugins=null) { if (!$dir_plugins) $dir_plugins = _DIR_PLUGINS; diff --git a/ecrire/plugins/afficher_repertoires.php b/ecrire/plugins/afficher_repertoires.php index d3bdef73fd..ee76c0fab6 100644 --- a/ecrire/plugins/afficher_repertoires.php +++ b/ecrire/plugins/afficher_repertoires.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -12,7 +12,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; -// http://doc.spip.org/@affiche_arbre_plugins +// http://code.spip.net/@affiche_arbre_plugins function plugins_afficher_repertoires_dist($url_page, $liste_plugins, $liste_plugins_actifs){ $ligne_plug = charger_fonction('afficher_plugin','plugins'); $racine = basename(_DIR_PLUGINS); @@ -68,12 +68,12 @@ function plugins_afficher_repertoires_dist($url_page, $liste_plugins, $liste_plu // vraiment n'importe quoi la gestion des chemins des plugins // une fonction pour aider... -// http://doc.spip.org/@chemin_plug +// http://code.spip.net/@chemin_plug function chemin_plug($racine, $plug) { return preg_replace(',[^/]+/\.\./,', '', "$racine/$plug"); } -// http://doc.spip.org/@tree_open_close_dir +// http://code.spip.net/@tree_open_close_dir function tree_open_close_dir(&$current,$target,$deplie=array()){ if ($current == $target) return ""; $tcur = explode("/",$current); diff --git a/ecrire/plugins/extraire_boutons.php b/ecrire/plugins/extraire_boutons.php index fdb761bc7e..205a4d1a7e 100644 --- a/ecrire/plugins/extraire_boutons.php +++ b/ecrire/plugins/extraire_boutons.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/plugins/extraire_pipelines.php b/ecrire/plugins/extraire_pipelines.php index aef46b197e..8f9de7e0b7 100644 --- a/ecrire/plugins/extraire_pipelines.php +++ b/ecrire/plugins/extraire_pipelines.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/plugins/get_infos.php b/ecrire/plugins/get_infos.php index a8b1da40bc..da813f09cc 100644 --- a/ecrire/plugins/get_infos.php +++ b/ecrire/plugins/get_infos.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/plugins/infos_paquet.php b/ecrire/plugins/infos_paquet.php index 1f7b17dbd6..b55f52ed87 100644 --- a/ecrire/plugins/infos_paquet.php +++ b/ecrire/plugins/infos_paquet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/plugins/infos_plugin.php b/ecrire/plugins/infos_plugin.php index 3b0b4738d9..babaa2cb86 100644 --- a/ecrire/plugins/infos_plugin.php +++ b/ecrire/plugins/infos_plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/plugins/installer.php b/ecrire/plugins/installer.php index 259a15a671..3932303766 100644 --- a/ecrire/plugins/installer.php +++ b/ecrire/plugins/installer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -101,7 +101,7 @@ function plugins_installer_dist($plug, $action, $dir_type='_DIR_PLUGINS') // Fonction par defaut pour install/desinstall -// http://doc.spip.org/@spip_plugin_install +// http://code.spip.net/@spip_plugin_install function spip_plugin_install($action, $infos, $version_cible){ $prefix = $infos['prefix']; if (isset($infos['meta']) AND (($table = $infos['meta']) !== 'meta')) diff --git a/ecrire/plugins/verifie_conformite.php b/ecrire/plugins/verifie_conformite.php index 2934a5f9cf..4308db8284 100644 --- a/ecrire/plugins/verifie_conformite.php +++ b/ecrire/plugins/verifie_conformite.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -15,7 +15,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('inc/xml'); include_spip('inc/plugin'); -// http://doc.spip.org/@plugin_verifie_conformite +// http://code.spip.net/@plugin_verifie_conformite function plugins_verifie_conformite_dist($plug, &$arbre, $dir_plugins = _DIR_PLUGINS){ static $etats = array('dev','experimental','test', 'stable'); diff --git a/ecrire/prive.php b/ecrire/prive.php index c3bf5a69a0..4df445f1fc 100644 --- a/ecrire/prive.php +++ b/ecrire/prive.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public.php b/ecrire/public.php index 5301a34846..93ae5351d8 100644 --- a/ecrire/public.php +++ b/ecrire/public.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/admin.php b/ecrire/public/admin.php index 9b67d7a7a2..d04aa45f20 100644 --- a/ecrire/public/admin.php +++ b/ecrire/public/admin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/aiguiller.php b/ecrire/public/aiguiller.php index f81aa7392c..8a20cec969 100644 --- a/ecrire/public/aiguiller.php +++ b/ecrire/public/aiguiller.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -27,7 +27,7 @@ function securiser_redirect_action($redirect){ return $redirect; } -// http://doc.spip.org/@traiter_appels_actions +// http://code.spip.net/@traiter_appels_actions function traiter_appels_actions(){ // cas de l'appel qui renvoie une redirection (302) ou rien (204) if ($action = _request('action')) { @@ -86,7 +86,7 @@ function traiter_appels_actions(){ } -// http://doc.spip.org/@refuser_traiter_formulaire_ajax +// http://code.spip.net/@refuser_traiter_formulaire_ajax function refuser_traiter_formulaire_ajax(){ if ($v=_request('var_ajax') AND $v=='form' @@ -103,7 +103,7 @@ function refuser_traiter_formulaire_ajax(){ } } -// http://doc.spip.org/@traiter_appels_inclusions_ajax +// http://code.spip.net/@traiter_appels_inclusions_ajax function traiter_appels_inclusions_ajax(){ // traiter les appels de bloc ajax (ex: pagination) if ($v = _request('var_ajax') @@ -139,7 +139,7 @@ function traiter_appels_inclusions_ajax(){ // au 2e se sachant 2e, retourne les messages et erreurs stockes au 1er // Le 1er renvoie True si il faut faire exit a la sortie -// http://doc.spip.org/@traiter_formulaires_dynamiques +// http://code.spip.net/@traiter_formulaires_dynamiques function traiter_formulaires_dynamiques($get=false){ static $post = array(); static $done = false; diff --git a/ecrire/public/assembler.php b/ecrire/public/assembler.php index 34f4fba521..715df4a154 100644 --- a/ecrire/public/assembler.php +++ b/ecrire/public/assembler.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -19,7 +19,7 @@ if (!defined('_CONTEXTE_IGNORE_VARIABLES')) define('_CONTEXTE_IGNORE_VARIABLES', // grace a la fonction de passage d'URL a id (reciproque dans urls/*php) // -// http://doc.spip.org/@assembler +// http://code.spip.net/@assembler function assembler($fond, $connect='') { // flag_preserver est modifie ici, et utilise en globale @@ -157,7 +157,7 @@ function assembler($fond, $connect='') { // il est recommande de modifier $_GET['toto'] (meme si la page est // appelee avec la methode POST). // -// http://doc.spip.org/@calculer_contexte +// http://code.spip.net/@calculer_contexte function calculer_contexte() { $contexte = array(); @@ -201,7 +201,7 @@ function calculer_contexte_implicite(){ // fonction pour compatibilite arriere, probablement superflue // -// http://doc.spip.org/@auto_content_type +// http://code.spip.net/@auto_content_type function auto_content_type($page) { global $flag_preserver; @@ -211,7 +211,7 @@ function auto_content_type($page) } } -// http://doc.spip.org/@inclure_page +// http://code.spip.net/@inclure_page function inclure_page($fond, $contexte, $connect='') { static $cacher, $produire_page; global $lastmodified; @@ -306,7 +306,7 @@ function inserer_balise_dynamique($contexte_exec, $contexte_compil) // Attention, un appel explicite a cette fonction suppose certains include // $echo = faut-il faire echo ou return -// http://doc.spip.org/@inclure_balise_dynamique +// http://code.spip.net/@inclure_balise_dynamique function inclure_balise_dynamique($texte, $echo=true, $contexte_compil=array()) { if (is_array($texte)) { @@ -365,7 +365,7 @@ function inclure_balise_dynamique($texte, $echo=true, $contexte_compil=array()) } -// http://doc.spip.org/@message_page_indisponible +// http://code.spip.net/@message_page_indisponible function message_page_indisponible ($page, $contexte) { static $deja = false; if ($deja) return "erreur"; @@ -396,7 +396,7 @@ function message_page_indisponible ($page, $contexte) { // temporairement ici : a mettre dans le futur inc/modeles // creer_contexte_de_modele('left', 'autostart=true', ...) renvoie un array() -// http://doc.spip.org/@creer_contexte_de_modele +// http://code.spip.net/@creer_contexte_de_modele function creer_contexte_de_modele($args) { $contexte = array(); foreach ($args as $var=>$val) { @@ -420,7 +420,7 @@ function creer_contexte_de_modele($args) { } // Calcule le modele et retourne la mini-page ainsi calculee -// http://doc.spip.org/@inclure_modele +// http://code.spip.net/@inclure_modele function inclure_modele($type, $id, $params, $lien, $connect='', $env=array()) { static $compteur; @@ -511,7 +511,7 @@ function inclure_modele($type, $id, $params, $lien, $connect='', $env=array()) { // fonction interne a spip, ne pas appeler directement // pour recuperer $page complet, utiliser: // recuperer_fond($fond,$contexte,array('raw'=>true)) -// http://doc.spip.org/@evaluer_fond +// http://code.spip.net/@evaluer_fond function evaluer_fond ($fond, $contexte=array(), $connect=null) { $page = inclure_page($fond, $contexte, $connect); @@ -533,7 +533,7 @@ function evaluer_fond ($fond, $contexte=array(), $connect=null) { } -// http://doc.spip.org/@page_base_href +// http://code.spip.net/@page_base_href function page_base_href(&$texte){ static $set_html_base = null; if (is_null($set_html_base)){ @@ -590,7 +590,7 @@ function page_base_href(&$texte){ // Envoyer les entetes, en retenant ceux qui sont a usage interne // et demarrent par X-Spip-... -// http://doc.spip.org/@envoyer_entetes +// http://code.spip.net/@envoyer_entetes function envoyer_entetes($entetes) { foreach ($entetes as $k => $v) # if (strncmp($k, 'X-Spip-', 7)) diff --git a/ecrire/public/balises.php b/ecrire/public/balises.php index d111e50e27..ee2e3c5d7f 100644 --- a/ecrire/public/balises.php +++ b/ecrire/public/balises.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/boucles.php b/ecrire/public/boucles.php index cf16eede4f..40f0352747 100644 --- a/ecrire/public/boucles.php +++ b/ecrire/public/boucles.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/cacher.php b/ecrire/public/cacher.php index d5396f3714..89085a3fdd 100644 --- a/ecrire/public/cacher.php +++ b/ecrire/public/cacher.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * Attention a modifier simultanement le sanity check de * la fonction retire_cache() de inc/invalideur * - * http://doc.spip.org/@generer_nom_fichier_cache + * http://code.spip.net/@generer_nom_fichier_cache * * @param array $contexte * @param array $page @@ -78,7 +78,7 @@ function cache_signature(&$page) { * (pas de passage par reference car on veut conserver la version non compressee * pour l'afficher) * on positionne un flag gz si on comprime, pour savoir si on doit decompresser ou pas - * http://doc.spip.org/@gzip_page + * http://code.spip.net/@gzip_page * * @param array $page * @return array @@ -99,7 +99,7 @@ function gzip_page($page) { * on met a jour le flag gz quand on decompresse, pour ne pas risquer * de decompresser deux fois de suite un cache (ce qui echoue) * - * http://doc.spip.org/@gunzip_page + * http://code.spip.net/@gunzip_page * * @param array $page * @return void @@ -122,7 +122,7 @@ function gunzip_page(&$page) { * 0 si le cache est valide * -1 si il faut calculer sans stocker en cache */ -/// http://doc.spip.org/@cache_valide +/// http://code.spip.net/@cache_valide function cache_valide(&$page, $date) { $now = $_SERVER['REQUEST_TIME']; @@ -178,7 +178,7 @@ function cache_valide(&$page, $date) { * Creer le fichier cache * Passage par reference de $page par souci d'economie * - * http://doc.spip.org/@creer_cache + * http://code.spip.net/@creer_cache * * @param array $page * @param string $chemin_cache @@ -236,7 +236,7 @@ function creer_cache(&$page, &$chemin_cache) { * purger un petit cache (tidy ou recherche) qui ne doit pas contenir de * vieux fichiers ; (cette fonction ne sert que dans des plugins obsoletes) * - * http://doc.spip.org/@nettoyer_petit_cache + * http://code.spip.net/@nettoyer_petit_cache * * @param string $prefix * @param int $duree @@ -269,7 +269,7 @@ function nettoyer_petit_cache($prefix, $duree = 300) { * Elle retourne '' si tout va bien * un message d'erreur si le calcul de la page est totalement impossible * - * http://doc.spip.org/@public_cacher_dist + * http://code.spip.net/@public_cacher_dist * * @param array $contexte * @param int $use_cache diff --git a/ecrire/public/compiler.php b/ecrire/public/compiler.php index d4a9a5577d..47f41d500e 100644 --- a/ecrire/public/compiler.php +++ b/ecrire/public/compiler.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -56,7 +56,7 @@ include_spip('public/jointures'); // mais pas pour <INCLURE> dont le fond est defini explicitement. -// http://doc.spip.org/@argumenter_inclure +// http://code.spip.net/@argumenter_inclure function argumenter_inclure($params, $rejet_filtres, $p, &$boucles, $id_boucle, $echap=true, $lang = '', $fond1=false){ $l = array(); $erreur_p_i_i = ''; @@ -738,7 +738,7 @@ function calculer_dump_array($a) } } -// http://doc.spip.org/@calculer_dump_join +// http://code.spip.net/@calculer_dump_join function calculer_dump_join($a) { $res = ""; @@ -778,7 +778,7 @@ function calculer_from_type(&$boucle) return 'array(' . substr($res,1) . ')'; } -// http://doc.spip.org/@calculer_order +// http://code.spip.net/@calculer_order function calculer_order(&$boucle) { if (!$order = $boucle->order @@ -799,7 +799,7 @@ function calculer_order(&$boucle) // Retourne une expression PHP, // (qui sera argument d'un Return ou la partie droite d'une affectation). -// http://doc.spip.org/@calculer_liste +// http://code.spip.net/@calculer_liste function calculer_liste($tableau, $descr, &$boucles, $id_boucle='') { if (!$tableau) return "''"; if (!isset($descr['niv'])) $descr['niv'] = 0; @@ -833,7 +833,7 @@ define('_REGEXP_COND_VIDE_NONVIDE',"/^[(](.*)[?]\s*''\s*:\s*('[^']+')\s*[)]$/"); define('_REGEXP_COND_NONVIDE_VIDE',"/^[(](.*)[?]\s*('[^']+')\s*:\s*''\s*[)]$/"); define('_REGEXP_CONCAT_NON_VIDE', "/^(.*)[.]\s*'[^']+'\s*$/"); -// http://doc.spip.org/@compile_cas +// http://code.spip.net/@compile_cas function compile_cas($tableau, $descr, &$boucles, $id_boucle) { $codes = array(); @@ -1010,7 +1010,7 @@ function compile_cas($tableau, $descr, &$boucles, $id_boucle) { // mais si EXP est de la forme (t ? 'C' : '') on produit (t ? (p . C . s) : a) // de meme si EXP est de la forme (t ? '' : 'C') -// http://doc.spip.org/@compile_retour +// http://code.spip.net/@compile_retour function compile_retour($code, $avant, $apres, $altern, $tab, $n) { if ($avant == "''") $avant = ''; @@ -1065,7 +1065,7 @@ function compile_inclure_doublons($lexemes) // - 'entetes' => tableau des entetes http // En cas d'erreur, elle retournera un tableau des 2 premiers elements seulement -// http://doc.spip.org/@public_compiler_dist +// http://code.spip.net/@public_compiler_dist function public_compiler_dist($squelette, $nom, $gram, $sourcefile, $connect=''){ // Pre-traitement : reperer le charset du squelette, et le convertir // Bonus : supprime le BOM diff --git a/ecrire/public/composer.php b/ecrire/public/composer.php index 72e3f8b5b0..db0d9503cc 100644 --- a/ecrire/public/composer.php +++ b/ecrire/public/composer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -37,7 +37,7 @@ include_spip('public/quete'); # 3. des declaration de tables SQL supplementaires # Toutefois pour 2. et 3. preferer la technique de la surcharge -// http://doc.spip.org/@public_composer_dist +// http://code.spip.net/@public_composer_dist function public_composer_dist($squelette, $mime_type, $gram, $source, $connect='') { $nom = calculer_nom_fonction_squel($squelette, $mime_type, $connect); @@ -141,7 +141,7 @@ function squelette_traduit($squelette, $sourcefile, $phpfile, $boucles) } // Le squelette compile est-il trop vieux ? -// http://doc.spip.org/@squelette_obsolete +// http://code.spip.net/@squelette_obsolete function squelette_obsolete($skel, $squelette) { static $date_change = null; // ne verifier la date de mes_fonctions et mes_options qu'une seule fois @@ -162,14 +162,14 @@ function squelette_obsolete($skel, $squelette) { } // Activer l'invalideur de session -// http://doc.spip.org/@invalideur_session +// http://code.spip.net/@invalideur_session function invalideur_session(&$Cache, $code=NULL) { $Cache['session']=spip_session(); return $code; } -// http://doc.spip.org/@analyse_resultat_skel +// http://code.spip.net/@analyse_resultat_skel function analyse_resultat_skel($nom, $cache, $corps, $source='') { static $filtres = array(); $headers = array(); @@ -568,7 +568,7 @@ function lang_select_public($lang, $lang_select, $titre=null) { // Si un tableau &doublons[articles] est passe en parametre, // il faut le nettoyer car il pourrait etre injecte en SQL -// http://doc.spip.org/@nettoyer_env_doublons +// http://code.spip.net/@nettoyer_env_doublons function nettoyer_env_doublons($envd) { foreach ($envd as $table => $liste) { $n = ''; @@ -917,7 +917,7 @@ function calculer_where_to_string($v, $join = 'AND'){ //condition suffisante (mais non necessaire) pour qu'une table soit utile -// http://doc.spip.org/@calculer_jointnul +// http://code.spip.net/@calculer_jointnul function calculer_jointnul($cle, $exp, $equiv='') { if (!is_array($exp)) { @@ -931,7 +931,7 @@ function calculer_jointnul($cle, $exp, $equiv='') } } -// http://doc.spip.org/@reinjecte_joint +// http://code.spip.net/@reinjecte_joint function reinjecte_joint($afrom, $from) { $from_synth = array(); @@ -946,7 +946,7 @@ function reinjecte_joint($afrom, $from) return $from_synth; } -// http://doc.spip.org/@remplacer_jointnul +// http://code.spip.net/@remplacer_jointnul function remplacer_jointnul($cle, $exp, $equiv='') { if (!is_array($exp)) { @@ -960,7 +960,7 @@ function remplacer_jointnul($cle, $exp, $equiv='') } // calcul du nom du squelette -// http://doc.spip.org/@calculer_nom_fonction_squel +// http://code.spip.net/@calculer_nom_fonction_squel function calculer_nom_fonction_squel($skel, $mime_type='html', $connect='') { // ne pas doublonner les squelette selon qu'ils sont calcules depuis ecrire/ ou depuis la racine diff --git a/ecrire/public/criteres.php b/ecrire/public/criteres.php index b18718cce6..e0bf7df5d3 100644 --- a/ecrire/public/criteres.php +++ b/ecrire/public/criteres.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -580,7 +580,7 @@ function critere_fusion_dist($idb, &$boucles, $crit){ // c'est la commande SQL "COLLATE" // qui peut etre appliquee sur les order by, group by, where like ... -// http://doc.spip.org/@critere_collecte_dist +// http://code.spip.net/@critere_collecte_dist function critere_collecte_dist($idb, &$boucles, $crit){ if (isset($crit->param[0])){ $_coll = calculer_liste($crit->param[0], array(), $boucles, $boucles[$idb]->id_parent); @@ -593,7 +593,7 @@ function critere_collecte_dist($idb, &$boucles, $crit){ return (array('zbug_critere_inconnu', array('critere' => $crit->op." ".count($boucles[$idb]->order)))); } -// http://doc.spip.org/@calculer_critere_arg_dynamique +// http://code.spip.net/@calculer_critere_arg_dynamique function calculer_critere_arg_dynamique($idb, &$boucles, $crit, $suffix = ''){ $boucle = $boucles[$idb]; $alt = "('".$boucle->id_table.'.\' . $x'.$suffix.')'; @@ -611,12 +611,12 @@ function calculer_critere_arg_dynamique($idb, &$boucles, $crit, $suffix = ''){ // Tri : {par xxxx} // http://www.spip.net/@par -// http://doc.spip.org/@critere_par_dist +// http://code.spip.net/@critere_par_dist function critere_par_dist($idb, &$boucles, $crit){ return critere_parinverse($idb, $boucles, $crit); } -// http://doc.spip.org/@critere_parinverse +// http://code.spip.net/@critere_parinverse function critere_parinverse($idb, &$boucles, $crit, $sens = ''){ global $exceptions_des_jointures; $boucle = &$boucles[$idb]; @@ -744,7 +744,7 @@ function critere_parinverse($idb, &$boucles, $crit, $sens = ''){ } } -// http://doc.spip.org/@critere_par_joint +// http://code.spip.net/@critere_par_joint function critere_par_joint($table, $champ, &$boucle, $idb){ $t = array_search($table, $boucle->from); if (!$t) $t = trouver_jointure_champ($champ, $boucle); @@ -754,7 +754,7 @@ function critere_par_joint($table, $champ, &$boucle, $idb){ // {inverse} // http://www.spip.net/@inverse -// http://doc.spip.org/@critere_inverse_dist +// http://code.spip.net/@critere_inverse_dist function critere_inverse_dist($idb, &$boucles, $crit){ $boucle = &$boucles[$idb]; @@ -785,7 +785,7 @@ function critere_inverse_dist($idb, &$boucles, $crit){ } } -// http://doc.spip.org/@critere_agenda_dist +// http://code.spip.net/@critere_agenda_dist function critere_agenda_dist($idb, &$boucles, $crit) { $params = $crit->param; @@ -1115,7 +1115,7 @@ function calculer_criteres($idb, &$boucles){ * Madeleine de Proust, revision MIT-1958 sqq, revision CERN-1989 * hum, c'est kwoi cette fonxion ? on va dire qu'elle desemberlificote les guillemets... * - * http://doc.spip.org/@kwote + * http://code.spip.net/@kwote * * @param string $lisp Code compilé * @param string $serveur Connecteur de bdd utilisé @@ -1174,7 +1174,7 @@ function critere_IN_dist($idb, &$boucles, $crit){ $boucles[$idb]->where[] = $where_complement; } -// http://doc.spip.org/@critere_IN_cas +// http://code.spip.net/@critere_IN_cas function critere_IN_cas($idb, &$boucles, $crit2, $arg, $op, $val, $col){ static $num = array(); $descr = $boucles[$idb]->descr; @@ -1941,7 +1941,7 @@ function calculer_critere_infixe_ops($idb, &$boucles, $crit){ // compatibilite ancienne version -// http://doc.spip.org/@calculer_vieux_in +// http://code.spip.net/@calculer_vieux_in function calculer_vieux_in($params){ $deb = $params[0][0]; $k = count($params)-1; diff --git a/ecrire/public/debusquer.php b/ecrire/public/debusquer.php index b341e8ef1d..606c4d9408 100644 --- a/ecrire/public/debusquer.php +++ b/ecrire/public/debusquer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -321,7 +321,7 @@ function debusquer_requete($message){ -// http://doc.spip.org/@trouve_boucle_debug +// http://code.spip.net/@trouve_boucle_debug function trouve_boucle_debug($n, $nom, $debut = 0, $boucle = ""){ global $debug_objets; @@ -357,7 +357,7 @@ function trouve_boucle_debug($n, $nom, $debut = 0, $boucle = ""){ return array($nom, $boucle, $n-$debut); } -// http://doc.spip.org/@trouve_squelette_inclus +// http://code.spip.net/@trouve_squelette_inclus function trouve_squelette_inclus($script){ global $debug_objets; preg_match('/include\(.(.*).php3?.\);/', $script, $reg); @@ -377,7 +377,7 @@ function trouve_squelette_inclus($script){ return ""; } -// http://doc.spip.org/@reference_boucle_debug +// http://code.spip.net/@reference_boucle_debug function reference_boucle_debug($n, $nom, $self){ list($skel, $boucle, $ligne) = trouve_boucle_debug($n, $nom); @@ -397,7 +397,7 @@ function reference_boucle_debug($n, $nom, $self){ // affiche un texte avec numero de ligne et ancre. -// http://doc.spip.org/@ancre_texte +// http://code.spip.net/@ancre_texte function ancre_texte($texte, $fautifs = array(), $nocpt = false) { $var_mode_ligne = _request('var_mode_ligne'); @@ -524,7 +524,7 @@ function debusquer_squelette($fonc, $mode, $self){ } -// http://doc.spip.org/@emboite_texte +// http://code.spip.net/@emboite_texte function emboite_texte($res, $fonc = '', $self = ''){ $errs = $res->err; $texte = $res->entete . ($errs ? '' : $res->page); @@ -599,7 +599,7 @@ function emboite_texte($res, $fonc = '', $self = ''){ } } -// http://doc.spip.org/@count_occ +// http://code.spip.net/@count_occ function count_occ($regs){ $encore = array(); foreach ($regs as $r){ @@ -753,7 +753,7 @@ function debusquer_source($objet, $affiche){ return array($legend, $res, $res2); } -// http://doc.spip.org/@debusquer_entete +// http://code.spip.net/@debusquer_entete function debusquer_entete($titre, $corps){ global $debug_objets; include_spip('balise/formulaire_admin'); diff --git a/ecrire/public/decompiler.php b/ecrire/public/decompiler.php index 7becebc631..cfce092c0a 100644 --- a/ecrire/public/decompiler.php +++ b/ecrire/public/decompiler.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/evaluer_page.php b/ecrire/public/evaluer_page.php index 1b39870864..5c86ff10b1 100644 --- a/ecrire/public/evaluer_page.php +++ b/ecrire/public/evaluer_page.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/format_html.php b/ecrire/public/format_html.php index fcfbfb3bd5..082a092396 100644 --- a/ecrire/public/format_html.php +++ b/ecrire/public/format_html.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/interfaces.php b/ecrire/public/interfaces.php index 3e5ef1adc3..674db16c83 100644 --- a/ecrire/public/interfaces.php +++ b/ecrire/public/interfaces.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -757,7 +757,7 @@ $exception_des_connect[] = ''; // ne pas transmettre le connect='' par les inclu * et les envoie dans un pipeline * pour les plugins * - * @link http://doc.spip.org/@declarer_interfaces + * @link http://code.spip.net/@declarer_interfaces * * @return void */ diff --git a/ecrire/public/iterateur.php b/ecrire/public/iterateur.php index 89acafa875..bf85792ac9 100644 --- a/ecrire/public/iterateur.php +++ b/ecrire/public/iterateur.php @@ -4,7 +4,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/jointures.php b/ecrire/public/jointures.php index 6fe7b3562f..7ab78fe666 100644 --- a/ecrire/public/jointures.php +++ b/ecrire/public/jointures.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -230,7 +230,7 @@ function nogroupby_if($depart, $arrivee, $col){ * * sinon on construit une liste des champs a partir de la liste des cles de la table * - * http://doc.spip.org/@liste_champs_jointures + * http://code.spip.net/@liste_champs_jointures * * @param string $nom * @param array $desc @@ -271,7 +271,7 @@ function liste_champs_jointures($nom, $desc, $primary = false){ /** * Eclater une cle composee en plusieurs champs * - * http://doc.spip.org/@split_key + * http://code.spip.net/@split_key * * @param string $v * @param array $join @@ -285,7 +285,7 @@ function split_key($v, $join = array()){ /** * Constuire la chaine de jointures, de proche en proche * - * http://doc.spip.org/@calculer_chaine_jointures + * http://code.spip.net/@calculer_chaine_jointures * * @param objetc $boucle * @param array $depart @@ -413,7 +413,7 @@ function calculer_chaine_jointures(&$boucle, $depart, $arrivee, $vu = array(), $ * applatit les cles multiples * redondance avec split_key() ? a mutualiser * - * http://doc.spip.org/@trouver_cles_table + * http://code.spip.net/@trouver_cles_table * * @param $keys * @return array diff --git a/ecrire/public/normaliser.php b/ecrire/public/normaliser.php index f596a0e141..969cfe9688 100644 --- a/ecrire/public/normaliser.php +++ b/ecrire/public/normaliser.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/parametrer.php b/ecrire/public/parametrer.php index 20ca282a77..35ac919029 100644 --- a/ecrire/public/parametrer.php +++ b/ecrire/public/parametrer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -41,7 +41,7 @@ if (test_espace_prive ()) # En cas d'erreur process_ins est absent et texte est un tableau de 2 chaines -// http://doc.spip.org/@public_parametrer_dist +// http://code.spip.net/@public_parametrer_dist function public_parametrer_dist($fond, $contexte='', $cache='', $connect='') { static $composer,$styliser,$notes=null; $page = tester_redirection($fond, $contexte, $connect); @@ -197,7 +197,7 @@ function public_parametrer_dist($fond, $contexte='', $cache='', $connect='') { * avec un eventuel raccourci Spip * si le raccourci a un titre il sera pris comme corps du 302 * - * http://doc.spip.org/@tester_redirection + * http://code.spip.net/@tester_redirection * * @param string $fond * @param array $contexte diff --git a/ecrire/public/phraser_html.php b/ecrire/public/phraser_html.php index 699e493567..f336ce83be 100644 --- a/ecrire/public/phraser_html.php +++ b/ecrire/public/phraser_html.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -56,7 +56,7 @@ define('SQL_ARGS', '(\([^)]*\))'); /** Fonction SQL sur un champ ex: SUM(visites) */ define('CHAMP_SQL_PLUS_FONC', '`?([A-Z_\/][A-Z_\/0-9.]*)' . SQL_ARGS . '?`?'); -// http://doc.spip.org/@phraser_inclure +// http://code.spip.net/@phraser_inclure function phraser_inclure($texte, $ligne, $result) { while (preg_match(BALISE_INCLURE, $texte, $match)) { @@ -90,7 +90,7 @@ function phraser_inclure($texte, $ligne, $result) { return (($texte==="") ? $result : phraser_idiomes($texte, $ligne, $result)); } -// http://doc.spip.org/@phraser_polyglotte +// http://code.spip.net/@phraser_polyglotte function phraser_polyglotte($texte,$ligne, $result) { if (preg_match_all(BALISE_POLYGLOTTE, $texte, $m, PREG_SET_ORDER)) @@ -135,7 +135,7 @@ function phraser_polyglotte($texte,$ligne, $result) { /// <:module:chaine{arg1=texte1,arg2=#BALISE}|filtre1{texte2,#BALISE}|filtre2:> /// chaine peut etre vide si =texte1 est present et arg1 est vide /// sinon ce n'est pas un idiome -// http://doc.spip.org/@phraser_idiomes +// http://code.spip.net/@phraser_idiomes function phraser_idiomes($texte,$ligne,$result) { while (preg_match(BALISE_IDIOMES, $texte, $match)) { $p = strpos($texte, $match[0]); @@ -166,7 +166,7 @@ function phraser_idiomes($texte,$ligne,$result) { return $result; } -// http://doc.spip.org/@phraser_champs +// http://code.spip.net/@phraser_champs function phraser_champs($texte,$ligne,$result) { while (preg_match("/".NOM_DE_CHAMP."/S", $texte, $match)) { $p = strpos($texte, $match[0]); @@ -213,7 +213,7 @@ function phraser_champs($texte,$ligne,$result) { // %###N@ ou N indexe un tableau comportant le resultat de leur analyse // on recommence tant qu'il y a des [...] en substituant a l'appel suivant -// http://doc.spip.org/@phraser_champs_etendus +// http://code.spip.net/@phraser_champs_etendus function phraser_champs_etendus($texte, $ligne,$result) { if ($texte==="") return $result; $sep = '##'; @@ -228,7 +228,7 @@ function phraser_champs_etendus($texte, $ligne,$result) { // sert aussi aux arguments des includes et aux criteres de boucles // Tres chevelu -// http://doc.spip.org/@phraser_args +// http://code.spip.net/@phraser_args function phraser_args($texte, $fin, $sep, $result, &$pointeur_champ) { $texte = ltrim($texte); while (($texte!=="") && strpos($fin, $texte[0]) === false) { @@ -241,7 +241,7 @@ function phraser_args($texte, $fin, $sep, $result, &$pointeur_champ) { return $result; } -// http://doc.spip.org/@phraser_arg +// http://code.spip.net/@phraser_arg function phraser_arg(&$texte, $sep, $result, &$pointeur_champ) { preg_match(",^(\|?[^}{)|]*)(.*)$,ms", $texte, $match); $suite = ltrim($match[2]); @@ -358,7 +358,7 @@ function phraser_arg(&$texte, $sep, $result, &$pointeur_champ) { } -// http://doc.spip.org/@phraser_champs_exterieurs +// http://code.spip.net/@phraser_champs_exterieurs function phraser_champs_exterieurs($texte, $ligne, $sep, $nested) { $res = array(); while (($p=strpos($texte, "%$sep"))!==false) { @@ -374,7 +374,7 @@ function phraser_champs_exterieurs($texte, $ligne, $sep, $nested) { return (($texte==='') ? $res : phraser_inclure($texte, $ligne, $res)); } -// http://doc.spip.org/@phraser_champs_interieurs +// http://code.spip.net/@phraser_champs_interieurs function phraser_champs_interieurs($texte, $ligne, $sep, $result) { $i = 0; // en fait count($result) $x = ""; @@ -645,7 +645,7 @@ function phraser_criteres($params, &$result) { if (!$err_ci) $result->criteres = $args; } -// http://doc.spip.org/@phraser_critere_infixe +// http://code.spip.net/@phraser_critere_infixe function phraser_critere_infixe($arg1, $arg2, $args, $op, $not, $cond) { $args[0] = new Texte; diff --git a/ecrire/public/quete.php b/ecrire/public/quete.php index dac94627d6..579656291f 100644 --- a/ecrire/public/quete.php +++ b/ecrire/public/quete.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -228,7 +228,7 @@ function quete_condition_statut($mstatut,$previsu,$publie, $serveur='', $ignore_ /** * retourne le fichier d'un document * - * http://doc.spip.org/@quete_fichier + * http://code.spip.net/@quete_fichier * * @param int $id_document * @param string $serveur @@ -252,7 +252,7 @@ function quete_document($id_document, $serveur='') { /** * recuperer une meta sur un site distant (en local il y a plus simple) * - * http://doc.spip.org/@quete_meta + * http://code.spip.net/@quete_meta * * @param $nom * @param $serveur @@ -329,7 +329,7 @@ function quete_logo($type, $onoff, $id, $id_rubrique, $flag) { /** * fonction appelee par la balise #LOGO_DOCUMENT * - * http://doc.spip.org/@calcule_logo_document + * http://code.spip.net/@calcule_logo_document * * @param array $row * @param string $connect @@ -415,7 +415,7 @@ function vignette_logo_document($row, $connect='') * Calcul pour savoir si un objet est expose dans le contexte * fournit par $reference * - * http://doc.spip.org/@calcul_exposer + * http://code.spip.net/@calcul_exposer * * @param int $id * @param string $prim diff --git a/ecrire/public/references.php b/ecrire/public/references.php index 8b148022ed..fb30f7d4ec 100644 --- a/ecrire/public/references.php +++ b/ecrire/public/references.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -641,7 +641,7 @@ function balise_distante_interdite($p) { // Traitements standard de divers champs // definis par $table_des_traitements, cf. ecrire/public/interfaces // -// http://doc.spip.org/@champs_traitements +// http://code.spip.net/@champs_traitements function champs_traitements ($p) { global $table_des_traitements; @@ -709,7 +709,7 @@ function champs_traitements ($p) { // - une etoile => pas de processeurs standards // - deux etoiles => pas de securite non plus ! // -// http://doc.spip.org/@applique_filtres +// http://code.spip.net/@applique_filtres function applique_filtres($p) { // Traitements standards (cf. supra) @@ -732,7 +732,7 @@ function applique_filtres($p) { } // Cf. function pipeline dans ecrire/inc_utils.php -// http://doc.spip.org/@compose_filtres +// http://code.spip.net/@compose_filtres function compose_filtres(&$p, $code) { $image_miette = false; @@ -795,7 +795,7 @@ function filtre_logique($fonc, $code, $arg) return ''; } -// http://doc.spip.org/@compose_filtres_args +// http://code.spip.net/@compose_filtres_args function compose_filtres_args($p, $args, $sep) { $arglist = ""; @@ -842,7 +842,7 @@ function calculer_argument_precedent($idb, $nom_champ, &$boucles, $defaut=null) // "SELECT XXXX AS points" // -// http://doc.spip.org/@rindex_pile +// http://code.spip.net/@rindex_pile function rindex_pile($p, $champ, $motif) { $n = 0; diff --git a/ecrire/public/sandbox.php b/ecrire/public/sandbox.php index 7bc64d1bad..51545fd4a3 100644 --- a/ecrire/public/sandbox.php +++ b/ecrire/public/sandbox.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/styliser.php b/ecrire/public/styliser.php index f865ad180b..13bd9eef7b 100644 --- a/ecrire/public/styliser.php +++ b/ecrire/public/styliser.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/styliser_par_z.php b/ecrire/public/styliser_par_z.php index 10d3c60c98..45fa6b47f1 100644 --- a/ecrire/public/styliser_par_z.php +++ b/ecrire/public/styliser_par_z.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/public/tracer.php b/ecrire/public/tracer.php index 53a1186605..87245e1b2c 100644 --- a/ecrire/public/tracer.php +++ b/ecrire/public/tracer.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -12,7 +12,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; -// http://doc.spip.org/@trace_query_start +// http://code.spip.net/@trace_query_start function trace_query_start() { static $trace = '?'; @@ -25,7 +25,7 @@ function trace_query_start() return $trace ? microtime() : 0; } -// http://doc.spip.org/@trace_query_end +// http://code.spip.net/@trace_query_end function trace_query_end($query, $start, $result, $erreur, $serveur=''){ if ($start) trace_query_chrono($start, microtime(), $query, $result, $serveur); @@ -35,7 +35,7 @@ function trace_query_end($query, $start, $result, $erreur, $serveur=''){ return $result; } -// http://doc.spip.org/@trace_query_chrono +// http://code.spip.net/@trace_query_chrono function trace_query_chrono($m1, $m2, $query, $result, $serveur='') { include_spip('inc/filtres_mini'); diff --git a/ecrire/req/mysql.php b/ecrire/req/mysql.php index c4b9dc7036..c4511f78ea 100644 --- a/ecrire/req/mysql.php +++ b/ecrire/req/mysql.php @@ -3,7 +3,7 @@ /* *************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/req/pg.exp.php b/ecrire/req/pg.exp.php index ed2c3255b9..e12b16232d 100644 --- a/ecrire/req/pg.exp.php +++ b/ecrire/req/pg.exp.php @@ -3,7 +3,7 @@ /* *************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -28,7 +28,7 @@ define('_DEFAULT_DB', 'spip'); // et si ca marche toujours pas, avec "spip" (constante ci-dessus) // si ca ne marche toujours pas, echec. -// http://doc.spip.org/@req_pg_dist +// http://code.spip.net/@req_pg_dist function req_pg_dist($addr, $port, $login, $pass, $db='', $prefixe='') { static $last_connect = array(); if (!charger_php_extension('pgsql')) return false; @@ -119,7 +119,7 @@ $GLOBALS['spip_pg_functions_1'] = array( ); // Par ou ca passe une fois les traductions faites -// http://doc.spip.org/@spip_pg_trace_query +// http://code.spip.net/@spip_pg_trace_query function spip_pg_trace_query($query, $serveur='') { $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -143,7 +143,7 @@ function spip_pg_trace_query($query, $serveur='') // Fonction de requete generale quand on est sur que c'est SQL standard. // Elle change juste le noms des tables ($table_prefix) dans le FROM etc -// http://doc.spip.org/@spip_pg_query +// http://code.spip.net/@spip_pg_query function spip_pg_query($query, $serveur='',$requeter=true) { $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -211,7 +211,7 @@ function spip_pg_ajouter_champs_timestamp($table, $couples, $desc='', $serveur=' // Alter en PG ne traite pas les index -// http://doc.spip.org/@spip_pg_alter +// http://code.spip.net/@spip_pg_alter function spip_pg_alter($query, $serveur='',$requeter=true) { // il faudrait une regexp pour eviter de spliter ADD PRIMARY KEY (colA, colB) // tout en cassant en deux alter distincts "ADD PRIMARY KEY (colA, colB), ADD INDEX (chose)"... @@ -254,7 +254,7 @@ function spip_pg_alter($query, $serveur='',$requeter=true) { } -// http://doc.spip.org/@spip_pg_alter_change +// http://code.spip.net/@spip_pg_alter_change function spip_pg_alter_change($table, $arg, $serveur='',$requeter=true) { if (!preg_match('/^`?(\w+)`?\s+`?(\w+)`?\s+(.*?)\s*(DEFAULT .*?)?(NOT\s+NULL)?\s*(DEFAULT .*?)?$/i',$arg, $r)) { @@ -279,7 +279,7 @@ function spip_pg_alter_change($table, $arg, $serveur='',$requeter=true) } } -// http://doc.spip.org/@spip_pg_alter_add +// http://code.spip.net/@spip_pg_alter_add function spip_pg_alter_add($table, $arg, $serveur='',$requeter=true) { if (!preg_match('/^(COLUMN|INDEX|KEY|PRIMARY\s+KEY|)\s*(.*)$/', $arg, $r)) { spip_log("alter add $arg incompris", 'pg.'._LOG_ERREUR); @@ -326,7 +326,7 @@ function spip_pg_alter_add($table, $arg, $serveur='',$requeter=true) { } } -// http://doc.spip.org/@spip_pg_alter_drop +// http://code.spip.net/@spip_pg_alter_drop function spip_pg_alter_drop($table, $arg, $serveur='',$requeter=true) { if (!preg_match('/^(COLUMN|INDEX|KEY|PRIMARY\s+KEY|)\s*`?(\w*)`?/', $arg, $r)) spip_log("alter drop: $arg incompris", 'pg.'._LOG_ERREUR); @@ -403,7 +403,7 @@ function spip_pg_create_index($nom, $table, $champs, $serveur='', $requeter=true } -// http://doc.spip.org/@spip_pg_explain +// http://code.spip.net/@spip_pg_explain function spip_pg_explain($query, $serveur='',$requeter=true){ if (strpos(ltrim($query), 'SELECT') !== 0) return array(); $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -449,7 +449,7 @@ function spip_pg_selectdb($db, $serveur='',$requeter=true) { // Qu'une seule base pour le moment -// http://doc.spip.org/@spip_pg_listdbs +// http://code.spip.net/@spip_pg_listdbs function spip_pg_listdbs($serveur) { $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; $link = $connexion['link']; @@ -461,7 +461,7 @@ function spip_pg_listdbs($serveur) { return $dbs; } -// http://doc.spip.org/@spip_pg_select +// http://code.spip.net/@spip_pg_select function spip_pg_select($select, $from, $where='', $groupby=array(), $orderby='', $limit='', $having='', $serveur='',$requeter=true){ @@ -511,14 +511,14 @@ function spip_pg_select($select, $from, $where='', // Le traitement des prefixes de table dans un Select se limite au FROM // car le reste de la requete utilise les alias (AS) systematiquement -// http://doc.spip.org/@spip_pg_from +// http://code.spip.net/@spip_pg_from function spip_pg_from($from, $prefixe) { if (is_array($from)) $from = spip_pg_select_as($from); return !$prefixe ? $from : preg_replace('/(\b)spip_/','\1'.$prefixe.'_', $from); } -// http://doc.spip.org/@spip_pg_orderby +// http://code.spip.net/@spip_pg_orderby function spip_pg_orderby($order, $select) { $res = array(); @@ -537,7 +537,7 @@ function spip_pg_orderby($order, $select) // A refaire pour tirer parti des possibilites de PG et de MySQL5 // et pour enlever les repetitions (sans incidence de perf, mais ca fait sale) -// http://doc.spip.org/@spip_pg_groupby +// http://code.spip.net/@spip_pg_groupby function spip_pg_groupby($groupby, $from, $select) { $join = strpos($from, ","); @@ -590,7 +590,7 @@ function spip_pg_groupby($groupby, $from, $select) // de spip_pg_groupby. // A ameliorer. -// http://doc.spip.org/@spip_pg_frommysql +// http://code.spip.net/@spip_pg_frommysql function spip_pg_frommysql($arg) { if (is_array($arg)) $arg = join(", ", $arg); @@ -660,7 +660,7 @@ function spip_pg_frommysql($arg) return str_replace('REGEXP', '~', $res); } -// http://doc.spip.org/@spip_pg_fromfield +// http://code.spip.net/@spip_pg_fromfield function spip_pg_fromfield($arg) { while(preg_match('/^(.*?)FIELD\s*\(([^,]*)((,[^,)]*)*)\)/', $arg, $m)) { @@ -679,7 +679,7 @@ function spip_pg_fromfield($arg) return $arg; } -// http://doc.spip.org/@calculer_pg_where +// http://code.spip.net/@calculer_pg_where function calculer_pg_where($v) { if (!is_array($v)) @@ -702,7 +702,7 @@ function calculer_pg_where($v) } -// http://doc.spip.org/@calculer_pg_expression +// http://code.spip.net/@calculer_pg_expression function calculer_pg_expression($expression, $v, $join = 'AND'){ if (empty($v)) return ''; @@ -717,7 +717,7 @@ function calculer_pg_expression($expression, $v, $join = 'AND'){ return $exp . join($join, $v); } -// http://doc.spip.org/@spip_pg_select_as +// http://code.spip.net/@spip_pg_select_as function spip_pg_select_as($args) { $argsas = ""; @@ -748,7 +748,7 @@ function spip_pg_select_as($args) return substr($argsas,2); } -// http://doc.spip.org/@spip_pg_fetch +// http://code.spip.net/@spip_pg_fetch function spip_pg_fetch($res, $t='', $serveur='',$requeter=true) { if ($res) $res = pg_fetch_array($res, NULL, PGSQL_ASSOC); @@ -760,7 +760,7 @@ function spip_pg_seek($r, $row_number, $serveur='',$requeter=true) { } -// http://doc.spip.org/@spip_pg_countsel +// http://code.spip.net/@spip_pg_countsel function spip_pg_countsel($from = array(), $where = array(), $groupby=array(), $having = array(), $serveur='',$requeter=true) { @@ -772,17 +772,17 @@ function spip_pg_countsel($from = array(), $where = array(), $groupby=array(), return $c; } -// http://doc.spip.org/@spip_pg_count +// http://code.spip.net/@spip_pg_count function spip_pg_count($res, $serveur='',$requeter=true) { return !$res ? 0 : pg_numrows($res); } -// http://doc.spip.org/@spip_pg_free +// http://code.spip.net/@spip_pg_free function spip_pg_free($res, $serveur='',$requeter=true) { // rien a faire en postgres } -// http://doc.spip.org/@spip_pg_delete +// http://code.spip.net/@spip_pg_delete function spip_pg_delete($table, $where='', $serveur='',$requeter=true) { $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -804,7 +804,7 @@ function spip_pg_delete($table, $where='', $serveur='',$requeter=true) { return false; } -// http://doc.spip.org/@spip_pg_insert +// http://code.spip.net/@spip_pg_insert function spip_pg_insert($table, $champs, $valeurs, $desc=array(), $serveur='',$requeter=true) { $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; $prefixe = $connexion['prefixe']; @@ -842,7 +842,7 @@ function spip_pg_insert($table, $champs, $valeurs, $desc=array(), $serveur='',$r return false; } -// http://doc.spip.org/@spip_pg_insertq +// http://code.spip.net/@spip_pg_insertq function spip_pg_insertq($table, $couples=array(), $desc=array(), $serveur='',$requeter=true) { if (!$desc) $desc = description_table($table, $serveur); @@ -861,7 +861,7 @@ function spip_pg_insertq($table, $couples=array(), $desc=array(), $serveur='',$r -// http://doc.spip.org/@spip_pg_insertq_multi +// http://code.spip.net/@spip_pg_insertq_multi function spip_pg_insertq_multi($table, $tab_couples=array(), $desc=array(), $serveur='',$requeter=true) { if (!$desc) $desc = description_table($table, $serveur); @@ -890,7 +890,7 @@ function spip_pg_insertq_multi($table, $tab_couples=array(), $desc=array(), $ser } -// http://doc.spip.org/@spip_pg_update +// http://code.spip.net/@spip_pg_update function spip_pg_update($table, $couples, $where='', $desc='', $serveur='',$requeter=true) { if (!$couples) return; @@ -920,7 +920,7 @@ function spip_pg_update($table, $couples, $where='', $desc='', $serveur='',$requ // idem, mais les valeurs sont des constantes a mettre entre apostrophes // sauf les expressions de date lorsqu'il s'agit de fonctions SQL (NOW etc) -// http://doc.spip.org/@spip_pg_updateq +// http://code.spip.net/@spip_pg_updateq function spip_pg_updateq($table, $couples, $where='', $desc=array(), $serveur='',$requeter=true) { if (!$couples) return; if (!$desc) $desc = description_table($table, $serveur); @@ -933,7 +933,7 @@ function spip_pg_updateq($table, $couples, $where='', $desc=array(), $serveur='' } -// http://doc.spip.org/@spip_pg_replace +// http://code.spip.net/@spip_pg_replace function spip_pg_replace($table, $values, $desc, $serveur='',$requeter=true) { if (!$values) {spip_log("replace vide $table",'pg.'._LOG_AVERTISSEMENT); return 0;} $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -998,7 +998,7 @@ function spip_pg_replace($table, $values, $desc, $serveur='',$requeter=true) { } -// http://doc.spip.org/@spip_pg_replace_multi +// http://code.spip.net/@spip_pg_replace_multi function spip_pg_replace_multi($table, $tab_couples, $desc=array(), $serveur='',$requeter=true) { // boucler pour traiter chaque requete independemment foreach ($tab_couples as $couples){ @@ -1013,7 +1013,7 @@ function spip_pg_replace_multi($table, $tab_couples, $desc=array(), $serveur='', // Donne la sequence eventuelle associee a une table // Pas extensible pour le moment, -// http://doc.spip.org/@spip_pg_sequence +// http://code.spip.net/@spip_pg_sequence function spip_pg_sequence($table,$raw=false) { global $tables_principales; @@ -1030,7 +1030,7 @@ function spip_pg_sequence($table,$raw=false) // Explicite les conversions de Mysql d'une valeur $v de type $t // Dans le cas d'un champ date, pas d'apostrophe, c'est une syntaxe ad hoc -// http://doc.spip.org/@spip_pg_cite +// http://code.spip.net/@spip_pg_cite function spip_pg_cite($v, $t){ if(is_null($v)) return 'NULL'; // null php se traduit en NULL SQL @@ -1057,7 +1057,7 @@ function spip_pg_cite($v, $t){ } } -// http://doc.spip.org/@spip_pg_hex +// http://code.spip.net/@spip_pg_hex function spip_pg_hex($v) { return "CAST(x'" . $v . "' as bigint)"; @@ -1088,7 +1088,7 @@ function spip_pg_date_proche($champ, $interval, $unite) . '))'; } -// http://doc.spip.org/@spip_pg_in +// http://code.spip.net/@spip_pg_in function spip_pg_in($val, $valeurs, $not='', $serveur) { // // IN (...) souvent limite a 255 elements, d'ou cette fonction assistante @@ -1114,7 +1114,7 @@ function spip_pg_in($val, $valeurs, $not='', $serveur) { return "($in_sql)"; } -// http://doc.spip.org/@spip_pg_error +// http://code.spip.net/@spip_pg_error function spip_pg_error($query='', $serveur, $requeter=true) { $link = $GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]['link']; $s = $link ? pg_last_error($link) : pg_last_error(); @@ -1125,14 +1125,14 @@ function spip_pg_error($query='', $serveur, $requeter=true) { return $s; } -// http://doc.spip.org/@spip_pg_errno +// http://code.spip.net/@spip_pg_errno function spip_pg_errno($serveur='') { // il faudrait avoir la derniere ressource retournee et utiliser // http://fr2.php.net/manual/fr/function.pg-result-error.php return 0; } -// http://doc.spip.org/@spip_pg_drop_table +// http://code.spip.net/@spip_pg_drop_table function spip_pg_drop_table($table, $exist='', $serveur='',$requeter=true) { if ($exist) $exist =" IF EXISTS"; @@ -1142,7 +1142,7 @@ function spip_pg_drop_table($table, $exist='', $serveur='',$requeter=true) } // supprime une vue -// http://doc.spip.org/@spip_pg_drop_view +// http://code.spip.net/@spip_pg_drop_view function spip_pg_drop_view($view, $exist='', $serveur='',$requeter=true) { if ($exist) $exist =" IF EXISTS"; return spip_pg_query("DROP VIEW$exist $view", $serveur, $requeter); @@ -1169,7 +1169,7 @@ function spip_pg_showbase($match, $serveur='',$requeter=true) return spip_pg_query_simple($link, $q); } -// http://doc.spip.org/@spip_pg_showtable +// http://code.spip.net/@spip_pg_showtable function spip_pg_showtable($nom_table, $serveur='',$requeter=true) { $connexion = &$GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -1204,7 +1204,7 @@ function spip_pg_showtable($nom_table, $serveur='',$requeter=true) // cles: type-de-cle => champ(s) // si $autoinc, c'est une auto-increment (i.e. serial) sur la Primary Key // Le nom des index est prefixe par celui de la table pour eviter les conflits -// http://doc.spip.org/@spip_pg_create +// http://code.spip.net/@spip_pg_create function spip_pg_create($nom, $champs, $cles, $autoinc=false, $temporary=false, $serveur='',$requeter=true) { $connexion = $GLOBALS['connexions'][$serveur ? strtolower($serveur) : 0]; @@ -1288,7 +1288,7 @@ function spip_pg_create_base($nom, $serveur='',$requeter=true) { } // Fonction de creation d'une vue SQL nommee $nom -// http://doc.spip.org/@spip_pg_create_view +// http://code.spip.net/@spip_pg_create_view function spip_pg_create_view($nom, $query_select, $serveur='',$requeter=true) { if (!$query_select) return false; // vue deja presente @@ -1302,7 +1302,7 @@ function spip_pg_create_view($nom, $query_select, $serveur='',$requeter=true) { } -// http://doc.spip.org/@spip_pg_set_connect_charset +// http://code.spip.net/@spip_pg_set_connect_charset function spip_pg_set_connect_charset($charset, $serveur='',$requeter=true){ spip_log("changement de charset sql a ecrire en PG",'pg.'._LOG_ERREUR); } @@ -1316,7 +1316,7 @@ function spip_pg_set_connect_charset($charset, $serveur='',$requeter=true){ * @param $requeter effectuer la requete ? sinon retourner son code * @return bool|string true / false / requete **/ -// http://doc.spip.org/@spip_sqlite_optimize +// http://code.spip.net/@spip_sqlite_optimize function spip_pg_optimize($table, $serveur='',$requeter=true){ return spip_pg_query("VACUUM ". $table, $serveur, $requeter); } @@ -1324,7 +1324,7 @@ function spip_pg_optimize($table, $serveur='',$requeter=true){ // Selectionner la sous-chaine dans $objet // correspondant a $lang. Cf balise Multi de Spip -// http://doc.spip.org/@spip_pg_multi +// http://code.spip.net/@spip_pg_multi function spip_pg_multi ($objet, $lang) { $r = "regexp_replace(" . $objet @@ -1337,7 +1337,7 @@ function spip_pg_multi ($objet, $lang) { // Palanquee d'idiosyncrasies MySQL dans les creations de table // A completer par les autres, mais essayer de reduire en amont. -// http://doc.spip.org/@mysql2pg_type +// http://code.spip.net/@mysql2pg_type function mysql2pg_type($v){ $remplace = array( '/auto_increment/i' => '', // non reconnu @@ -1363,7 +1363,7 @@ function mysql2pg_type($v){ } // Renvoie false si on n'a pas les fonctions pg (pour l'install) -// http://doc.spip.org/@spip_versions_pg +// http://code.spip.net/@spip_versions_pg function spip_versions_pg(){ charger_php_extension('pgsql'); return function_exists('pg_connect'); diff --git a/ecrire/req/sqlite2.php b/ecrire/req/sqlite2.php index 855476ae77..4360031e33 100644 --- a/ecrire/req/sqlite2.php +++ b/ecrire/req/sqlite2.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -17,12 +17,12 @@ include_spip('req/sqlite_generique'); $GLOBALS['spip_sqlite2_functions_1'] = _sqlite_ref_fonctions(); -// http://doc.spip.org/@req_sqlite2_dist +// http://code.spip.net/@req_sqlite2_dist function req_sqlite2_dist($addr, $port, $login, $pass, $db='', $prefixe='') { return req_sqlite_dist($addr, $port, $login, $pass, $db, $prefixe, $sqlite_version=2); } -// http://doc.spip.org/@spip_sqlite2_constantes +// http://code.spip.net/@spip_sqlite2_constantes function spip_sqlite2_constantes(){ if (!defined('SPIP_SQLITE2_ASSOC')) { define('SPIP_SQLITE2_ASSOC', SQLITE_ASSOC); diff --git a/ecrire/req/sqlite3.php b/ecrire/req/sqlite3.php index 6eded16dfe..5f77fd0025 100644 --- a/ecrire/req/sqlite3.php +++ b/ecrire/req/sqlite3.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -19,13 +19,13 @@ include_spip('req/sqlite_generique'); $GLOBALS['spip_sqlite3_functions_1'] = _sqlite_ref_fonctions(); -// http://doc.spip.org/@req_sqlite3_dist +// http://code.spip.net/@req_sqlite3_dist function req_sqlite3_dist($addr, $port, $login, $pass, $db='', $prefixe='') { return req_sqlite_dist($addr, $port, $login, $pass, $db, $prefixe, $sqlite_version=3); } -// http://doc.spip.org/@spip_sqlite3_constantes +// http://code.spip.net/@spip_sqlite3_constantes function spip_sqlite3_constantes(){ if (!defined('SPIP_SQLITE3_ASSOC')) { define('SPIP_SQLITE3_ASSOC', PDO::FETCH_ASSOC); diff --git a/ecrire/req/sqlite_fonctions.php b/ecrire/req/sqlite_fonctions.php index ebda14147c..d06345e4df 100644 --- a/ecrire/req/sqlite_fonctions.php +++ b/ecrire/req/sqlite_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -20,7 +20,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * Et la liste des evolutions pour : http://sqlite.org/changes.html * */ -// http://doc.spip.org/@_sqlite_init_functions +// http://code.spip.net/@_sqlite_init_functions function _sqlite_init_functions(&$sqlite){ if (!$sqlite) return false; @@ -88,7 +88,7 @@ function _sqlite_init_functions(&$sqlite){ } // permet au besoin de charger des fonctions ailleurs par _sqlite_init_functions(); -// http://doc.spip.org/@_sqlite_add_function +// http://code.spip.net/@_sqlite_add_function function _sqlite_add_function(&$sqlite, &$f, &$r){ if (_sqlite_is_version(3, $sqlite)){ isset($r[1]) @@ -110,20 +110,20 @@ function _sqlite_func_ceil($a) { return ceil($a); } -// http://doc.spip.org/@_sqlite_func_concat +// http://code.spip.net/@_sqlite_func_concat function _sqlite_func_concat () { $args = func_get_args(); return join('',$args); } -// http://doc.spip.org/@_sqlite_func_dayofmonth +// http://code.spip.net/@_sqlite_func_dayofmonth function _sqlite_func_dayofmonth ($d) { return _sqlite_func_date("d",$d); } -// http://doc.spip.org/@_sqlite_func_find_in_set +// http://code.spip.net/@_sqlite_func_find_in_set function _sqlite_func_find_in_set($num, $set) { $rank=0; foreach (explode(",",$set) as $v) { @@ -137,7 +137,7 @@ function _sqlite_func_floor($a) { return floor($a); } -// http://doc.spip.org/@_sqlite_func_if +// http://code.spip.net/@_sqlite_func_if function _sqlite_func_if ($bool, $oui, $non) { return ($bool)?$oui:$non; } @@ -148,7 +148,7 @@ function _sqlite_func_if ($bool, $oui, $non) { * Retourne une chaine de caracteres a partir d'une chaine dans laquelle "sschaine" * a ete inseree a la position "index" en remplacant "longueur" caracteres. */ -// http://doc.spip.org/@_sqlite_func_insert +// http://code.spip.net/@_sqlite_func_insert function _sqlite_func_insert ($s, $index, $longueur, $chaine) { return substr($s,0, $index) @@ -157,13 +157,13 @@ function _sqlite_func_insert ($s, $index, $longueur, $chaine) { } -// http://doc.spip.org/@_sqlite_func_instr +// http://code.spip.net/@_sqlite_func_instr function _sqlite_func_instr ($s, $search) { return strpos($s,$search); } -// http://doc.spip.org/@_sqlite_func_least +// http://code.spip.net/@_sqlite_func_least function _sqlite_func_least () { $arg_list = func_get_args(); $least = min($arg_list); @@ -172,13 +172,13 @@ function _sqlite_func_least () { } -// http://doc.spip.org/@_sqlite_func_left +// http://code.spip.net/@_sqlite_func_left function _sqlite_func_left ($s, $lenght) { return substr($s,$lenght); } -// http://doc.spip.org/@_sqlite_func_now +// http://code.spip.net/@_sqlite_func_now function _sqlite_func_now(){ static $now = null; if (is_null($now)) @@ -188,14 +188,14 @@ function _sqlite_func_now(){ } -// http://doc.spip.org/@_sqlite_func_month +// http://code.spip.net/@_sqlite_func_month function _sqlite_func_month ($d) { return _sqlite_func_date("m",$d); } -// http://doc.spip.org/@_sqlite_func_preg_replace +// http://code.spip.net/@_sqlite_func_preg_replace function _sqlite_func_preg_replace($quoi, $cherche, $remplace) { $return = preg_replace('%'.$cherche.'%', $remplace, $quoi); #spip_log("preg_replace : $quoi, $cherche, $remplace, $return",'sqlite.'._LOG_DEBUG); @@ -230,19 +230,19 @@ function _sqlite_func_extraire_multi($quoi, $lang) { } -// http://doc.spip.org/@_sqlite_func_rand +// http://code.spip.net/@_sqlite_func_rand function _sqlite_func_rand() { return rand(); } -// http://doc.spip.org/@_sqlite_func_right +// http://code.spip.net/@_sqlite_func_right function _sqlite_func_right ($s, $length) { return substr($s,0 - $length); } -// http://doc.spip.org/@_sqlite_func_regexp_match +// http://code.spip.net/@_sqlite_func_regexp_match function _sqlite_func_regexp_match($cherche, $quoi) { // optimiser un cas tres courant avec les requetes en base if (!$quoi AND !strlen($quoi)) return false; @@ -252,14 +252,14 @@ function _sqlite_func_regexp_match($cherche, $quoi) { return $return; } -// http://doc.spip.org/@_sqlite_func_strftime +// http://code.spip.net/@_sqlite_func_strftime function _sqlite_func_strftime($date, $conv){ return strftime($conv, is_int($date)?$date:strtotime($date)); } /** * Nombre de jour entre 0000-00-00 et $d - * http://doc.spip.org/@_sqlite_func_to_days + * http://code.spip.net/@_sqlite_func_to_days * cf http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_to-days * @param string $d * @return int @@ -349,7 +349,7 @@ function _sqlite_timestampdiff($unit,$date1,$date2){ } } -// http://doc.spip.org/@_sqlite_func_unix_timestamp +// http://code.spip.net/@_sqlite_func_unix_timestamp function _sqlite_func_unix_timestamp($d) { static $mem = array(); static $n = 0; @@ -364,7 +364,7 @@ function _sqlite_func_unix_timestamp($d) { } -// http://doc.spip.org/@_sqlite_func_year +// http://code.spip.net/@_sqlite_func_year function _sqlite_func_year ($d) { return _sqlite_func_date("Y",$d); } @@ -389,7 +389,7 @@ function _sqlite_func_date($quoi,$d) { return $mem[$d][$quoi]; } -// http://doc.spip.org/@_sqlite_func_vide +// http://code.spip.net/@_sqlite_func_vide function _sqlite_func_vide(){ return; } diff --git a/ecrire/req/sqlite_generique.php b/ecrire/req/sqlite_generique.php index d7a66fc921..9001d5230b 100644 --- a/ecrire/req/sqlite_generique.php +++ b/ecrire/req/sqlite_generique.php @@ -3,7 +3,7 @@ /* *************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -28,7 +28,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * D'abord les fonctions d'abstractions de SPIP * */ -// http://doc.spip.org/@req_sqlite_dist +// http://code.spip.net/@req_sqlite_dist function req_sqlite_dist($addr, $port, $login, $pass, $db = '', $prefixe = '', $sqlite_version = ''){ static $last_connect = array(); @@ -1801,7 +1801,7 @@ function spip_sqlite_updateq($table, $champs, $where = '', $desc = array(), $ser /** * fonction pour la premiere connexion a un serveur SQLite - * http://doc.spip.org/@_sqlite_init + * http://code.spip.net/@_sqlite_init * * @return void */ @@ -1818,7 +1818,7 @@ function _sqlite_init(){ /** * teste la version sqlite du link en cours - * http://doc.spip.org/@_sqlite_is_version + * http://code.spip.net/@_sqlite_is_version * * @param string $version * @param string $link @@ -2228,7 +2228,7 @@ function _sqlite_modifier_table($table, $colonne, $opt = array(), $serveur = '') /** * Nom des fonctions - * http://doc.spip.org/@_sqlite_ref_fonctions + * http://code.spip.net/@_sqlite_ref_fonctions * * @return array */ @@ -2292,7 +2292,7 @@ function _sqlite_ref_fonctions(){ /** * $query est une requete ou une liste de champs - * http://doc.spip.org/@_sqlite_remplacements_definitions_table + * http://code.spip.net/@_sqlite_remplacements_definitions_table * * @param $query * @param bool $autoinc @@ -2372,7 +2372,7 @@ function _sqlite_collate_ci($champ){ * Creer la requete pour la creation d'une table * retourne la requete pour utilisation par sql_create() et sql_alter() * - * http://doc.spip.org/@_sqlite_requete_create + * http://code.spip.net/@_sqlite_requete_create * * @param $nom * @param $champs @@ -2451,7 +2451,7 @@ function _sqlite_requete_create($nom, $champs, $cles, $autoinc = false, $tempora * stocke le resultat pour ne pas faire * de requetes showtable intempestives * - * http://doc.spip.org/@_sqlite_ajouter_champs_timestamp + * http://code.spip.net/@_sqlite_ajouter_champs_timestamp * * @param $table * @param $couples diff --git a/ecrire/typographie/en.php b/ecrire/typographie/en.php index 6e99a2d3b6..3c078632e5 100644 --- a/ecrire/typographie/en.php +++ b/ecrire/typographie/en.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/typographie/fr.php b/ecrire/typographie/fr.php index 1243ea2afc..8f2fce03df 100644 --- a/ecrire/typographie/fr.php +++ b/ecrire/typographie/fr.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/urls/page.php b/ecrire/urls/page.php index 6747a1b445..5ca8a12b07 100644 --- a/ecrire/urls/page.php +++ b/ecrire/urls/page.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -25,7 +25,7 @@ define ('_debut_urls_page', get_spip_script('./').'?'); ####### -// http://doc.spip.org/@_generer_url_page +// http://code.spip.net/@_generer_url_page function _generer_url_page($type,$id, $args='', $ancre='') { if ($generer_url_externe = charger_fonction("generer_url_$type",'urls',true)) { @@ -42,7 +42,7 @@ function _generer_url_page($type,$id, $args='', $ancre='') { // retrouve le fond et les parametres d'une URL abregee // le contexte deja existant est fourni dans args sous forme de tableau ou query string -// http://doc.spip.org/@urls_page_dist +// http://code.spip.net/@urls_page_dist function urls_page_dist($i, &$entite, $args='', $ancre='') { if (is_numeric($i)) diff --git a/ecrire/xml/analyser_dtd.php b/ecrire/xml/analyser_dtd.php index 4736f72994..67bdd9dfec 100644 --- a/ecrire/xml/analyser_dtd.php +++ b/ecrire/xml/analyser_dtd.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; include_spip('xml/interfaces'); -// http://doc.spip.org/@charger_dtd +// http://code.spip.net/@charger_dtd function charger_dtd($grammaire, $avail, $rotlvl) { static $dtd = array(); # cache bien utile pour le validateur en boucle @@ -66,7 +66,7 @@ function charger_dtd($grammaire, $avail, $rotlvl) // faire suivre chaque nom d'un espace (et supprimer les autres) ... // et parentheser le tout pour que | + * ? s'applique dessus. -// http://doc.spip.org/@compilerRegle +// http://code.spip.net/@compilerRegle function compilerRegle($val) { $x = str_replace('()','', @@ -79,7 +79,7 @@ function compilerRegle($val) } -// http://doc.spip.org/@analyser_dtd +// http://code.spip.net/@analyser_dtd function analyser_dtd($loc, $avail, &$dtc) { // creer le repertoire de cache si ce n'est fait @@ -140,7 +140,7 @@ function analyser_dtd($loc, $avail, &$dtc) return true; } -// http://doc.spip.org/@analyser_dtd_comment +// http://code.spip.net/@analyser_dtd_comment function analyser_dtd_comment($dtd, &$dtc, $grammaire){ // ejecter les commentaires, surtout quand ils contiennent du code. // Option /s car sur plusieurs lignes parfois @@ -150,14 +150,14 @@ function analyser_dtd_comment($dtd, &$dtc, $grammaire){ return $m[1]; } -// http://doc.spip.org/@analyser_dtd_pi +// http://code.spip.net/@analyser_dtd_pi function analyser_dtd_pi($dtd, &$dtc, $grammaire){ if (!preg_match('/^<\?.*?>\s*(.*)$/s', $dtd, $m)) return -10; return $m[1]; } -// http://doc.spip.org/@analyser_dtd_lexeme +// http://code.spip.net/@analyser_dtd_lexeme function analyser_dtd_lexeme($dtd, &$dtc, $grammaire){ if (!preg_match(_REGEXP_ENTITY_DEF,$dtd, $m)) @@ -182,7 +182,7 @@ function analyser_dtd_lexeme($dtd, &$dtc, $grammaire){ // il faudrait gerer plus proprement les niveaux d'inclusion: // ca ne depasse pas 3 ici. -// http://doc.spip.org/@analyser_dtd_data +// http://code.spip.net/@analyser_dtd_data function analyser_dtd_data($dtd, &$dtc, $grammaire){ if (!preg_match(_REGEXP_INCLUDE_USE,$dtd,$m)) @@ -197,7 +197,7 @@ function analyser_dtd_data($dtd, &$dtc, $grammaire){ return $retour; } -// http://doc.spip.org/@analyser_dtd_notation +// http://code.spip.net/@analyser_dtd_notation function analyser_dtd_notation($dtd, &$dtc, $grammaire){ if (!preg_match('/^<!NOTATION.*?>\s*(.*)$/s',$dtd, $m)) return -8; @@ -205,7 +205,7 @@ function analyser_dtd_notation($dtd, &$dtc, $grammaire){ return $m[1]; } -// http://doc.spip.org/@analyser_dtd_entity +// http://code.spip.net/@analyser_dtd_entity function analyser_dtd_entity($dtd, &$dtc, $grammaire) { if (!preg_match(_REGEXP_ENTITY_DECL, $dtd, $m)) @@ -254,7 +254,7 @@ function analyser_dtd_entity($dtd, &$dtc, $grammaire) // aura fait l'essentiel du controle sans memorisation des balises. // Fin du controle en finElement -// http://doc.spip.org/@analyser_dtd_element +// http://code.spip.net/@analyser_dtd_element function analyser_dtd_element($dtd, &$dtc, $grammaire) { if (!preg_match('/^<!ELEMENT\s+([^>\s]+)([^>]*)>\s*(.*)$/s', $dtd, $m)) @@ -296,7 +296,7 @@ function analyser_dtd_element($dtd, &$dtc, $grammaire) } -// http://doc.spip.org/@analyser_dtd_attlist +// http://code.spip.net/@analyser_dtd_attlist function analyser_dtd_attlist($dtd, &$dtc, $grammaire) { if (!preg_match('/^<!ATTLIST\s+(\S+)\s+([^>]*)>\s*(.*)/s', $dtd, $m)) @@ -327,7 +327,7 @@ function analyser_dtd_attlist($dtd, &$dtc, $grammaire) // Si le premier argument n'est pas une chaine, // retourne les statistiques (pour debug de DTD, inutilise en mode normal) -// http://doc.spip.org/@expanserEntite +// http://code.spip.net/@expanserEntite function expanserEntite($val, $macros=array()) { static $vu = array(); diff --git a/ecrire/xml/indenter.php b/ecrire/xml/indenter.php index 7b9b0b9b07..4c783c7afd 100644 --- a/ecrire/xml/indenter.php +++ b/ecrire/xml/indenter.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -14,26 +14,26 @@ if (!defined('_ECRIRE_INC_VERSION')) return; class IndenteurXML { -// http://doc.spip.org/@debutElement +// http://code.spip.net/@debutElement function debutElement($phraseur, $name, $attrs) { xml_debutElement($this, $name, $attrs);} -// http://doc.spip.org/@finElement +// http://code.spip.net/@finElement function finElement($phraseur, $name) { xml_finElement($this, $name);} -// http://doc.spip.org/@textElement +// http://code.spip.net/@textElement function textElement($phraseur, $data) { xml_textElement($this, $data);} function piElement($phraseur, $target, $data) { xml_PiElement($this, $target, $data);} -// http://doc.spip.org/@defautElement +// http://code.spip.net/@defautElement function defaultElement($phraseur, $data) { xml_defaultElement($this, $data);} -// http://doc.spip.org/@phraserTout +// http://code.spip.net/@phraserTout function phraserTout($phraseur, $data) { xml_parsestring($this, $data); @@ -51,7 +51,7 @@ function phraserTout($phraseur, $data) var $sax = NULL; } -// http://doc.spip.org/@xml_indenter_dist +// http://code.spip.net/@xml_indenter_dist function xml_indenter_dist($page, $apply=false) { $sax = charger_fonction('sax', 'xml'); diff --git a/ecrire/xml/interfaces.php b/ecrire/xml/interfaces.php index be65f87831..98eedef9db 100644 --- a/ecrire/xml/interfaces.php +++ b/ecrire/xml/interfaces.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/ecrire/xml/sax.php b/ecrire/xml/sax.php index ceb97b7099..d0d9a6cdc8 100644 --- a/ecrire/xml/sax.php +++ b/ecrire/xml/sax.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -31,7 +31,7 @@ function xml_entites_html($texte){ return $texte; } -// http://doc.spip.org/@xml_debutElement +// http://code.spip.net/@xml_debutElement function xml_debutElement($phraseur, $name, $attrs) { $depth = $phraseur->depth; @@ -63,7 +63,7 @@ function xml_debutElement($phraseur, $name, $attrs) $phraseur->reperes[$phraseur->depth] = xml_get_current_line_number($phraseur->sax); } -// http://doc.spip.org/@xml_finElement +// http://code.spip.net/@xml_finElement function xml_finElement($phraseur, $name, $fusion_bal=false) { $ouv = $phraseur->ouvrant[$phraseur->depth]; @@ -87,7 +87,7 @@ function xml_finElement($phraseur, $name, $fusion_bal=false) $phraseur->res .= ($ouv ? ('<' . $ouv . ' />') : ("</" . $name . ">")); } -// http://doc.spip.org/@xml_textElement +// http://code.spip.net/@xml_textElement function xml_textElement($phraseur, $data) { $depth = $phraseur->depth; @@ -112,7 +112,7 @@ function xml_piElement($phraseur, $target, $data) } -// http://doc.spip.org/@xml_defautElement +// http://code.spip.net/@xml_defautElement function xml_defaultElement($phraseur, $data) { $depth = $phraseur->depth; @@ -121,7 +121,7 @@ function xml_defaultElement($phraseur, $data) $phraseur->contenu[$depth] .= $data; } -// http://doc.spip.org/@xml_parsestring +// http://code.spip.net/@xml_parsestring function xml_parsestring($phraseur, $data) { $phraseur->contenu[$phraseur->depth] =''; @@ -143,7 +143,7 @@ function xml_parsestring($phraseur, $data) } } -// http://doc.spip.org/@coordonnees_erreur +// http://code.spip.net/@coordonnees_erreur function coordonnees_erreur($phraseur, $msg) { $entete_length = substr_count($phraseur->entete,"\n"); @@ -152,7 +152,7 @@ function coordonnees_erreur($phraseur, $msg) xml_get_current_column_number($phraseur->sax)); } -// http://doc.spip.org/@xml_sax_dist +// http://code.spip.net/@xml_sax_dist function xml_sax_dist($page, $apply=false, $phraseur=NULL, $doctype='', $charset=null) { if (is_null($charset)) @@ -231,7 +231,7 @@ function xml_sax_dist($page, $apply=false, $phraseur=NULL, $doctype='', $charset // Si la DTD est dispo, on va chercher les entites dedans // sinon on se rabat sur ce qu'en connait SPIP en standard. -// http://doc.spip.org/@sax_bug +// http://code.spip.net/@sax_bug function sax_bug($data, $dtc, $charset=null) { if (is_null($charset)) @@ -257,7 +257,7 @@ function sax_bug($data, $dtc, $charset=null) // Si pas de Doctype et premiere balise = RSS prendre la doctype RSS 0.91: // les autres formats RSS n'ont pas de DTD, // mais un XML Schema que SPIP ne fait pas encore lire. -// http://doc.spip.org/@analyser_doctype +// http://code.spip.net/@analyser_doctype function analyser_doctype($data) { if (!preg_match(_REGEXP_DOCTYPE, $data, $page)) { diff --git a/ecrire/xml/valider.php b/ecrire/xml/valider.php index 7cfc836837..db6baa5964 100644 --- a/ecrire/xml/valider.php +++ b/ecrire/xml/valider.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; class ValidateurXML { -// http://doc.spip.org/@validerElement +// http://code.spip.net/@validerElement function validerElement($phraseur, $name, $attrs) { if (!($p = isset($this->dtc->elements[$name]))) { @@ -82,7 +82,7 @@ function validerElement($phraseur, $name, $attrs) } } -// http://doc.spip.org/@validerAttribut +// http://code.spip.net/@validerAttribut function validerAttribut($phraseur, $name, $val, $bal) { // Si la balise est inconnue, eviter d'insister @@ -124,7 +124,7 @@ function validerAttribut_NMTOKENS($phraseur, $name, $val, $bal) $this->valider_motif($phraseur, $name, $val, $bal, _REGEXP_NMTOKENS); } -// http://doc.spip.org/@validerAttribut_ID +// http://code.spip.net/@validerAttribut_ID function validerAttribut_ID($phraseur, $name, $val, $bal) { if (isset($this->ids[$val])) { @@ -142,19 +142,19 @@ function validerAttribut_ID($phraseur, $name, $val, $bal) } } -// http://doc.spip.org/@validerAttribut_IDREF +// http://code.spip.net/@validerAttribut_IDREF function validerAttribut_IDREF($phraseur, $name, $val, $bal) { $this->idrefs[] = array($val, xml_get_current_line_number($phraseur), xml_get_current_column_number($phraseur)); } -// http://doc.spip.org/@validerAttribut_IDREFS +// http://code.spip.net/@validerAttribut_IDREFS function validerAttribut_IDREFS($phraseur, $name, $val, $bal) { $this->idrefss[] = array($val, xml_get_current_line_number($phraseur), xml_get_current_column_number($phraseur)); } -// http://doc.spip.org/@valider_motif +// http://code.spip.net/@valider_motif function valider_motif($phraseur, $name, $val, $bal, $motif) { if (!preg_match($motif, $val)) { @@ -169,14 +169,14 @@ function valider_motif($phraseur, $name, $val, $bal, $motif) } } -// http://doc.spip.org/@valider_idref +// http://code.spip.net/@valider_idref function valider_idref($nom, $ligne, $col) { if (!isset($this->ids[$nom])) $this->err[]= array(" <p><b>$nom</b> " . _T('zxml_inconnu_id'), $ligne, $col); } -// http://doc.spip.org/@valider_passe2 +// http://code.spip.net/@valider_passe2 function valider_passe2() { if (!$this->err) { @@ -192,7 +192,7 @@ function valider_passe2() } } -// http://doc.spip.org/@debutElement +// http://code.spip.net/@debutElement function debutElement($phraseur, $name, $attrs) { if ($this->dtc->elements) @@ -206,7 +206,7 @@ function debutElement($phraseur, $name, $attrs) } } -// http://doc.spip.org/@finElement +// http://code.spip.net/@finElement function finElement($phraseur, $name) { $depth = $this->depth; @@ -247,7 +247,7 @@ function finElement($phraseur, $name) if ($f = $this->process['fin']) $f($this, $name, $vide); } -// http://doc.spip.org/@textElement +// http://code.spip.net/@textElement function textElement($phraseur, $data) { if (trim($data)) { @@ -275,7 +275,7 @@ function piElement($phraseur, $target, $data) // On ne les verra donc pas passer a cette etape, contrairement a ce que // le source de la page laisse legitimement supposer. -// http://doc.spip.org/@defautElement +// http://code.spip.net/@defautElement function defaultElement($phraseur, $data) { if (!preg_match('/^<!--/', $data) @@ -293,7 +293,7 @@ function defaultElement($phraseur, $data) } } -// http://doc.spip.org/@phraserTout +// http://code.spip.net/@phraserTout function phraserTout($phraseur, $data) { xml_parsestring($this, $data); @@ -338,7 +338,7 @@ function ValidateurXML($process=array()) { // Retourne une structure ValidateurXML, dont le champ "err" est un tableau // ayant comme entrees des sous-tableaux [message, ligne, colonne] -// http://doc.spip.org/@xml_valider_dist +// http://code.spip.net/@xml_valider_dist function xml_valider_dist($page, $apply=false, $process=false, $doctype='', $charset=null) { $f = new ValidateurXML($process); diff --git a/prive/aide_body.css b/prive/aide_body.css index 7f7e5217bd..a64b92fc60 100644 --- a/prive/aide_body.css +++ b/prive/aide_body.css @@ -1,7 +1,7 @@ /**************************************************************************/ /* SPIP, Systeme de publication pour l'internet */ /* */ -/* Copyright (c) 2001-2014 */ +/* Copyright (c) 2001-2015 */ /* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James */ /* */ /* Ce programme est un logiciel libre distribue sous licence GNU/GPL. */ diff --git a/prive/aide_menu.html b/prive/aide_menu.html index 48d5d3e988..5abe3e08b5 100644 --- a/prive/aide_menu.html +++ b/prive/aide_menu.html @@ -5,7 +5,7 @@ /**************************************************************************/ /* SPIP, Systeme de publication pour l'internet */ /* */ -/* Copyright (c) 2001-2014 */ +/* Copyright (c) 2001-2015 */ /* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James */ /* */ /* Ce programme est un logiciel libre distribue sous licence GNU/GPL. */ diff --git a/prive/echafaudage/hierarchie/objet_fonctions.php b/prive/echafaudage/hierarchie/objet_fonctions.php index bc9871642e..0dbb0a20e4 100644 --- a/prive/echafaudage/hierarchie/objet_fonctions.php +++ b/prive/echafaudage/hierarchie/objet_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_annonces.php b/prive/formulaires/configurer_annonces.php index cd7a49b6c1..28e111f274 100644 --- a/prive/formulaires/configurer_annonces.php +++ b/prive/formulaires/configurer_annonces.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_articles.php b/prive/formulaires/configurer_articles.php index ca6d5b8814..609d415030 100644 --- a/prive/formulaires/configurer_articles.php +++ b/prive/formulaires/configurer_articles.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_avertisseur.php b/prive/formulaires/configurer_avertisseur.php index b1d675e4eb..742467d26a 100644 --- a/prive/formulaires/configurer_avertisseur.php +++ b/prive/formulaires/configurer_avertisseur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_flux.php b/prive/formulaires/configurer_flux.php index 4c5013180b..bdaff356f1 100644 --- a/prive/formulaires/configurer_flux.php +++ b/prive/formulaires/configurer_flux.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_identite.php b/prive/formulaires/configurer_identite.php index d6f084c0a0..87b996396d 100644 --- a/prive/formulaires/configurer_identite.php +++ b/prive/formulaires/configurer_identite.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_langage.php b/prive/formulaires/configurer_langage.php index a27c02f16b..69aa0b1a22 100644 --- a/prive/formulaires/configurer_langage.php +++ b/prive/formulaires/configurer_langage.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_langue.php b/prive/formulaires/configurer_langue.php index 3190877d59..52a83b34ba 100644 --- a/prive/formulaires/configurer_langue.php +++ b/prive/formulaires/configurer_langue.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_logos.php b/prive/formulaires/configurer_logos.php index 899ebee423..b84e3d6c52 100644 --- a/prive/formulaires/configurer_logos.php +++ b/prive/formulaires/configurer_logos.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_metas.php b/prive/formulaires/configurer_metas.php index 5419ce3ba2..73e1154aa5 100644 --- a/prive/formulaires/configurer_metas.php +++ b/prive/formulaires/configurer_metas.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_moderniseur.php b/prive/formulaires/configurer_moderniseur.php index beede9352a..01cf72dd2f 100644 --- a/prive/formulaires/configurer_moderniseur.php +++ b/prive/formulaires/configurer_moderniseur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_multilinguisme.php b/prive/formulaires/configurer_multilinguisme.php index a15523a4c0..02bb7356d2 100644 --- a/prive/formulaires/configurer_multilinguisme.php +++ b/prive/formulaires/configurer_multilinguisme.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_preferences.php b/prive/formulaires/configurer_preferences.php index d2bd2378d3..1d0108bc3a 100644 --- a/prive/formulaires/configurer_preferences.php +++ b/prive/formulaires/configurer_preferences.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_previsualiseur.php b/prive/formulaires/configurer_previsualiseur.php index 55a639da90..d1be988acc 100644 --- a/prive/formulaires/configurer_previsualiseur.php +++ b/prive/formulaires/configurer_previsualiseur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_redacteurs.php b/prive/formulaires/configurer_redacteurs.php index e29582d039..c678300776 100644 --- a/prive/formulaires/configurer_redacteurs.php +++ b/prive/formulaires/configurer_redacteurs.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_reducteur.php b/prive/formulaires/configurer_reducteur.php index d361326fc9..e7b7da3e4a 100644 --- a/prive/formulaires/configurer_reducteur.php +++ b/prive/formulaires/configurer_reducteur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_relayeur.php b/prive/formulaires/configurer_relayeur.php index ca7f96196c..e4d01eb701 100644 --- a/prive/formulaires/configurer_relayeur.php +++ b/prive/formulaires/configurer_relayeur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -95,7 +95,7 @@ function relayeur_saisie_ou_config($http_proxy, $default){ } // Function glue_url : le pendant de parse_url -// http://doc.spip.org/@glue_url +// http://code.spip.net/@glue_url function glue_url ($url){ if (!is_array($url)){ return false; @@ -124,7 +124,7 @@ function glue_url ($url){ // Ne pas afficher la partie 'password' du proxy -// http://doc.spip.org/@no_password_proxy_url +// http://code.spip.net/@no_password_proxy_url function no_password_proxy_url($http_proxy) { if ($http_proxy AND $p = @parse_url($http_proxy) diff --git a/prive/formulaires/configurer_rubriques.php b/prive/formulaires/configurer_rubriques.php index c986540cf0..1ec5965356 100644 --- a/prive/formulaires/configurer_rubriques.php +++ b/prive/formulaires/configurer_rubriques.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_transcodeur.php b/prive/formulaires/configurer_transcodeur.php index 31c5cd19e2..9e3e63acb3 100644 --- a/prive/formulaires/configurer_transcodeur.php +++ b/prive/formulaires/configurer_transcodeur.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/configurer_visiteurs.php b/prive/formulaires/configurer_visiteurs.php index 9eff5eaee6..68a42df725 100644 --- a/prive/formulaires/configurer_visiteurs.php +++ b/prive/formulaires/configurer_visiteurs.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/dater.php b/prive/formulaires/dater.php index 9bd7da9c0c..cd26023ccc 100644 --- a/prive/formulaires/dater.php +++ b/prive/formulaires/dater.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/declarer_bases.php b/prive/formulaires/declarer_bases.php index 405f72e0a0..591dddf632 100644 --- a/prive/formulaires/declarer_bases.php +++ b/prive/formulaires/declarer_bases.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/editer_article.php b/prive/formulaires/editer_article.php index 5ccc530152..2e00929a4b 100644 --- a/prive/formulaires/editer_article.php +++ b/prive/formulaires/editer_article.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/editer_liens.php b/prive/formulaires/editer_liens.php index bf34f48c90..f31b026936 100644 --- a/prive/formulaires/editer_liens.php +++ b/prive/formulaires/editer_liens.php @@ -2,7 +2,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/editer_logo.php b/prive/formulaires/editer_logo.php index 4e53681cb6..462d1f1434 100644 --- a/prive/formulaires/editer_logo.php +++ b/prive/formulaires/editer_logo.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/editer_rubrique.php b/prive/formulaires/editer_rubrique.php index 84654c561c..9eef7407ca 100644 --- a/prive/formulaires/editer_rubrique.php +++ b/prive/formulaires/editer_rubrique.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/instituer_objet.php b/prive/formulaires/instituer_objet.php index a90498b5d5..df92037e8a 100644 --- a/prive/formulaires/instituer_objet.php +++ b/prive/formulaires/instituer_objet.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/login.php b/prive/formulaires/login.php index 1c558d3122..2258bf8cf6 100644 --- a/prive/formulaires/login.php +++ b/prive/formulaires/login.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/recherche_ecrire.php b/prive/formulaires/recherche_ecrire.php index d34aacd970..7ed0c4256e 100644 --- a/prive/formulaires/recherche_ecrire.php +++ b/prive/formulaires/recherche_ecrire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/rediriger_article.php b/prive/formulaires/rediriger_article.php index a210408e41..a0b9d258cc 100644 --- a/prive/formulaires/rediriger_article.php +++ b/prive/formulaires/rediriger_article.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/formulaires/traduire.php b/prive/formulaires/traduire.php index 86e3907765..5fe3442935 100644 --- a/prive/formulaires/traduire.php +++ b/prive/formulaires/traduire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/informer_auteur_fonctions.php b/prive/informer_auteur_fonctions.php index c5b2efa1ad..e7b837c7e2 100644 --- a/prive/informer_auteur_fonctions.php +++ b/prive/informer_auteur_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/articles_fonctions.php b/prive/objets/liste/articles_fonctions.php index 61382a5048..5bdcd5d229 100644 --- a/prive/objets/liste/articles_fonctions.php +++ b/prive/objets/liste/articles_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/auteurs_associer_fonctions.php b/prive/objets/liste/auteurs_associer_fonctions.php index ffe7af0466..928031c18e 100644 --- a/prive/objets/liste/auteurs_associer_fonctions.php +++ b/prive/objets/liste/auteurs_associer_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/auteurs_fonctions.php b/prive/objets/liste/auteurs_fonctions.php index ce03320697..fc00d675c7 100644 --- a/prive/objets/liste/auteurs_fonctions.php +++ b/prive/objets/liste/auteurs_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/auteurs_lies_fonctions.php b/prive/objets/liste/auteurs_lies_fonctions.php index ffe7af0466..928031c18e 100644 --- a/prive/objets/liste/auteurs_lies_fonctions.php +++ b/prive/objets/liste/auteurs_lies_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/objets-en-edition_fonctions.php b/prive/objets/liste/objets-en-edition_fonctions.php index 2a855c9fca..fcfd9a427a 100644 --- a/prive/objets/liste/objets-en-edition_fonctions.php +++ b/prive/objets/liste/objets-en-edition_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/objets-trad_fonctions.php b/prive/objets/liste/objets-trad_fonctions.php index 832b52f820..df7efd18ec 100644 --- a/prive/objets/liste/objets-trad_fonctions.php +++ b/prive/objets/liste/objets-trad_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/objets/liste/visiteurs_fonctions.php b/prive/objets/liste/visiteurs_fonctions.php index 6e5528e471..ba78534d4c 100644 --- a/prive/objets/liste/visiteurs_fonctions.php +++ b/prive/objets/liste/visiteurs_fonctions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * diff --git a/prive/squelettes/contenu/aide_fonctions.php b/prive/squelettes/contenu/aide_fonctions.php index 4c285d0c3b..e6c10d4c64 100644 --- a/prive/squelettes/contenu/aide_fonctions.php +++ b/prive/squelettes/contenu/aide_fonctions.php @@ -59,7 +59,7 @@ function aide_cache_image($help_server, $cache, $rep, $lang, $file, $ext) { // Affichage du menu de gauche avec analyse de la section demandee // afin d'ouvrir le sous-menu correspondant a l'affichage a droite -// http://doc.spip.org/@help_menu_rubrique +// http://code.spip.net/@help_menu_rubrique function aide_menu($aide) { $contenu = aide_contenu(); preg_match_all(_SECTIONS_AIDE, $contenu, $sections, PREG_SET_ORDER); diff --git a/spip.php b/spip.php index 20c2d5bc3b..9074849b78 100644 --- a/spip.php +++ b/spip.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2015 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * -- GitLab