Line 33... |
Line 33... |
33 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery-ui-1.8.17.custom.min.js"></script>
|
33 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery-ui-1.8.17.custom.min.js"></script>
|
34 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery.ui.datepicker-fr.js"></script>
|
34 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery.ui.datepicker-fr.js"></script>
|
35 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
|
35 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
|
36 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
|
36 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
|
37 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
|
37 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
|
38 |
<script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
|
38 |
<script type="text/javascript" src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
|
Line 39... |
Line 39... |
39 |
|
39 |
|
40 |
<!-- Barre de navigation -->
|
40 |
<!-- Barre de navigation -->
|
41 |
<?php if ($bar !== false): ?>
|
41 |
<?php if ($bar !== false): ?>
|
42 |
<script src="<?php echo $url_script_navigation; ?>"></script>
|
42 |
<script src="<?php echo $url_script_navigation; ?>"></script>
|
Line 43... |
Line 43... |
43 |
<?php endif; ?>
|
43 |
<?php endif; ?>
|
44 |
|
44 |
|
45 |
<!-- CSS -->
|
45 |
<!-- CSS -->
|
46 |
<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
|
46 |
<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen">
|
47 |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" />
|
47 |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css">
|
Line 48... |
Line 48... |
48 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_base; ?>modules/manager/squelettes/css/manager.css" media="screen" />
|
48 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_base; ?>modules/manager/squelettes/css/manager.css" media="screen">
|
49 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
|
49 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
|
50 |
|
50 |
|
Line 81... |
Line 81... |
81 |
|
81 |
|
Line 82... |
Line 82... |
82 |
<h2>Meta-données</h2>
|
82 |
<h2>Meta-données</h2>
|
83 |
|
83 |
|
84 |
<?php //var_dump($widget); ?>
|
84 |
<?php //var_dump($widget); ?>
|
Line 85... |
Line 85... |
85 |
<label for="projet">Projet *</label>
|
85 |
<label for="projet">Projet *</label>
|
86 |
<input type="text" name="projet" id="projet" pattern="[a-z]*" <?php echo ($mode === 'modification') ? 'value="'.$widget['projet'].'" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace" />
|
86 |
<input type="text" name="projet" id="projet" pattern="[a-z]+" <?php echo ($mode === 'modification') ? 'value="'.$widget['projet'].'" readonly' : 'required'; ?> title="Champ obligatoire : pas d'espace">
|
Line 87... |
Line 87... |
87 |
|
87 |
|
88 |
<label for="motscles">Autres mots-clés</label>
|
88 |
<label for="motscles">Autres mots-clés</label>
|
89 |
<input type="text" name="motscles" id="motscles" value="" />
|
89 |
<input type="text" name="motscles" id="motscles" value="" />
|
- |
|
90 |
|
90 |
|
91 |
<label for="type">Type de widget</label>
|
91 |
<label for="type">Type de widget</label>
|
92 |
<div class="select-wrapper">
|
92 |
<div class="select-wrapper">
|
93 |
<select id="type" name="type">
|
93 |
<select id="type" name="type" >
|
- |
|
94 |
<?php foreach ($type as $id => $projet) : ?>
|
94 |
<option value=""> ----</option>
|
95 |
<option <?php echo (isset($widget['projet']) && $projet['projet']== $widget['projet']) ? 'selected="selected"' : ''; ?> value="<?php echo $projet['projet']; ?>"><?php echo $projet['projet']; ?></option>
|
95 |
<?php foreach ($type as $id => $projet) : ?>
|
Line 96... |
Line 96... |
96 |
<?php endforeach; ?>
|
96 |
<option <?php echo (isset($widget['projet']) && $projet['projet']== $widget['projet']) ? 'selected="selected"' : ''; ?> value="<?php echo $projet['projet']; ?>"><?php echo $projet['projet']; ?></option>
|
97 |
<option value=""> ----</option>
|
97 |
<?php endforeach; ?>
|
Line 303... |
Line 303... |
303 |
|
303 |
|
304 |
<div class="col-md-6">
|
304 |
<div class="col-md-6">
|
305 |
<label for="courriel" class="" title="Veuillez saisir votre adresse courriel.">
|
305 |
<label for="courriel" class="" title="Veuillez saisir votre adresse courriel.">
|
306 |
<i class="fa fa-envelope"></i> Courriel *
|
306 |
<i class="fa fa-envelope"></i> Courriel *
|
307 |
</label>
|
307 |
</label>
|
308 |
<input type="email" id="courriel" name="courriel" title="Veuillez saisir votre adresse courriel. " required>
|
308 |
<input type="email" id="courriel" name="courriel" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" title="Veuillez saisir votre adresse courriel." required>
|
309 |
<input type="hidden" id="id_utilisateur" name="id_utilisateur">
|
309 |
<input type="hidden" id="id_utilisateur" name="id_utilisateur">
|
Line 310... |
Line 310... |
310 |
</div>
|
310 |
</div>
|
311 |
|
311 |
|
312 |
<div id="zone-courriel-confirmation" class="col-md-6 ">
|
312 |
<div id="zone-courriel-confirmation" class="col-md-6 ">
|
313 |
<label for="courriel_confirmation" class="" title="Veuillez confirmer le courriel.">
|
313 |
<label for="courriel_confirmation" class="" title="Veuillez confirmer le courriel.">
|
314 |
<i class="fa fa-envelope"></i> Courriel * (confirmation)
|
314 |
<i class="fa fa-envelope"></i> Courriel * (confirmation)
|
315 |
</label>
|
315 |
</label>
|
Line 316... |
Line 316... |
316 |
<input type="email" id="courriel_confirmation" name="courriel_confirmation" required>
|
316 |
<input type="email" id="courriel_confirmation" name="courriel_confirmation" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" title="Veuillez saisir votre adresse courriel." required>
|
Line 317... |
Line 317... |
317 |
</div>
|
317 |
</div>
|
Line 318... |
Line 318... |
318 |
|
318 |
|
319 |
</div>
|
319 |
</div>
|
320 |
|
320 |
|
321 |
<div id="zone-prenom-nom" class="row">
|
321 |
<div id="zone-prenom-nom" class="row">
|
Line 322... |
Line 322... |
322 |
|
322 |
|
323 |
<div class="col-md-6">
|
323 |
<div class="col-md-6">
|
324 |
<label for="prenom" class=""><i class="fa fa-user"></i> Prénom</label>
|
324 |
<label for="prenom" class=""><i class="fa fa-user"></i> Prénom</label>
|
325 |
<input type="text" id="prenom" name="prenom">
|
325 |
<input type="text" id="prenom" name="prenom" pattern="[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð'-]+" title="Veuillez saisir votre prénom">
|
Line 326... |
Line 326... |
326 |
</div>
|
326 |
</div>
|
Line 327... |
Line 327... |
327 |
|
327 |
|
Line 346... |
Line 346... |
346 |
</label>
|
346 |
</label>
|
347 |
<input type="email" id="courriel" name="courriel" title="Veuillez saisir votre adresse courriel. " required>
|
347 |
<input type="email" id="courriel" name="courriel" title="Veuillez saisir votre adresse courriel. " required>
|
348 |
<input type="hidden" id="id_utilisateur" name="id_utilisateur">
|
348 |
<input type="hidden" id="id_utilisateur" name="id_utilisateur">
|
Line 349... |
Line 349... |
349 |
|
349 |
|
350 |
<label for="milieu" class=""><i class="fa fa-street-view"></i> Milieu</label>
|
350 |
<label for="milieu" class=""><i class="fa fa-street-view"></i> Milieu</label>
|
351 |
<input type="text" id="milieu" name="milieu" placeholder="bois, champ, falaise, ...">
|
351 |
<input type="text" id="milieu" name="milieu" placeholder="bois, champ, falaise, ..." pattern="[\D]+">
|
Line 352... |
Line 352... |
352 |
</div>
|
352 |
</div>
|
353 |
|
353 |
|
354 |
<div class="col-md-6">
|
354 |
<div class="col-md-6">
|
355 |
<label for="date" class="" title="">
|
355 |
<label for="date" class="" title="">
|
356 |
<i class="fa fa-calendar"></i> Date de relevé *
|
356 |
<i class="fa fa-calendar"></i> Date de relevé *
|
357 |
</label>
|
357 |
</label>
|
358 |
<div class="date" id="datetimepicker">
|
358 |
<div class="date" id="datetimepicker">
|
Line 359... |
Line 359... |
359 |
<input type="date" id="date" name="date" class="form-control hasDatepicker" required>
|
359 |
<input type="date" id="date" name="date" class="hasDatepicker" pattern="(^(((0[1-9]|1[0-9]|2[0-8])[\/](0[1-9]|1[012]))|((29|30|31)[\/](0[13578]|1[02]))|((29|30)[\/](0[4,6,9]|11)))[\/](19|[2-9][0-9])\d\d$)|(^29[\/]02[\/](19|[2-9][0-9])(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)$)" title="jj/mm/aaaa" required>
|
360 |
</div>
|
360 |
</div>
|
361 |
|
361 |
|
Line 374... |
Line 374... |
374 |
</div>
|
374 |
</div>
|
Line 375... |
Line 375... |
375 |
|
375 |
|
376 |
<label for="certitude" class="" title="">
|
376 |
<label for="certitude" class="" title="">
|
377 |
<i class="fa fa-question"></i> Certitude *
|
377 |
<i class="fa fa-question"></i> Certitude *
|
378 |
</label>
|
378 |
</label>
|
379 |
<div class="date select-wrapper add-field-select id="datetimepicker">
|
379 |
<div class="date select-wrapper add-field-select" id="datetimepicker">
|
380 |
<select id="certitude" name="certitude" required>
|
380 |
<select id="certitude" name="certitude" required>
|
381 |
<option value="">-</option>
|
381 |
<option value="">-</option>
|
382 |
</select>
|
382 |
</select>
|
383 |
</div>
|
383 |
</div>
|