27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
<?php
|
|
use YesWiki\Core\Service\AssetsManager;
|
|
$GLOBALS['wiki']->services->get(AssetsManager::class)->AddCSSFile('custom/templates/bazar/assets/activites.css');
|
|
if (empty($_GET['print']) || $_GET['print'] != 1) { $renderedEntry = ''; foreach
|
|
($form['prepared'] as $field) { $renderedEntry .=
|
|
$field->renderStaticIfPermitted($fiche, $GLOBALS['wiki']->GetUsername()); } echo
|
|
$renderedEntry; echo '<a
|
|
class="btn btn-primary no-print new-window"
|
|
href="'.$GLOBALS['wiki']->href('', '', 'print=1&returnTo='.$GLOBALS['wiki']->href('', '')).'"
|
|
>
|
|
<i class="fa fa-print" aria-hidden="true"></i> Imprimer ce parcours thématique </a
|
|
>'; } else { $activites = explode(',', $fiche['bf_activite']); foreach
|
|
($activites as $activite) { echo $GLOBALS['wiki']->Format('{{include
|
|
page="'.$activite.'"}}'); } echo '
|
|
<div class="indications">
|
|
<img
|
|
src="custom/templates/bazar/assets/Instructions_pliage_recto.webp"
|
|
alt="instructions recto"
|
|
/>
|
|
</div>
|
|
<div class="indications2">
|
|
<img
|
|
src="custom/templates/bazar/assets/Instructions_pliage_verso.webp"
|
|
alt="instructions verso"
|
|
/>
|
|
</div>
|
|
'; $_GET['returnTo'] = $GLOBALS['wiki']->href('', ''); } ?>
|