Line 20... |
Line 20... |
20 |
<?php endif; ?>
|
20 |
<?php endif; ?>
|
Line 21... |
Line 21... |
21 |
|
21 |
|
22 |
<h2>Formulaire</h2>
|
22 |
<h2>Formulaire</h2>
|
23 |
<p>1. Remplir le formulaire ci-dessous.</p>
|
23 |
<p>1. Remplir le formulaire ci-dessous.</p>
|
24 |
<div id="zone-form">
|
24 |
<div id="zone-form">
|
25 |
<form id="ref-demande-versionnage" name="ref-demande-versionnage" action="<?=$url_form?>" method="post">
|
25 |
<form id="ref-demande-versionnage" action="<?=$url_form?>" method="post">
|
26 |
<fieldset id="champs-general">
|
26 |
<fieldset id="champs-general">
|
27 |
<legend>Général</legend>
|
27 |
<legend>Général</legend>
|
28 |
<ul class="liste-champs">
|
28 |
<ul class="liste-champs">
|
29 |
<li>
|
29 |
<li>
|
Line 86... |
Line 86... |
86 |
<legend>Domaines couverts par le référentiel</legend>
|
86 |
<legend>Domaines couverts par le référentiel</legend>
|
87 |
<p> Vous pouvez choisir plusieurs éléments par liste.</p>
|
87 |
<p> Vous pouvez choisir plusieurs éléments par liste.</p>
|
88 |
<label for="classification">Classification par défaut <span class="obligatoire">*</span></label>
|
88 |
<label for="classification">Classification par défaut <span class="obligatoire">*</span></label>
|
89 |
<p><input id="classification" name="classification" type="text" value="<?=$version['classification']?>"/></p>
|
89 |
<p><input id="classification" name="classification" type="text" value="<?=$version['classification']?>"/></p>
|
90 |
<label for="ref-ver-dom-tax">Domaine taxonomique <span class="obligatoire">*</span></label>
|
90 |
<label for="ref-ver-dom-tax">Domaine taxonomique <span class="obligatoire">*</span></label>
|
91 |
<div id="ref-ver-dom-tax" class="case-a-cocher-scroll" />
|
91 |
<div id="ref-ver-dom-tax" class="case-a-cocher-scroll" >
|
92 |
<ul class="liste-simple">
|
92 |
<ul class="liste-simple">
|
93 |
<? foreach ($domaine_taxo as $taxo) : ?>
|
93 |
<? foreach ($domaine_taxo as $taxo) : ?>
|
94 |
<li><label><input type="checkbox" name="dom_tax" value="<?=$taxo?>" <?=($version['dom_tax'] == $taxo ? 'checked="checked"': '')?> /> <?=$taxo?></label></li>
|
94 |
<li><label><input type="checkbox" name="dom_tax[]" value="<?=$taxo?>" <?=(isset($version['dom_tax'][$taxo]) ? 'checked="checked"': '')?> /> <?=$taxo?></label></li>
|
95 |
<? endforeach; ?>
|
95 |
<? endforeach; ?>
|
96 |
</ul>
|
96 |
</ul>
|
97 |
</div>
|
97 |
</div>
|
98 |
<label for="ref-ver-dom-geo">Domaine géographique <span class="obligatoire">*</span></label>
|
98 |
<label for="ref-ver-dom-geo">Domaine géographique <span class="obligatoire">*</span></label>
|
99 |
<div id="ref-ver-dom-geo" class="case-a-cocher-scroll" />
|
99 |
<div id="ref-ver-dom-geo" class="case-a-cocher-scroll" >
|
100 |
<ul class="liste-simple">
|
100 |
<ul class="liste-simple">
|
101 |
<? foreach ($domaine_geo as $geo) : ?>
|
101 |
<? foreach ($domaine_geo as $geo) : ?>
|
102 |
<li><label><input type="checkbox" name="dom_geo" value="<?=$geo?>" <?=($version['dom_geo'] == $geo ? 'checked="checked"': '')?> /> <?=$geo?></label></li>
|
102 |
<li><label><input type="checkbox" name="dom_geo[]" value="<?=$geo?>" <?=(isset($version['dom_geo'][$geo]) ? 'checked="checked"': '')?> /> <?=$geo?></label></li>
|
103 |
<? endforeach; ?>
|
103 |
<? endforeach; ?>
|
104 |
</ul>
|
104 |
</ul>
|
105 |
</div>
|
105 |
</div>
|
106 |
<label for="ref-ver-dom-code">Codes botaniques utilisés <span class="obligatoire">*</span></label>
|
106 |
<label for="ref-ver-dom-code">Codes botaniques utilisés <span class="obligatoire">*</span></label>
|
107 |
<div id="ref-ver-dom-code" class="case-a-cocher-scroll" />
|
107 |
<div id="ref-ver-dom-code" class="case-a-cocher-scroll" >
|
108 |
<ul class="liste-simple">
|
108 |
<ul class="liste-simple">
|
109 |
<? foreach ($domaine_code as $code) : ?>
|
109 |
<? foreach ($domaine_code as $code) : ?>
|
110 |
<li><label><input type="checkbox" name="dom_code" value="<?=$code?>" <?=($version['dom_code'] == $code ? 'checked="checked"': '')?> /> <?=$code?></label></li>
|
110 |
<li><label><input type="checkbox" name="dom_code[]" value="<?=$code?>" <?=(isset($version['dom_code'][$code]) ? 'checked="checked"': '')?> /> <?=$code?></label></li>
|
111 |
<? endforeach; ?>
|
111 |
<? endforeach; ?>
|
112 |
</ul>
|
112 |
</ul>
|
113 |
</div>
|
113 |
</div>
|
114 |
</fieldset>
|
114 |
</fieldset>
|
Line 163... |
Line 163... |
163 |
</thead>
|
163 |
</thead>
|
164 |
<tbody>
|
164 |
<tbody>
|
165 |
<?php if (isset($traitements_en_attente)) : ?>
|
165 |
<?php if (isset($traitements_en_attente)) : ?>
|
166 |
<?php foreach ($traitements_en_attente as $traitement) : ?>
|
166 |
<?php foreach ($traitements_en_attente as $traitement) : ?>
|
167 |
<tr>
|
167 |
<tr>
|
168 |
<td><?=$traitement['nom']?> <span class="discretion">(id:<?=$traitement['id_traitement']?>)</span></a></td>
|
168 |
<td><?=$traitement['nom']?> <span class="discretion">(id:<?=$traitement['id_traitement']?>)</span></td>
|
169 |
<td class="traitement-attente">En attente...</td>
|
169 |
<td class="traitement-attente">En attente...</td>
|
170 |
<td> </td>
|
170 |
<td> </td>
|
171 |
<td> </td>
|
171 |
<td> </td>
|
172 |
<td> </td>
|
172 |
<td> </td>
|
173 |
</tr>
|
173 |
</tr>
|
174 |
<?php endforeach; ?>
|
174 |
<?php endforeach; ?>
|
175 |
<?php endif; ?>
|
175 |
<?php endif; ?>
|
176 |
<?php if (isset($traitements_en_cours)) : ?>
|
176 |
<?php if (isset($traitements_en_cours)) : ?>
|
177 |
<?php foreach ($traitements_en_cours as $traitement) : ?>
|
177 |
<?php foreach ($traitements_en_cours as $traitement) : ?>
|
178 |
<tr>
|
178 |
<tr>
|
179 |
<td><?=$traitement['nom']?> <span class="discretion">(id:<?=$traitement['id_traitement']?>)</span></a></td>
|
179 |
<td><?=$traitement['nom']?> <span class="discretion">(id:<?=$traitement['id_traitement']?>)</span></td>
|
180 |
<td class="traitement-cours">En cours...</td>
|
180 |
<td class="traitement-cours">En cours...</td>
|
181 |
<td><?=$traitement['date_debut']?></td>
|
181 |
<td><?=$traitement['date_debut']?></td>
|
182 |
<td> </td>
|
182 |
<td> </td>
|
183 |
<td> </td>
|
183 |
<td> </td>
|
184 |
</tr>
|
184 |
</tr>
|