Skip to content
Extraits de code Groupes Projets
Valider c82e8d58 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

Pas de lien inutile vers code.spip.net

parent 66852903
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -21,7 +21,6 @@ include_spip('inc/headers'); ...@@ -21,7 +21,6 @@ include_spip('inc/headers');
// soit que le document est publie, c'est-a-dire // soit que le document est publie, c'est-a-dire
// joint a au moins 1 article ou rubrique publie // joint a au moins 1 article ou rubrique publie
// https://code.spip.net/@action_acceder_document_dist
function action_acceder_document_dist() { function action_acceder_document_dist() {
$doc = []; $doc = [];
include_spip('inc/documents'); include_spip('inc/documents');
......
...@@ -18,8 +18,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -18,8 +18,6 @@ if (!defined('_ECRIRE_INC_VERSION')) {
/** /**
* Cette action permet de basculer du mode image au mode document et vice versa * 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 int $id_document
* @param string $mode * @param string $mode
* @return void * @return void
...@@ -46,7 +44,6 @@ function action_changer_mode_document_dist($id_document = null, $mode = null) { ...@@ -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) { function action_changer_mode_document_post($id_document, $mode) {
// - id_document le doc a modifier // - id_document le doc a modifier
// - mode le mode a lui donner // - mode le mode a lui donner
......
...@@ -20,8 +20,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -20,8 +20,6 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* Il s'agit de la partie logique, c'est a dire que cette fonction * Il s'agit de la partie logique, c'est a dire que cette fonction
* realise la copie. * realise la copie.
* *
* https://code.spip.net/@action_copier_local_dist
*
* @param null $id_document * @param null $id_document
* @return bool|mixed|string * @return bool|mixed|string
*/ */
...@@ -46,7 +44,6 @@ function action_copier_local_dist($id_document = null) { ...@@ -46,7 +44,6 @@ function action_copier_local_dist($id_document = null) {
} }
/** /**
* https://code.spip.net/@action_copier_local_post
* *
* @param $id_document * @param $id_document
* @return bool|mixed|string * @return bool|mixed|string
......
...@@ -14,7 +14,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -14,7 +14,6 @@ if (!defined('_ECRIRE_INC_VERSION')) {
return; return;
} }
// https://code.spip.net/@supprimer_document
function action_supprimer_document_dist($id_document = 0) { function action_supprimer_document_dist($id_document = 0) {
if (!$id_document) { if (!$id_document) {
$securiser_action = charger_fonction('securiser_action', 'inc'); $securiser_action = charger_fonction('securiser_action', 'inc');
......
...@@ -17,8 +17,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -17,8 +17,6 @@ if (!defined('_ECRIRE_INC_VERSION')) {
/** /**
* Tourner un document * Tourner un document
* *
* https://code.spip.net/@action_tourner_dist
*
* lorsque les arguments sont passes dans arg en GET : * lorsque les arguments sont passes dans arg en GET :
* id_document-angle * id_document-angle
* *
...@@ -47,8 +45,6 @@ function action_tourner_dist($id_document = null, $angle = null) { ...@@ -47,8 +45,6 @@ function action_tourner_dist($id_document = null, $angle = null) {
/** /**
* Tourner un document * Tourner un document
* *
* https://code.spip.net/@action_tourner_post
*
* @param int $id_document * @param int $id_document
* @param int $angle * @param int $angle
* angle de rotation en degre>0 * angle de rotation en degre>0
...@@ -139,7 +135,6 @@ function action_tourner_post($id_document, $angle) { ...@@ -139,7 +135,6 @@ function action_tourner_post($id_document, $angle) {
// Appliquer l'EXIF orientation // Appliquer l'EXIF orientation
// cf. http://trac.rezo.net/trac/spip/ticket/1494 // 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) { function tourner_selon_exif_orientation($id_document, $fichier) {
if ( if (
......
...@@ -153,7 +153,6 @@ function formulaires_editer_document_verifier_dist( ...@@ -153,7 +153,6 @@ function formulaires_editer_document_verifier_dist(
return $erreurs; return $erreurs;
} }
// https://code.spip.net/@inc_editer_article_dist
function formulaires_editer_document_traiter_dist( function formulaires_editer_document_traiter_dist(
$id_document = 'new', $id_document = 'new',
$id_parent = '', $id_parent = '',
......
...@@ -28,7 +28,6 @@ if (!defined('CHARSET_JOINT')) { ...@@ -28,7 +28,6 @@ if (!defined('CHARSET_JOINT')) {
// Filtre pour #FICHIER permettant d'incruster le contenu d'un document // Filtre pour #FICHIER permettant d'incruster le contenu d'un document
// Si 2e arg fourni, conversion dans le charset du site si possible // Si 2e arg fourni, conversion dans le charset du site si possible
// https://code.spip.net/@contenu_document
function contenu_document($arg, $charset = '') { function contenu_document($arg, $charset = '') {
include_spip('inc/distant'); include_spip('inc/distant');
if (is_numeric($arg)) { if (is_numeric($arg)) {
...@@ -61,7 +60,6 @@ function contenu_document($arg, $charset = '') { ...@@ -61,7 +60,6 @@ function contenu_document($arg, $charset = '') {
return $r; return $r;
} }
// https://code.spip.net/@generer_url_document_dist
function generer_url_document_dist($id_document, $args = '', $ancre = '') { function generer_url_document_dist($id_document, $args = '', $ancre = '') {
include_spip('inc/autoriser'); include_spip('inc/autoriser');
......
...@@ -336,7 +336,6 @@ function joindre_decrire_contenu_zip($infos) { ...@@ -336,7 +336,6 @@ function joindre_decrire_contenu_zip($infos) {
} }
// https://code.spip.net/@joindre_deballes
function joindre_deballer_lister_zip($path, $tmp_dir) { function joindre_deballer_lister_zip($path, $tmp_dir) {
include_spip('inc/archives'); include_spip('inc/archives');
$archive = new Spip\Archives\SpipArchives($path); $archive = new Spip\Archives\SpipArchives($path);
...@@ -374,7 +373,6 @@ if (!function_exists('fixer_extension_document')) { ...@@ -374,7 +373,6 @@ if (!function_exists('fixer_extension_document')) {
* @param array $doc * @param array $doc
* @return array * @return array
*/ */
// https://code.spip.net/@fixer_extension_document
function fixer_extension_document($doc) { function fixer_extension_document($doc) {
$extension = ''; $extension = '';
$name = $doc['name']; $name = $doc['name'];
...@@ -401,7 +399,6 @@ if (!function_exists('fixer_extension_document')) { ...@@ -401,7 +399,6 @@ if (!function_exists('fixer_extension_document')) {
/** /**
* Gestion des fichiers ZIP * Gestion des fichiers ZIP
* https://code.spip.net/@accepte_fichier_upload
* *
* @param sring $f * @param sring $f
* @return bool|int * @return bool|int
......
...@@ -33,7 +33,6 @@ function metadata_image_dist($fichier) { ...@@ -33,7 +33,6 @@ function metadata_image_dist($fichier) {
* @param bool $strict * @param bool $strict
* @return string * @return string
*/ */
// https://code.spip.net/@decoder_type_image
function decoder_type_image($type, $strict = false) { function decoder_type_image($type, $strict = false) {
switch ($type) { switch ($type) {
case IMAGETYPE_GIF: case IMAGETYPE_GIF:
......
...@@ -25,8 +25,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -25,8 +25,6 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* @param string $public * @param string $public
* @param string $connect * @param string $connect
* @return string * @return string
*
* https://code.spip.net/@generer_url_ecrire_document
*/ */
function urls_generer_url_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') { function urls_generer_url_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') {
include_spip('inc/documents'); include_spip('inc/documents');
......
...@@ -25,8 +25,6 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -25,8 +25,6 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* @param string $public * @param string $public
* @param string $connect * @param string $connect
* @return string * @return string
*
* https://code.spip.net/@generer_url_ecrire_document
*/ */
function urls_generer_url_ecrire_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') { function urls_generer_url_ecrire_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') {
include_spip('inc/documents'); include_spip('inc/documents');
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter