Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 569 | Rev 583 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
239 aurelien 1
<div id="description">
450 delphine 2
	<h2>Description de Coste : <?=$coste['titre']?></h2>
322 delphine 3
	<div class="description coste">
569 mathilde 4
		<? if (!empty($coste['description'])) : ?>
5
			<table class="desc">
6
						 <tr>
7
						 	<td>
8
								<?if ($coste['description']['nom_scientifique'] != '') : ?>
578 mathilde 9
									<span class="gras">
10
									<?=$coste['description']['nom_scientifique']; ?>
11
									</span>
569 mathilde 12
								<? endif; ?>
13
								<?if ($coste['description']['nom_commun'] != '') : ?>
578 mathilde 14
									<span class="italique">
15
									<?=$coste['description']['nom_commun']; ?>
16
									</span>
17
 
569 mathilde 18
								<? endif; ?>
19
							</td>
20
						 </tr>
578 mathilde 21
						 <?if ($coste['description']['synonymes'] != '') : ?>
22
							<tr>
23
						 		<td>
24
									<span class="titre">Synonymes </span>
25
									<?=$coste['description']['synonymes']; ?>
26
								</td>
27
							</tr>
28
						<? endif; ?>
569 mathilde 29
						 <tr>
30
						 	<td>
31
								<?if ($coste['description']['texte'] != '') : ?>
32
									<?=$coste['description']['texte']; ?>
33
									<br/>
34
								<? endif; ?>
35
							</td>
36
						</tr>
37
						<?if ($coste['description']['ecologie'] != '') : ?>
38
							 <tr>
39
						 		<td>
40
									<span class="titre">Écologie </span>
41
									<?=$coste['description']['ecologie']; ?>
42
								</td>
43
							</tr>
44
						<? endif; ?>
45
						<?if ($coste['description']['repartition'] != '') : ?>
46
							<tr>
47
						 		<td>
48
									<span class="titre">Répartition </span>
49
									<?=$coste['description']['repartition']; ?>
50
								</td>
51
							</tr>
52
						<? endif; ?>
53
						<?if ($coste['description']['floraison'] != '') : ?>
54
							 <tr>
55
								 <td>
578 mathilde 56
									<span class="titre">Floraison </span>
569 mathilde 57
									<?=$coste['description']['floraison']; ?>
578 mathilde 58
									<?if ($description['description']['fructification'] != '') : ?>
59
										<span class="titre">Fructification </span>
60
										<?=$description['description']['fructification']; ?>
61
									<? endif; ?>
569 mathilde 62
								</td>
63
							</tr>
64
						<? endif; ?>
578 mathilde 65
						<?if ($coste['description']['usages'] != '') : ?>
569 mathilde 66
						 <tr>
67
						 	<td>
578 mathilde 68
						 		<span class="titre">Usages</span>
69
									<?=$coste['description']['usages']; ?>
569 mathilde 70
							</td>
71
						</tr>
72
								<? endif; ?>
73
					</table>
74
 
75
			<div class="conteneur_lien_metadonnees">
76
				<?=$coste['meta']['citation']?>
77
				<span class="conteneur_lien_metadonnees">
78
					<a class="lien_metadonnees lien_popup" href="<?= $coste['meta']['url']; ?>">Voir toutes les metadonnées</a>
79
				</span>
80
			</div>
81
		<? else : ?>
82
			Aucune Donnée.
83
		<? endif; ?>
322 delphine 84
	</div>
539 mathilde 85
	<h2>Description Baseflor : </h2>
86
	<div class="description baseflor">
562 mathilde 87
		<? if (!empty($baseflor)) : ?>
88
			<table class="desc">
89
				<tr>
90
						<td colspan="2">
91
							<?if ($baseflor['type_bio'] != '') : ?>
92
								<span class="titre">Type Biologique : </span><?=$baseflor['type_bio']; ?>
93
							<? endif; ?>
94
						</td>
95
				</tr>
96
				<tr>
97
						<td colspan="2">
98
							<?if ($baseflor['form_vegetale'] != '') :?>
99
								<span class="titre">Forme végétale : </span> <?=$baseflor['form_vegetale']; ?>
100
							<? endif; ?>
101
						</td>
102
				</tr>
103
				<tr>
104
						<td colspan="2">
105
							<?if ($baseflor['chorologie'] != '') :?>
106
								<span class="titre">Chorologie : </span>&nbsp<?=$baseflor['chorologie']; ?>
107
							<? endif; ?>
108
						</td>
109
				</tr>
110
				<tr>
111
						<td >
112
							<?if ($baseflor['inflorescence'] != '') :?>
113
								<span class="titre">Inflorescence :</span> <?=$baseflor['inflorescence'];?> <br/>
114
							<? endif; ?>
115
							<?if ($baseflor['fruit'] != '') :?>
116
								<span class="titre">Fruit :</span><?=$baseflor['fruit']; ?> <br/>
117
							<? endif; ?>
118
							<?if ($baseflor['couleur_fleur'] != '') :?>
119
								<span class="titre">Couleur de la fleur : </span><?=$baseflor['couleur_fleur'] ;?>  <br/>
120
							<? endif; ?>
121
							<?if ($baseflor['macule'] != '') :?>
122
								<span class="titre">Macule : </span><?=$baseflor['macule']; ?> <br/>
123
							<? endif; ?>
124
							<?if ($baseflor['floraison'] != '') :?>
125
								<span class="titre">Floraison : </span><?=$baseflor['floraison']; ?> <br/>
126
							<? endif; ?>
127
						</td>
128
						<td>
129
							<?if ($baseflor['sexualite'] != '') :?>
130
								<span class="titre">sexualité : </span><?=$baseflor['sexualite']; ?> <br/>
131
							<? endif; ?>
132
							<?if ($baseflor['ordre_maturation'] != '') :?>
133
								<span class="titre">Ordre de maturation : </span><?=$baseflor['ordre_maturation']; ?> <br/>
134
							<? endif; ?>
135
							<?if ($baseflor['pollinisation'] != '') :?>
136
								<span class="titre">Pollinisation : </span><?=$baseflor['pollinisation']; ?> <br/>
137
							<? endif; ?>
138
							<?if ($baseflor['dissemination'] != '') :?>
139
								<span class="titre">Dissémination : </span><?=$baseflor['dissemination'] ;?> <br/>
140
							<? endif; ?>
141
						</td>
142
				</tr>
143
			</table>
144
 
145
			<div class="conteneur_lien_metadonnees">
569 mathilde 146
				<?=$baseflor['meta']['citation']?>
147
 
562 mathilde 148
				<span class="conteneur_lien_metadonnees">
149
					<a class="lien_metadonnees lien_popup " href="<?= $baseflor['meta']['url']; ?>">Voir toutes les metadonnées</a>
150
				</span>
151
			</div>
152
		<?  else : ?>
153
			Aucune donnée.
154
		<? endif; ?>
155
 
539 mathilde 156
	</div>
322 delphine 157
	<br />
399 aurelien 158
	<h2> Description collaborative : </h2>
159
	<!-- TODO: cette phrase d'aide devrait être ajoutée avec javascript mais le système des onglets ajax nous en empêche -->
539 mathilde 160
	<div class="description baseflor">
161
		<span class="aide_wikini"> Participez à la rédaction collaborative de cette description, un double clic dans le cadre suffit pour compléter ou corriger la page </span>
162
		<div class="contenu_editable">
163
			<div class="description wikini editable_sur_clic" title="description">
164
				<?=$wikini['description']?>
165
			</div>
399 aurelien 166
		</div>
539 mathilde 167
		<hr class="nettoyage"/>
168
		<br />
169
		<h2>Fiche wikipedia : <?=$wp['titre']?></h2>
170
		<div class="description wp">
171
			<a class="lien_externe" href="<?=htmlentities($wp['lien'])?>" title="voir la page de ce taxon sur wikipedia (s'ouvre dans une nouvelle fenêtre)">
172
				<?=htmlentities($wp['lien'])?>
173
			</a>
174
		</div>
399 aurelien 175
	</div>
176
	<hr class="nettoyage"/>
239 aurelien 177
</div>