diff --git a/action/acceder_document.php b/action/acceder_document.php index 7e6242c39cdb576e8dc8fcc5970944390dd1951e..1915bdf2e8e3dc89ac0dcb6d35123ce5cf1ffee8 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 b428b35203d89c7522c3f3dc249564e739a82530..000bb8729e512e5859d62cbcc0b5152fd8f8c186 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 9011db07790ff556ac9a559886b25d408eac93d6..e4861f89add53bb6b7275977115c1d314a7347f5 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 9d8f5492cf55954427357d0b7e1635699076d47d..963e01b49701b8fc99fec60bc95b618b9e8cf65f 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 0dd5784b7beadd7496e4bb2c38472c4da31dce1c..1e4532197b38d717d1d15a9eb6339f571891878a 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 f9fb065c0f6da57c811ba6406ffb527e4fb0f8b7..64b4ad785f17b13e3eeea8acefb7175bb746018c 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 ff147e5583a75582a9879d71ed1b9f64e019d835..0d39564cece30ee7f0407070036e36cbf04bb32d 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 d11e4f31fb3bb92f00b57bb187f26982c83eef91..09a0c9c27aeadb5b15fefcbb6f71ad7b881b35ce 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 29d8b5617034a80b29131c54b8c9a990b9f82059..cc6fb4700f2a56d95cd547320382f4403fb28bec 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 a6bdd374c08f4fb5946e40f152ff5fb55da9bbc7..c97146450558baad9280711fb57c5b32838d3a3d 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 f1fff9c69617e84e93c8fb971f81dd719f709dd9..9302166e36b5777e6442869b8486512ca8d9d6bb 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');