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');
// 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');
......
......@@ -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
......
......@@ -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
......
......@@ -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');
......
......@@ -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 (
......
......@@ -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 = '',
......
......@@ -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');
......
......@@ -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
......
......@@ -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:
......
......@@ -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');
......
......@@ -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');
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter