X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins-dist%2Fmedias%2Finc%2Fjoindre_document.php;h=431cd0142aa9539e986d323e41f96a7f20834208;hb=d18fcb8f27a4016e3fa7b50a9b2255d529dca543;hp=faee6ff239df081efbdb93d24211286df1c81444;hpb=52cf8ed924d5dcd0c28dde4b6c3196be6ec2d4f7;p=ptitvelo%2Fweb%2Fwww.git diff --git a/www/plugins-dist/medias/inc/joindre_document.php b/www/plugins-dist/medias/inc/joindre_document.php index faee6ff..431cd01 100644 --- a/www/plugins-dist/medias/inc/joindre_document.php +++ b/www/plugins-dist/medias/inc/joindre_document.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2013 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -262,7 +262,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); @@ -291,7 +291,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']; @@ -313,7 +313,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) @@ -326,7 +326,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'])) {