From d2a42acf1948bae86c54989e61d592635d96cd73 Mon Sep 17 00:00:00 2001
From: "spip.franck@lien-d-amis.net" <>
Date: Mon, 8 May 2017 10:42:02 +0000
Subject: [PATCH] =?UTF-8?q?code.spip=20est=20maintenant=20en=20https,=20do?=
 =?UTF-8?q?nc=20j'ajoute=20le=20"s"=20=C3=A0=20http?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 action/acceder_document.php          | 2 +-
 action/changer_mode_document.php     | 4 ++--
 action/copier_local.php              | 4 ++--
 action/supprimer_document.php        | 2 +-
 action/tourner.php                   | 6 +++---
 formulaires/editer_document.php      | 2 +-
 inc/documents.php                    | 6 +++---
 inc/joindre_document.php             | 8 ++++----
 metadata/image.php                   | 2 +-
 urls/generer_url_document.php        | 2 +-
 urls/generer_url_ecrire_document.php | 2 +-
 11 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/action/acceder_document.php b/action/acceder_document.php
index d1d09593..5e10ea02 100644
--- a/action/acceder_document.php
+++ b/action/acceder_document.php
@@ -21,7 +21,7 @@ include_spip('inc/headers');
 // soit que le document est publie, c'est-a-dire
 // joint a au moins 1 article ou rubrique publie
 
-// http://code.spip.net/@action_acceder_document_dist
+// https://code.spip.net/@action_acceder_document_dist
 function action_acceder_document_dist() {
 	include_spip('inc/documents');
 
diff --git a/action/changer_mode_document.php b/action/changer_mode_document.php
index 66eab81b..ac8d61d8 100644
--- a/action/changer_mode_document.php
+++ b/action/changer_mode_document.php
@@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
 /**
  * Cette action permet de basculer du mode image au mode document et vice versa
  *
- * http://code.spip.net/@action_changer_mode_document_dist
+ * https://code.spip.net/@action_changer_mode_document_dist
  *
  * @param int $id_document
  * @param string $mode
@@ -45,7 +45,7 @@ function action_changer_mode_document_dist($id_document = null, $mode = null) {
 	}
 }
 
-// http://code.spip.net/@action_changer_mode_document_post
+// https://code.spip.net/@action_changer_mode_document_post
 function action_changer_mode_document_post($id_document, $mode) {
 	// - id_document le doc a modifier
 	// - mode le mode a lui donner
diff --git a/action/copier_local.php b/action/copier_local.php
index 7d22776a..0ab0d118 100644
--- a/action/copier_local.php
+++ b/action/copier_local.php
@@ -20,7 +20,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
  * Il s'agit de la partie logique, c'est a dire que cette fonction
  * realise la copie.
  *
- * http://code.spip.net/@action_copier_local_dist
+ * https://code.spip.net/@action_copier_local_dist
  *
  * @param null $id_document
  * @return bool|mixed|string
@@ -46,7 +46,7 @@ function action_copier_local_dist($id_document = null) {
 }
 
 /**
- * http://code.spip.net/@action_copier_local_post
+ * https://code.spip.net/@action_copier_local_post
  *
  * @param  $id_document
  * @return bool|mixed|string
diff --git a/action/supprimer_document.php b/action/supprimer_document.php
index 9c582d95..ff905e6a 100644
--- a/action/supprimer_document.php
+++ b/action/supprimer_document.php
@@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
 	return;
 }
 
-// http://code.spip.net/@supprimer_document
+// https://code.spip.net/@supprimer_document
 function action_supprimer_document_dist($id_document = 0) {
 	if (!$id_document) {
 		$securiser_action = charger_fonction('securiser_action', 'inc');
diff --git a/action/tourner.php b/action/tourner.php
index 94a26512..8c22a8d7 100644
--- a/action/tourner.php
+++ b/action/tourner.php
@@ -17,7 +17,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
 /**
  * Tourner un document
  *
- * http://code.spip.net/@action_tourner_dist
+ * https://code.spip.net/@action_tourner_dist
  *
  * lorsque les arguments sont passes dans arg en GET :
  * id_document-angle
@@ -47,7 +47,7 @@ function action_tourner_dist($id_document = null, $angle = null) {
 /**
  * Tourner un document
  *
- * http://code.spip.net/@action_tourner_post
+ * https://code.spip.net/@action_tourner_post
  *
  * @param int $id_document
  * @param int $angle
@@ -134,7 +134,7 @@ function action_tourner_post($id_document, $angle) {
 
 // Appliquer l'EXIF orientation
 // cf. http://trac.rezo.net/trac/spip/ticket/1494
-// http://code.spip.net/@tourner_selon_exif_orientation
+// https://code.spip.net/@tourner_selon_exif_orientation
 function tourner_selon_exif_orientation($id_document, $fichier) {
 
 	if (function_exists('exif_read_data')
diff --git a/formulaires/editer_document.php b/formulaires/editer_document.php
index 925ac08d..7f92a703 100644
--- a/formulaires/editer_document.php
+++ b/formulaires/editer_document.php
@@ -146,7 +146,7 @@ function formulaires_editer_document_verifier_dist(
 	return $erreurs;
 }
 
-// http://code.spip.net/@inc_editer_article_dist
+// https://code.spip.net/@inc_editer_article_dist
 function formulaires_editer_document_traiter_dist(
 	$id_document = 'new',
 	$id_parent = '',
diff --git a/inc/documents.php b/inc/documents.php
index 8fc783d0..6259c3e5 100644
--- a/inc/documents.php
+++ b/inc/documents.php
@@ -28,7 +28,7 @@ if (!defined('CHARSET_JOINT')) {
 // Filtre pour #FICHIER permettant d'incruster le contenu d'un document
 // Si 2e arg fourni, conversion dans le charset du site si possible
 
-// http://code.spip.net/@contenu_document
+// https://code.spip.net/@contenu_document
 function contenu_document($arg, $charset = '') {
 	include_spip('inc/distant');
 	if (is_numeric($arg)) {
@@ -61,7 +61,7 @@ function contenu_document($arg, $charset = '') {
 	return $r;
 }
 
-// http://code.spip.net/@generer_url_document_dist
+// https://code.spip.net/@generer_url_document_dist
 function generer_url_document_dist($id_document, $args = '', $ancre = '') {
 
 	include_spip('inc/autoriser');
@@ -112,7 +112,7 @@ function generer_url_document_dist($id_document, $args = '', $ancre = '') {
 //
 // A noter : dans le portfolio prive on pousse le vice jusqu'a reduire la taille
 // de la vignette -> c'est a ca que sert la variable $portfolio
-// http://code.spip.net/@vignette_automatique
+// https://code.spip.net/@vignette_automatique
 function vignette_automatique($img, $doc, $lien, $x = 0, $y = 0, $align = '', $class = 'spip_logo spip_logos') {
 	include_spip('inc/distant');
 	include_spip('inc/texte');
diff --git a/inc/joindre_document.php b/inc/joindre_document.php
index ceb206c4..63324e78 100644
--- a/inc/joindre_document.php
+++ b/inc/joindre_document.php
@@ -300,7 +300,7 @@ function joindre_decrire_contenu_zip($zip) {
 }
 
 
-// http://code.spip.net/@joindre_deballes
+// https://code.spip.net/@joindre_deballes
 function joindre_deballer_lister_zip($path, $tmp_dir) {
 	include_spip('inc/pclzip');
 	$archive = new PclZip($path);
@@ -338,7 +338,7 @@ if (!function_exists('fixer_extension_document')) {
 	 * @param unknown_type $doc
 	 * @return unknown
 	 */
-// http://code.spip.net/@fixer_extension_document
+// https://code.spip.net/@fixer_extension_document
 	function fixer_extension_document($doc) {
 		$extension = '';
 		$name = $doc['name'];
@@ -365,7 +365,7 @@ if (!function_exists('fixer_extension_document')) {
 //
 // Gestion des fichiers ZIP
 //
-// http://code.spip.net/@accepte_fichier_upload
+// https://code.spip.net/@accepte_fichier_upload
 
 function accepte_fichier_upload($f) {
 	if (!preg_match(',.*__MACOSX/,', $f)
@@ -383,7 +383,7 @@ function accepte_fichier_upload($f) {
 
 # callback pour le deballage d'un zip telecharge
 # http://www.phpconcept.net/pclzip/man/en/?options-pclzip_cb_pre_extractfunction
-// http://code.spip.net/@callback_deballe_fichier
+// https://code.spip.net/@callback_deballe_fichier
 
 function callback_deballe_fichier($p_event, &$p_header) {
 	if (accepte_fichier_upload($p_header['filename'])) {
diff --git a/metadata/image.php b/metadata/image.php
index 01d03a74..992e02e2 100644
--- a/metadata/image.php
+++ b/metadata/image.php
@@ -33,7 +33,7 @@ function metadata_image_dist($fichier) {
  * @param bool $strict
  * @return string
  */
-// http://code.spip.net/@decoder_type_image
+// https://code.spip.net/@decoder_type_image
 function decoder_type_image($type, $strict = false) {
 	switch ($type) {
 		case 1:
diff --git a/urls/generer_url_document.php b/urls/generer_url_document.php
index 66270ec2..c79a32b7 100644
--- a/urls/generer_url_document.php
+++ b/urls/generer_url_document.php
@@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
  * @param string $connect
  * @return string
  *
- * http://code.spip.net/@generer_url_ecrire_document
+ * https://code.spip.net/@generer_url_ecrire_document
  */
 function urls_generer_url_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') {
 	include_spip('inc/documents');
diff --git a/urls/generer_url_ecrire_document.php b/urls/generer_url_ecrire_document.php
index 0229146c..32f08074 100644
--- a/urls/generer_url_ecrire_document.php
+++ b/urls/generer_url_ecrire_document.php
@@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
  * @param string $connect
  * @return string
  *
- * http://code.spip.net/@generer_url_ecrire_document
+ * https://code.spip.net/@generer_url_ecrire_document
  */
 function urls_generer_url_ecrire_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') {
 	include_spip('inc/documents');
-- 
GitLab