Merge branch 'master' of https://git.gamuza.fr/spip/gamumail
This commit is contained in:
commit
744b025d3d
1 changed files with 7 additions and 4 deletions
|
@ -66,7 +66,8 @@ function formulaires_gamumail_charger_dist($slug, $auteur = 0, $Tclient = [], $T
|
|||
|
||||
if ($f = charger_fonction('charger', 'gamumail', true)) {
|
||||
$valeurs = $f($valeurs, $options, $slug, $auteur, $Tclient, $Tpdf, $redirect);
|
||||
} else if ($f = charger_fonction($slug . '_charger', 'gamumail', true)) {
|
||||
}
|
||||
if ($f = charger_fonction($slug . '_charger', 'gamumail', true)) {
|
||||
$valeurs = $f($valeurs, $options, $slug, $auteur, $Tclient, $Tpdf, $redirect);
|
||||
}
|
||||
|
||||
|
@ -83,7 +84,8 @@ function formulaires_gamumail_verifier_dist($slug, $auteur = 0, $Tclient = [], $
|
|||
|
||||
if ($f = charger_fonction('verifier', 'gamumail', true)) {
|
||||
$erreurs = $f($erreurs, $options, $slug, $auteur, $Tclient, $Tpdf, $redirect);
|
||||
} else if ($f = charger_fonction($slug . '_verifier', 'gamumail', true)) {
|
||||
}
|
||||
if ($f = charger_fonction($slug . '_verifier', 'gamumail', true)) {
|
||||
$erreurs = $f($erreurs, $options, $slug, $auteur, $Tclient, $Tpdf, $redirect);
|
||||
}
|
||||
|
||||
|
@ -174,7 +176,7 @@ function formulaires_gamumail_traiter_dist($slug, $auteur = 0, $Tclient = [], $T
|
|||
|
||||
if(find_in_path('gamumail/html_header.html')){
|
||||
$html_header = recuperer_fond('gamumail/html_header', $options);
|
||||
}elseif (find_in_path($slug . '_html_header.html')) {
|
||||
} elseif (find_in_path($slug . '_html_header.html')) {
|
||||
$html_header = recuperer_fond('gamumail/'.$slug . '_html_header', $options);
|
||||
}
|
||||
|
||||
|
@ -197,7 +199,8 @@ function formulaires_gamumail_traiter_dist($slug, $auteur = 0, $Tclient = [], $T
|
|||
|
||||
if ($f = charger_fonction('traiter', 'gamumail', true)) {
|
||||
$corps = $f($corps, $options, $slug, $auteur, $Tclient, $Tpdf, $redirect);
|
||||
} elseif ($f = charger_fonction($slug . '_traiter', 'gamumail', true)) {
|
||||
}
|
||||
if ($f = charger_fonction($slug . '_traiter', 'gamumail', true)) {
|
||||
$corps = $f($corps, $options, $slug, $auteur, $Tclient, $Tpdf, $redirect);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue