This commit is contained in:
aspangaro 2015-03-22 15:27:05 +01:00
parent dafc955848
commit feef043513
3 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
*/ */
/** /**
* \file htdocs/donations/core/modules/dons/html_cerfafr.modules.php * \file htdocs/core/modules/dons/html_cerfafr.modules.php
* \ingroup don * \ingroup don
* \brief Form of donation * \brief Form of donation
*/ */
@ -132,7 +132,7 @@ class html_cerfafr extends ModeleDon
else $paymentmode = ''; else $paymentmode = '';
// Define contents // Define contents
$donmodel=DOL_DOCUMENT_ROOT ."/donations/core/modules/dons/html_cerfafr.html"; $donmodel=DOL_DOCUMENT_ROOT ."/core/modules/dons/html_cerfafr.html";
$form = implode('', file($donmodel)); $form = implode('', file($donmodel));
$form = str_replace('__REF__',$don->id,$form); $form = str_replace('__REF__',$don->id,$form);
$form = str_replace('__DATE__',dol_print_date($don->date,'day',false,$outputlangs),$form); $form = str_replace('__DATE__',dol_print_date($don->date,'day',false,$outputlangs),$form);

View File

@ -21,7 +21,7 @@
/** /**
* \defgroup don Module donations * \defgroup don Module donations
* \brief Module to manage the follow-up of the donations * \brief Module to manage the follow-up of the donations
* \file htdocs/donations/core/modules/modDon.class.php * \file htdocs/core/modules/modDon.class.php
* \ingroup donations * \ingroup donations
* \brief Description and activation file for module Donation * \brief Description and activation file for module Donation
*/ */

View File

@ -22,7 +22,7 @@
*/ */
require '../../main.inc.php'; require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/donations/core/lib/donation.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/donation.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php';
$langs->load("companies"); $langs->load("companies");