Skip to content
Extraits de code Groupes Projets
Valider d2a42acf rédigé par spip.franck@lien-d-amis.net's avatar spip.franck@lien-d-amis.net
Parcourir les fichiers

code.spip est maintenant en https, donc j'ajoute le "s" à http

parent ec627eb1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -21,7 +21,7 @@ include_spip('inc/headers'); ...@@ -21,7 +21,7 @@ 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
// http://code.spip.net/@action_acceder_document_dist // https://code.spip.net/@action_acceder_document_dist
function action_acceder_document_dist() { function action_acceder_document_dist() {
include_spip('inc/documents'); include_spip('inc/documents');
......
...@@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -18,7 +18,7 @@ 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
* *
* http://code.spip.net/@action_changer_mode_document_dist * https://code.spip.net/@action_changer_mode_document_dist
* *
* @param int $id_document * @param int $id_document
* @param string $mode * @param string $mode
...@@ -45,7 +45,7 @@ function action_changer_mode_document_dist($id_document = null, $mode = null) { ...@@ -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) { 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,7 +20,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -20,7 +20,7 @@ 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.
* *
* http://code.spip.net/@action_copier_local_dist * 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 +46,7 @@ function action_copier_local_dist($id_document = null) { ...@@ -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 * @param $id_document
* @return bool|mixed|string * @return bool|mixed|string
......
...@@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -14,7 +14,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
return; return;
} }
// http://code.spip.net/@supprimer_document // 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,7 +17,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -17,7 +17,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
/** /**
* Tourner un document * 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 : * lorsque les arguments sont passes dans arg en GET :
* id_document-angle * id_document-angle
...@@ -47,7 +47,7 @@ function action_tourner_dist($id_document = null, $angle = null) { ...@@ -47,7 +47,7 @@ function action_tourner_dist($id_document = null, $angle = null) {
/** /**
* Tourner un document * Tourner un document
* *
* http://code.spip.net/@action_tourner_post * https://code.spip.net/@action_tourner_post
* *
* @param int $id_document * @param int $id_document
* @param int $angle * @param int $angle
...@@ -134,7 +134,7 @@ function action_tourner_post($id_document, $angle) { ...@@ -134,7 +134,7 @@ 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
// http://code.spip.net/@tourner_selon_exif_orientation // 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 (function_exists('exif_read_data') if (function_exists('exif_read_data')
......
...@@ -146,7 +146,7 @@ function formulaires_editer_document_verifier_dist( ...@@ -146,7 +146,7 @@ function formulaires_editer_document_verifier_dist(
return $erreurs; return $erreurs;
} }
// http://code.spip.net/@inc_editer_article_dist // 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,7 @@ if (!defined('CHARSET_JOINT')) { ...@@ -28,7 +28,7 @@ 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
// http://code.spip.net/@contenu_document // 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 +61,7 @@ function contenu_document($arg, $charset = '') { ...@@ -61,7 +61,7 @@ function contenu_document($arg, $charset = '') {
return $r; 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 = '') { function generer_url_document_dist($id_document, $args = '', $ancre = '') {
include_spip('inc/autoriser'); include_spip('inc/autoriser');
...@@ -112,7 +112,7 @@ function generer_url_document_dist($id_document, $args = '', $ancre = '') { ...@@ -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 // 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 // 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') { function vignette_automatique($img, $doc, $lien, $x = 0, $y = 0, $align = '', $class = 'spip_logo spip_logos') {
include_spip('inc/distant'); include_spip('inc/distant');
include_spip('inc/texte'); include_spip('inc/texte');
......
...@@ -300,7 +300,7 @@ function joindre_decrire_contenu_zip($zip) { ...@@ -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) { function joindre_deballer_lister_zip($path, $tmp_dir) {
include_spip('inc/pclzip'); include_spip('inc/pclzip');
$archive = new PclZip($path); $archive = new PclZip($path);
...@@ -338,7 +338,7 @@ if (!function_exists('fixer_extension_document')) { ...@@ -338,7 +338,7 @@ if (!function_exists('fixer_extension_document')) {
* @param unknown_type $doc * @param unknown_type $doc
* @return unknown * @return unknown
*/ */
// http://code.spip.net/@fixer_extension_document // 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'];
...@@ -365,7 +365,7 @@ if (!function_exists('fixer_extension_document')) { ...@@ -365,7 +365,7 @@ if (!function_exists('fixer_extension_document')) {
// //
// Gestion des fichiers ZIP // Gestion des fichiers ZIP
// //
// http://code.spip.net/@accepte_fichier_upload // https://code.spip.net/@accepte_fichier_upload
function accepte_fichier_upload($f) { function accepte_fichier_upload($f) {
if (!preg_match(',.*__MACOSX/,', $f) if (!preg_match(',.*__MACOSX/,', $f)
...@@ -383,7 +383,7 @@ function accepte_fichier_upload($f) { ...@@ -383,7 +383,7 @@ function accepte_fichier_upload($f) {
# callback pour le deballage d'un zip telecharge # callback pour le deballage d'un zip telecharge
# http://www.phpconcept.net/pclzip/man/en/?options-pclzip_cb_pre_extractfunction # 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) { function callback_deballe_fichier($p_event, &$p_header) {
if (accepte_fichier_upload($p_header['filename'])) { if (accepte_fichier_upload($p_header['filename'])) {
......
...@@ -33,7 +33,7 @@ function metadata_image_dist($fichier) { ...@@ -33,7 +33,7 @@ function metadata_image_dist($fichier) {
* @param bool $strict * @param bool $strict
* @return string * @return string
*/ */
// http://code.spip.net/@decoder_type_image // 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 1: case 1:
......
...@@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* @param string $connect * @param string $connect
* @return string * @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 = '') { function urls_generer_url_document_dist($id, $args = '', $ancre = '', $public = null, $connect = '') {
include_spip('inc/documents'); include_spip('inc/documents');
......
...@@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -26,7 +26,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* @param string $connect * @param string $connect
* @return string * @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 = '') { 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.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter