ajustements
This commit is contained in:
parent
7c708a13f4
commit
9de86a18f7
4 changed files with 34 additions and 13 deletions
|
@ -33,6 +33,15 @@ $qrcodeurl = '<span class="rotated-img"><img src="custom/templates/bazar/assets/
|
|||
|
||||
$structure = !empty($fiche['bf_structure']) ? $fiche['bf_structure'] : $fiche['bf_nom_contributeur'];
|
||||
|
||||
$indications = '';
|
||||
if ($_GET['wiki'] == $fiche['id_fiche']) {
|
||||
$indications = '<div class="full-portrait-a4 indications">
|
||||
<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />
|
||||
</div>
|
||||
<div class="full-portrait-a4 indications2">
|
||||
<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />
|
||||
</div>';
|
||||
}
|
||||
echo <<<TEMPLATE
|
||||
<div class="full-portrait-a4 recto">
|
||||
<div class="left">
|
||||
|
@ -74,12 +83,7 @@ echo <<<TEMPLATE
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="full-portrait-a4 indications">
|
||||
<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />
|
||||
</div>
|
||||
<div class="full-portrait-a4 indications2">
|
||||
<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />
|
||||
</div>
|
||||
{$indications}
|
||||
<button style="margin-top:1em;" class="btn btn-primary no-print new-window" onclick="window.print()"><i class="fa fa-print" aria-hidden="true"></i> Imprimer cette fiche</button>
|
||||
<script>
|
||||
// un hack tres aléatoire des css print de bootstrap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue