Update info.php
This commit is contained in:
parent
eb3a7b6ead
commit
6e36fef176
@ -30,7 +30,7 @@ if (!empty($conf->project->enabled)) {
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
$langs->load("donations");
|
$langs->load('donations');
|
||||||
|
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
$ref = GETPOST('ref', 'alpha');
|
$ref = GETPOST('ref', 'alpha');
|
||||||
@ -45,17 +45,22 @@ $result = restrictedArea($user, 'don', $id, '');
|
|||||||
|
|
||||||
$object = new Don($db);
|
$object = new Don($db);
|
||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($action == 'classin' && $user->rights->don->creer) {
|
if ($action == 'classin' && $user->rights->don->creer) {
|
||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
$object->setProject($projectid);
|
$object->setProject($projectid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$title = $langs->trans('Donation')." - ".$langs->trans('Info');
|
$title = $langs->trans('Donation')." - ".$langs->trans('Info');
|
||||||
|
|
||||||
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user