2,12 → 2,12 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>Gestion des widgets de saisie du CeL</title> |
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> |
<meta http-equiv="Content-style-type" content="text/css" /> |
<meta http-equiv="Content-script-type" content="text/javascript" /> |
<meta http-equiv="Content-language" content="fr" /> |
|
|
<meta name="revisit-after" content="15 days" /> |
<meta name="robots" content="index,follow" /> |
<meta name="author" content="Tela Botanica" /> |
21,8 → 21,8 |
<meta property="og:site_name" content="Tela Botanica" /> |
<meta property="og:description" content="Gestion des widgets de saisie du Carnet en Ligne" /> |
<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" /> |
<meta property="og:image:type" content="image/png" /> |
<meta property="og:image:width" content="256" /> |
<meta property="og:image:type" content="image/png" /> |
<meta property="og:image:width" content="256" /> |
<meta property="og:image:height" content="256" /> |
<meta property="og:locale" content="fr_FR" /> |
|
38,11 → 38,8 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script> |
<script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script> |
|
|
|
|
<!-- Barre de navigation --> |
<?php if ($bar !== false): ?> |
<?php if ($bar !== false) : ?> |
<script src="<?php echo $url_script_navigation; ?>"></script> |
<?php endif; ?> |
|
70,7 → 67,7 |
<div id="zone-appli" class="container"> |
<h1 id="widget-titre" class="widget-titre"> Gestion des widgets de saisie du CEL</h1> |
<ul> |
<?php foreach ($donnees['widget'] as $donnee) { ?> |
<?php foreach ($donnees['widget'] as $donnee) : ?> |
<?php |
$langue_projet_url = ( isset( $donnee['langue'] ) && $donnee['langue'] !== 'fr' ) ? '_' . $donnee['langue'] : ''; |
$img_height = ( isset( $donnee['logo'] ) ) ? 'height:auto;' : ''; |
79,14 → 76,14 |
<?php echo '<img class="component-tools-item-icon" src="'.htmlspecialchars($chemin_images.$donnee['projet'].$langue_projet_url.'/logo.'.preg_replace('/(?:imag)?e\/?/','',$donnee['logo'])).'" alt="'.$donnee['projet'].'" style="width:10rem;' . $img_height .'">';?> |
<div style=""> |
<h4 class="component-tools-item-title"> |
<a href="https://www.tela-botanica.org/flore/" target=""><?= $donnee['projet']." : ".$donnee['titre']; ?></a> |
<a href="https://www.tela-botanica.org/flore/" target=""><?php echo $donnee['projet']." : ".$donnee['titre']; ?></a> |
</h4> |
<div class="component component-buttons as-seamless" style="float:right;"> |
<a class="button orange" href="<?php echo $widgetUrlTpl; ?>?mode=modification&projet=<?php echo $donnee['projet']; ?>&langue=<?php echo $donnee['langue']; ?>" target="" title="Espace projets"> |
<span class="button-text">Modifier le widget</span> |
<span class="button-text">Modifier le widget</span> |
</a> |
<a class="button standard" href="<?php echo $widgetUrlTpl; ?>?mode=creation&projet=<?php echo $donnee['projet']; ?>&langue=<?php echo $donnee['langue']; ?>" target="" title="Créer un projet"> |
<span class="button-text">Créer à partir</span> |
<span class="button-text">Créer à partir</span> |
</a> |
</div> |
</div> |
115,7 → 112,7 |
</a> |
</div> |
</li> |
<?php } ?> |
<?php endforeach; ?> |
</ul> |
<div class="component component-buttons as-seamless"> |
<a class="button standard" href="<?php echo $widgetUrlTpl; ?>?mode=creation" target="_blank" title=""> |