diff --git a/action/acceder_document.php b/action/acceder_document.php index c5eba15e452e93f5811994efc6f95ceae2708deb..81336c985571e01b7b4343cc00ff80f035ab0225 100644 --- a/action/acceder_document.php +++ b/action/acceder_document.php @@ -19,7 +19,7 @@ include_spip('inc/headers'); // soit que le document est publie, c'est-a-dire // joint a au moins 1 article ou rubrique publie -// http://doc.spip.org/@action_acceder_document_dist +// http://code.spip.net/@action_acceder_document_dist function action_acceder_document_dist() { include_spip('inc/documents'); diff --git a/action/changer_mode_document.php b/action/changer_mode_document.php index b4029fe01d1ddb3df99161ea48223f3ed8c0090f..9ae5c879646e3ef01fc3a736a8bc7ed563903090 100644 --- a/action/changer_mode_document.php +++ b/action/changer_mode_document.php @@ -16,7 +16,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; /** * Cette action permet de basculer du mode image au mode document et vice versa * - * http://doc.spip.org/@action_changer_mode_document_dist + * http://code.spip.net/@action_changer_mode_document_dist * * @param int $id_document * @param string $mode @@ -41,7 +41,7 @@ function action_changer_mode_document_dist($id_document=null, $mode=null){ action_changer_mode_document_post($id_document, $mode); } -// http://doc.spip.org/@action_changer_mode_document_post +// http://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 11918815f9733899fbdede6f9122b1a5765cb53e..c09e02a649c3c88c1b95fb5a0be1e98b2e1157a7 100644 --- a/action/copier_local.php +++ b/action/copier_local.php @@ -18,7 +18,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; * Il s'agit de la partie logique, c'est a dire que cette fonction * realise la copie. * - * http://doc.spip.org/@action_copier_local_dist + * http://code.spip.net/@action_copier_local_dist * * @param null $id_document * @return bool|mixed|string @@ -43,7 +43,7 @@ function action_copier_local_dist($id_document=null) { } /** - * http://doc.spip.org/@action_copier_local_post + * http://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 9114bc4a76f3e02092c644f205e9d575821a475e..97326a7231e97e0edc5f90962803cb427d2d677d 100644 --- a/action/supprimer_document.php +++ b/action/supprimer_document.php @@ -12,7 +12,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; -// http://doc.spip.org/@supprimer_document +// http://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 bb769c77f47c507d1567c15e9bfa99570e7a4398..48836a977839675b309a3181b439536a012fc1d1 100644 --- a/action/tourner.php +++ b/action/tourner.php @@ -15,7 +15,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; /** * Tourner un document * - * http://doc.spip.org/@action_tourner_dist + * http://code.spip.net/@action_tourner_dist * * lorsque les arguments sont passes dans arg en GET : * id_document-angle @@ -46,7 +46,7 @@ function action_tourner_dist($id_document=null, $angle=null) { /** * Tourner un document * - * http://doc.spip.org/@action_tourner_post + * http://code.spip.net/@action_tourner_post * * @param int $id_document * @param int $angle @@ -131,7 +131,7 @@ function action_tourner_post($id_document,$angle) // Appliquer l'EXIF orientation // cf. http://trac.rezo.net/trac/spip/ticket/1494 -// http://doc.spip.org/@tourner_selon_exif_orientation +// http://code.spip.net/@tourner_selon_exif_orientation function tourner_selon_exif_orientation($id_document, $fichier) { if (function_exists('exif_read_data') diff --git a/formulaires/editer_document.php b/formulaires/editer_document.php index fdf2b6a2ef63ab581d552fdb513b0c39e0dc444e..1654d0ce1f11ee9ca88bd252e1e15330d292c6f3 100644 --- a/formulaires/editer_document.php +++ b/formulaires/editer_document.php @@ -121,7 +121,7 @@ function formulaires_editer_document_verifier_dist($id_document='new', $id_paren return $erreurs; } -// http://doc.spip.org/@inc_editer_article_dist +// http://code.spip.net/@inc_editer_article_dist function formulaires_editer_document_traiter_dist($id_document='new', $id_parent='', $retour='', $lier_trad=0, $config_fonc='documents_edit_config', $row=array(), $hidden=''){ if (is_null(_request('parents'))) set_request('parents',array()); diff --git a/inc/documenter_objet.php b/inc/documenter_objet.php index 94fa8f28c3488031d0bad3620409df8f8dc075db..fbbbb155851fbfe81ca7fdd270673b5bb4bea3bc 100644 --- a/inc/documenter_objet.php +++ b/inc/documenter_objet.php @@ -12,7 +12,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; -// http://doc.spip.org/@naviguer_doc +// http://code.spip.net/@naviguer_doc function inc_documenter_objet_dist($id, $type) { $serveur = ''; // avant de documenter un objet, on verifie que ses documents vus sont bien lies ! diff --git a/inc/documents.php b/inc/documents.php index dba833f8c99f826acdc194754714027bedffbf01..26661d049a4789ce19f59d28d8fa2f0d9214f45c 100644 --- a/inc/documents.php +++ b/inc/documents.php @@ -24,7 +24,7 @@ if (!defined('CHARSET_JOINT')) define('CHARSET_JOINT', 'iso-8859-1'); // Filtre pour #FICHIER permettant d'incruster le contenu d'un document // Si 2e arg fourni, conversion dans le charset du site si possible -// http://doc.spip.org/@contenu_document +// http://code.spip.net/@contenu_document function contenu_document($arg, $charset='') { if (is_numeric($arg)) { @@ -53,7 +53,7 @@ function contenu_document($arg, $charset='') return $r; } -// http://doc.spip.org/@generer_url_document_dist +// http://code.spip.net/@generer_url_document_dist function generer_url_document_dist($id_document, $args='', $ancre='') { include_spip('inc/autoriser'); @@ -94,7 +94,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 // de la vignette -> c'est a ca que sert la variable $portfolio -// http://doc.spip.org/@vignette_automatique +// http://code.spip.net/@vignette_automatique function vignette_automatique($img, $doc, $lien, $x=0, $y=0, $align='', $class='spip_logo spip_logos') { include_spip('inc/distant'); diff --git a/inc/joindre_document.php b/inc/joindre_document.php index 347c7c72459a28f0bea5871177a32bfc87d5db52..0940197ac85b3cc176c522679e946367bcf3f61a 100644 --- a/inc/joindre_document.php +++ b/inc/joindre_document.php @@ -266,7 +266,7 @@ function joindre_decrire_contenu_zip($zip) { -// http://doc.spip.org/@joindre_deballes +// http://code.spip.net/@joindre_deballes function joindre_deballer_lister_zip($path,$tmp_dir) { include_spip('inc/pclzip'); $archive = new PclZip($path); @@ -295,7 +295,7 @@ if (!function_exists('fixer_extension_document')){ * @param unknown_type $doc * @return unknown */ -// http://doc.spip.org/@fixer_extension_document +// http://code.spip.net/@fixer_extension_document function fixer_extension_document($doc) { $extension = ''; $name = $doc['name']; @@ -317,7 +317,7 @@ function fixer_extension_document($doc) { // // Gestion des fichiers ZIP // -// http://doc.spip.org/@accepte_fichier_upload +// http://code.spip.net/@accepte_fichier_upload function accepte_fichier_upload ($f) { if (!preg_match(",.*__MACOSX/,", $f) @@ -330,7 +330,7 @@ function accepte_fichier_upload ($f) { # callback pour le deballage d'un zip telecharge # http://www.phpconcept.net/pclzip/man/en/?options-pclzip_cb_pre_extractfunction -// http://doc.spip.org/@callback_deballe_fichier +// http://code.spip.net/@callback_deballe_fichier function callback_deballe_fichier($p_event, &$p_header) { if (accepte_fichier_upload($p_header['filename'])) { diff --git a/inc/marquer_doublons_doc.php b/inc/marquer_doublons_doc.php index 120dbd1c2ddf65b22c3d30b92d7856068ac880a1..15952dd13b12ece916236347c2aa3e3fac1bbd6c 100644 --- a/inc/marquer_doublons_doc.php +++ b/inc/marquer_doublons_doc.php @@ -18,7 +18,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; $GLOBALS['medias_liste_champs'][] = 'texte'; $GLOBALS['medias_liste_champs'][] = 'chapo'; -// http://doc.spip.org/@marquer_doublons_documents +// http://code.spip.net/@marquer_doublons_documents function inc_marquer_doublons_doc_dist($champs,$id,$type,$id_table_objet,$table_objet,$spip_table_objet, $desc=array(), $serveur=''){ $champs_selection=array(); diff --git a/metadata/image.php b/metadata/image.php index 3fb6caba6eb4250690b0def590b9f986b018c277..92ad33dd5dba072cae461bd12939f72eb31e305f 100644 --- a/metadata/image.php +++ b/metadata/image.php @@ -31,7 +31,7 @@ function metadata_image_dist($fichier){ * @param bool $strict * @return string */ -// http://doc.spip.org/@decoder_type_image +// http://code.spip.net/@decoder_type_image function decoder_type_image($type, $strict = false) { switch ($type) { case 1: diff --git a/urls/generer_url_document.php b/urls/generer_url_document.php index 3b8aac2b724d8c63709a603d66c2ad3f64328ad1..18e794f21e7a658b567855e25d4f615fb870e3d3 100644 --- a/urls/generer_url_document.php +++ b/urls/generer_url_document.php @@ -24,7 +24,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * @param string $connect * @return string * - * http://doc.spip.org/@generer_url_ecrire_document + * http://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 bbbbe8e1054af8a68fa6f9dcf662dc80cd1f4f00..994af1df78fc029ea96de3a1ebf85abf89418089 100644 --- a/urls/generer_url_ecrire_document.php +++ b/urls/generer_url_ecrire_document.php @@ -24,7 +24,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; * @param string $connect * @return string * - * http://doc.spip.org/@generer_url_ecrire_document + * http://code.spip.net/@generer_url_ecrire_document */ function urls_generer_url_ecrire_document_dist($id, $args='', $ancre='', $public=null, $connect='') { include_spip('inc/documents');