Subversion Repositories eFlore/Applications.cel

Rev

Rev 3313 | Rev 3371 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3313 Rev 3333
Line 30... Line 30...
30
					</div>
30
					</div>
Line 31... Line 31...
31
 
31
 
Line 32... Line 32...
32
					<input id="referentiel" name="referentiel" value="<?php echo $widget['referentiel']; ?>" type="hidden">
32
					<input id="referentiel" name="referentiel" value="<?php echo $widget['referentiel']; ?>" type="hidden">
33
 
33
 
34
					<div id="bloc-taxon" class="control-group">
34
					<div id="bloc-taxon" class="control-group">
35
						<label for="taxon" class="col-sm-8 obligatoire" title="">
35
						<label for="taxon-liste" class="col-sm-8 obligatoire" title="">
36
							<i class="fa fa-leaf" aria-hidden="true"></i>
36
							<i class="fa fa-leaf" aria-hidden="true"></i>
37
							<?php echo $general['espece']; ?> (<?php echo $widget['referentiel']; ?>)
37
							<?php echo $general['espece']; ?><!-- (<?php echo $widget['referentiel']; ?>)-->
-
 
38
						</label>
-
 
39
						<div class="col-sm-8 mb-3">
-
 
40
							<?php ksort( $widget['especes']['taxons'] ); ?>
-
 
41
							<select id="taxon-liste" name="taxon-liste" class="form-control custom-select taxon-validation has-tooltip" data-toggle="tooltip" title="<?php echo $observation['liste-espece-title']; ?>">
-
 
42
								<option class="choisir" value="inconnue" selected hidden><?php echo $general['choisir']; ?></option>
-
 
43
								<?php foreach ($widget['especes']['taxons'] as $taxon)  : ?>
-
 
44
									<option
-
 
45
										class="nom-sci"
-
 
46
										value="<?php echo $taxon['nom_sel'];?>"
-
 
47
										title="<?php echo $taxon['nom_fr'];?>"
-
 
48
										data-num-nom-sel="<?php echo $taxon['num_nom_sel'];?>"
-
 
49
										data-nom-ret="<?php echo $taxon['nom_ret'];?>"
-
 
50
										data-num-nom-ret="<?php echo $taxon['num_nom_ret'];?>"
-
 
51
										data-nt="<?php echo $taxon['num_taxon'];?>"
-
 
52
										data-famille="<?php echo $taxon['famille'];?>"
-
 
53
									><?php echo $taxon['nom_sel'];?></option>
-
 
54
								<?php endforeach; ?>
-
 
55
								<option value="autre"><?php echo $general['autre-espece']; ?></option>
-
 
56
							</select>
-
 
57
							<span for="taxon-liste" class="error" style="display: none;"><?php echo $observation['error-taxon'];?></span>
-
 
58
							<input id="taxon" name="taxon" type="hidden" />
-
 
59
						</div>
-
 
60
					</div>
-
 
61
					<div id="taxon-input-groupe" class="control-group hidden">
-
 
62
						<label for="taxon-autre" class="col-sm-8" title="">
-
 
63
							<i class="fab fa-pagelines" aria-hidden="true"></i>
-
 
64
							<?php echo $general['autre-espece']; ?>
38
						</label>
65
						</label>
39
						<div class="col-sm-8 mb-3">
66
						<div class="col-sm-8 mb-3">
40
							<input id="taxon" name="taxon" class="form-control taxon-validation has-tooltip" type="text" data-toggle="tooltip" title="<?php echo $general['espece-title']; ?>" autocomplete="off">
67
							<input id="taxon-autre" name="taxon-autre" class="form-control has-tooltip" type="text" data-toggle="tooltip" title="<?php echo $observation['espece-title']; ?>">
Line 41... Line 68...
41
						</div>
68
						</div>
42
					</div>
69
					</div>