Suppression code inutile
This commit is contained in:
parent
109b280b90
commit
0834ff7ba3
2 changed files with 4 additions and 8 deletions
|
|
@ -22,8 +22,6 @@ $signature =
|
||||||
\KD2\HTTP::getScheme() . '://' . \KD2\HTTP::getHost() . WWW_URI . $plugin->getConfig('signature') :
|
\KD2\HTTP::getScheme() . '://' . \KD2\HTTP::getHost() . WWW_URI . $plugin->getConfig('signature') :
|
||||||
"");
|
"");
|
||||||
|
|
||||||
// http://test.paheko.bzh/config/cavalier.png
|
|
||||||
error_log('signature = ' . $signature);
|
|
||||||
// logo
|
// logo
|
||||||
$config = Config::getInstance();
|
$config = Config::getInstance();
|
||||||
$logo_asso =
|
$logo_asso =
|
||||||
|
|
@ -210,9 +208,9 @@ function genererRecusPDF($totalPersonnes,
|
||||||
);
|
);
|
||||||
|
|
||||||
//supprimer les fichiers pdf
|
//supprimer les fichiers pdf
|
||||||
// foreach ($listeFichiersPDF as $f) {
|
foreach ($listeFichiersPDF as $f) {
|
||||||
// \Paheko\Utils::safe_unlink($f);
|
\Paheko\Utils::safe_unlink($f);
|
||||||
// }
|
}
|
||||||
} // genererRecusPDF
|
} // genererRecusPDF
|
||||||
|
|
||||||
function generererRecusHTML($tpl,
|
function generererRecusHTML($tpl,
|
||||||
|
|
|
||||||
|
|
@ -285,10 +285,8 @@ function verifierCases(conteneur, type, message) {
|
||||||
*/
|
*/
|
||||||
function changerStyle(document) {
|
function changerStyle(document) {
|
||||||
let styles = document.querySelectorAll('link[rel="stylesheet"]');
|
let styles = document.querySelectorAll('link[rel="stylesheet"]');
|
||||||
// console.log(styles);
|
|
||||||
for (let sheet of styles) {
|
for (let sheet of styles) {
|
||||||
if (sheet.href.includes('print.css')) { sheet.media = "tv"; sheet.remove; }
|
if (sheet.href.includes('print.css')) { sheet.media = "tv"; }
|
||||||
if (sheet.href.includes('imprimer_recu.css')) { sheet.media = 'print'; }
|
if (sheet.href.includes('imprimer_recu.css')) { sheet.media = 'print'; }
|
||||||
}
|
}
|
||||||
// console.log(styles);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue