Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1481 → Rev 1482

/trunk/modules/fiche/squelettes/fiche_pdf_lien.tpl.html
1,35 → 1,27
<!-- cadre de bas de la fiche contient les liens pour export pdf. -->
<script>
<!--
$(document).ready(function(){
$('#bloc_export_choix').hide();
$('#export_choix').click(function(event) {
$('#bloc_export_choix').slideToggle();
event.preventDefault();
return false;
});
});
-->
</script>
<div>
<div class="component component-text">
<a href="<?=$lien?>" class="lien_export_pdf"> Télécharger la fiche au format PDF </a>
<div class="avertissement_telechargement">(Peut durer jusqu'à 30 secondes)</div><br />
<a href="" id="export_choix" name="export_choix">Personnaliser la fiche</a>
<div id="bloc_export_choix">
<form id="export_pdf" method="post" action="<?=$lien?>" >
<br/>
<span>Cocher les sections à télécharger :</span>
<fieldset>
<label> Description </label> <input type="checkbox" name="bloc[]" value="description" />
<label> Ethnobotanique </label> <input type="checkbox" name="bloc[]" value="ethnobotanique" />
<label> Ecologie </label> <input type="checkbox" name="bloc[]" value="ecologie" />
<label> Statuts de protection </label> <input type="checkbox" name="bloc[]" value="statuts" />
<label> Nomenclature </label> <input type="checkbox" name="bloc[]" value="nomenclature" />
<label> Bibliographie </label> <input type="checkbox" name="bloc[]" value="bibliographie" />
<label> Illustrations </label> <input type="checkbox" name="bloc[]" value="illustrations" />
<label> Répartition </label> <input type="checkbox" name="bloc[]" value="repartition" />
</fieldset>
<input type="submit" name="choix" value="Télécharger la fiche."/>
</form>
<div class="component component-accordion js-accordion" data-accordion-prefix-classes="component-accordion" role="tablist" aria-multiselectable="true">
<!-- <button id="undefined-0_tab" class="js-accordion__header component-accordion__header" type="button" aria-controls="undefined-0" aria-expanded="false" role="tab" aria-selected="true">Personnaliser la fiche</button>
--><div id="undefined-0" class="js-accordion__panel component-accordion__panel" aria-labelledby="undefined-0_tab" role="tabpanel" aria-hidden="true">
<h3 class="js-accordion__header component-accordion__header component-accordion__title" tabindex="0">Personnaliser la fiche</h3>
 
<form id="export_pdf" method="post" action="<?=$lien?>" >
<br/>
<span>Cocher les sections à télécharger :</span>
<fieldset>
<label> Description </label> <input type="checkbox" name="bloc[]" value="description" />
<label> Ethnobotanique </label> <input type="checkbox" name="bloc[]" value="ethnobotanique" />
<label> Ecologie </label> <input type="checkbox" name="bloc[]" value="ecologie" />
<label> Statuts de protection </label> <input type="checkbox" name="bloc[]" value="statuts" />
<label> Nomenclature </label> <input type="checkbox" name="bloc[]" value="nomenclature" />
<label> Bibliographie </label> <input type="checkbox" name="bloc[]" value="bibliographie" />
<label> Illustrations </label> <input type="checkbox" name="bloc[]" value="illustrations" />
<label> Répartition </label> <input type="checkbox" name="bloc[]" value="repartition" />
</fieldset>
<input type="submit" name="choix" value="Télécharger la fiche."/>
</form>
</div>
</div>
</div>