From c82e8d58bc47c808aa157acabcb589432d6d7040 Mon Sep 17 00:00:00 2001 From: Matthieu Marcillaud <marcimat@rezo.net> Date: Thu, 20 Jan 2022 00:53:30 +0100 Subject: [PATCH] Pas de lien inutile vers code.spip.net --- action/acceder_document.php | 1 - action/changer_mode_document.php | 3 --- action/copier_local.php | 3 --- action/supprimer_document.php | 1 - action/tourner.php | 5 ----- formulaires/editer_document.php | 1 - inc/documents.php | 2 -- inc/joindre_document.php | 3 --- metadata/image.php | 1 - urls/generer_url_document.php | 2 -- urls/generer_url_ecrire_document.php | 2 -- 11 files changed, 24 deletions(-) diff --git a/action/acceder_document.php b/action/acceder_document.php index 7e6242c3..1915bdf2 100644 --- a/action/acceder_document.php +++ b/action/acceder_document.php @@ -21,7 +21,6 @@ include_spip('inc/headers'); // soit que le document est publie, c'est-a-dire // joint a au moins 1 article ou rubrique publie -// https://code.spip.net/@action_acceder_document_dist function action_acceder_document_dist() { $doc = []; include_spip('inc/documents'); diff --git a/action/changer_mode_document.php b/action/changer_mode_document.php index b428b352..000bb872 100644 --- a/action/changer_mode_document.php +++ b/action/changer_mode_document.php @@ -18,8 +18,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { /** * Cette action permet de basculer du mode image au mode document et vice versa * - * https://code.spip.net/@action_changer_mode_document_dist - * * @param int $id_document * @param string $mode * @return void @@ -46,7 +44,6 @@ function action_changer_mode_document_dist($id_document = null, $mode = null) { } } -// 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 9011db07..e4861f89 100644 --- a/action/copier_local.php +++ b/action/copier_local.php @@ -20,8 +20,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { * Il s'agit de la partie logique, c'est a dire que cette fonction * realise la copie. * - * https://code.spip.net/@action_copier_local_dist - * * @param null $id_document * @return bool|mixed|string */ @@ -46,7 +44,6 @@ function action_copier_local_dist($id_document = null) { } /** - * 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 9d8f5492..963e01b4 100644 --- a/action/supprimer_document.php +++ b/action/supprimer_document.php @@ -14,7 +14,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { return; } -// 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 0dd5784b..1e453219 100644 --- a/action/tourner.php +++ b/action/tourner.php @@ -17,8 +17,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { /** * Tourner un document * - * https://code.spip.net/@action_tourner_dist - * * lorsque les arguments sont passes dans arg en GET : * id_document-angle * @@ -47,8 +45,6 @@ function action_tourner_dist($id_document = null, $angle = null) { /** * Tourner un document * - * https://code.spip.net/@action_tourner_post - * * @param int $id_document * @param int $angle * angle de rotation en degre>0 @@ -139,7 +135,6 @@ function action_tourner_post($id_document, $angle) { // Appliquer l'EXIF orientation // cf. http://trac.rezo.net/trac/spip/ticket/1494 -// https://code.spip.net/@tourner_selon_exif_orientation function tourner_selon_exif_orientation($id_document, $fichier) { if ( diff --git a/formulaires/editer_document.php b/formulaires/editer_document.php index f9fb065c..64b4ad78 100644 --- a/formulaires/editer_document.php +++ b/formulaires/editer_document.php @@ -153,7 +153,6 @@ function formulaires_editer_document_verifier_dist( return $erreurs; } -// 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 ff147e55..0d39564c 100644 --- a/inc/documents.php +++ b/inc/documents.php @@ -28,7 +28,6 @@ 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 -// https://code.spip.net/@contenu_document function contenu_document($arg, $charset = '') { include_spip('inc/distant'); if (is_numeric($arg)) { @@ -61,7 +60,6 @@ function contenu_document($arg, $charset = '') { return $r; } -// https://code.spip.net/@generer_url_document_dist function generer_url_document_dist($id_document, $args = '', $ancre = '') { include_spip('inc/autoriser'); diff --git a/inc/joindre_document.php b/inc/joindre_document.php index d11e4f31..09a0c9c2 100644 --- a/inc/joindre_document.php +++ b/inc/joindre_document.php @@ -336,7 +336,6 @@ function joindre_decrire_contenu_zip($infos) { } -// https://code.spip.net/@joindre_deballes function joindre_deballer_lister_zip($path, $tmp_dir) { include_spip('inc/archives'); $archive = new Spip\Archives\SpipArchives($path); @@ -374,7 +373,6 @@ if (!function_exists('fixer_extension_document')) { * @param array $doc * @return array */ -// https://code.spip.net/@fixer_extension_document function fixer_extension_document($doc) { $extension = ''; $name = $doc['name']; @@ -401,7 +399,6 @@ if (!function_exists('fixer_extension_document')) { /** * Gestion des fichiers ZIP - * https://code.spip.net/@accepte_fichier_upload * * @param sring $f * @return bool|int diff --git a/metadata/image.php b/metadata/image.php index 29d8b561..cc6fb470 100644 --- a/metadata/image.php +++ b/metadata/image.php @@ -33,7 +33,6 @@ function metadata_image_dist($fichier) { * @param bool $strict * @return string */ -// https://code.spip.net/@decoder_type_image function decoder_type_image($type, $strict = false) { switch ($type) { case IMAGETYPE_GIF: diff --git a/urls/generer_url_document.php b/urls/generer_url_document.php index a6bdd374..c9714645 100644 --- a/urls/generer_url_document.php +++ b/urls/generer_url_document.php @@ -25,8 +25,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { * @param string $public * @param string $connect * @return string - * - * 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 f1fff9c6..9302166e 100644 --- a/urls/generer_url_ecrire_document.php +++ b/urls/generer_url_ecrire_document.php @@ -25,8 +25,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { * @param string $public * @param string $connect * @return string - * - * 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