Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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