From 9150b35300ed860ab1d6eb61472f66973bbb82a9 Mon Sep 17 00:00:00 2001 From: "marcimat@rezo.net" <> Date: Wed, 12 Sep 2012 08:39:56 +0000 Subject: [PATCH] =?UTF-8?q?Correction=20de=20notice=20PHP=20:=20constante?= =?UTF-8?q?=20ind=C3=A9finie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 1 + modeles/document_case_fonctions.php | 10 ++++++---- modeles/document_desc_fonctions.php | 15 +++++++++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 modeles/document_desc_fonctions.php diff --git a/.gitattributes b/.gitattributes index c17d5d3e..9c7d43df 100644 --- a/.gitattributes +++ b/.gitattributes @@ -127,6 +127,7 @@ modeles/doc_legende.html -text modeles/document_case.html -text modeles/document_case_fonctions.php -text modeles/document_desc.html -text +modeles/document_desc_fonctions.php -text modeles/emb.html -text modeles/emb_fonctions.php -text modeles/image.html -text diff --git a/modeles/document_case_fonctions.php b/modeles/document_case_fonctions.php index 3006a919..c97cbb0e 100644 --- a/modeles/document_case_fonctions.php +++ b/modeles/document_case_fonctions.php @@ -1,9 +1,11 @@ <?php -/* - * Plugin xxx - * (c) 2009 cedric - * Distribue sous licence GPL +/** + * Déclaration de fonctions utiles à ce squelette * + * @copyright (c) 2009 cedric + * @license Distribue sous licence GPL + * + * @package SPIP\Medias\Fonctions */ if (!defined('_ECRIRE_INC_VERSION')) return; diff --git a/modeles/document_desc_fonctions.php b/modeles/document_desc_fonctions.php new file mode 100644 index 00000000..b79f2bbb --- /dev/null +++ b/modeles/document_desc_fonctions.php @@ -0,0 +1,15 @@ +<?php +/** + * Déclaration de fonctions utiles à ce squelette + * + * @copyright (c) 2009 cedric + * @license Distribue sous licence GPL + * + * @package SPIP\Medias\Fonctions + */ + +if (!defined('_ECRIRE_INC_VERSION')) return; + +// constante _BOUTON_MODE_IMAGE +include_spip('modeles/document_case_fonctions'); + -- GitLab