mini explication
This commit is contained in:
parent
8ba264d69b
commit
45c4328155
1 changed files with 12 additions and 6 deletions
|
@ -26,11 +26,17 @@ function action_pdf_gamutable_dist() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (find_in_path('gamutable_pdf/' . $fichierpdf . '.html')) {
|
||||||
if (empty($Tcles)) {
|
if (empty($Tcles)) {
|
||||||
$fond = recuperer_fond('gamutable_pdf/' . $fichierpdf);
|
$fond = recuperer_fond('gamutable_pdf/' . $fichierpdf);
|
||||||
} else {
|
} else {
|
||||||
$fond = recuperer_fond('gamutable_pdf/' . $fichierpdf,['ids' => implode(',', $Tcles)]);
|
$fond = recuperer_fond('gamutable_pdf/' . $fichierpdf,['ids' => implode(',', $Tcles)]);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// TODO : gamutable pourrait venir avec un fichier de generation generique
|
||||||
|
// d'un pdf
|
||||||
|
}
|
||||||
|
|
||||||
include_spip('spipdf_options');
|
include_spip('spipdf_options');
|
||||||
include_spip('inc/spipdf');
|
include_spip('inc/spipdf');
|
||||||
|
|
Loading…
Add table
Reference in a new issue