Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3124 → Rev 3125

/trunk/widget/modules/manager/squelettes/creation.tpl.html
73,7 → 73,7
<?php } else { ?>
Vous créez un widget, si vous choississez de le mettre dans un type, certains champs deviendront
obligatoires et la localisation (point ou rue) sera automatiquement déterminée.
<? } ?>
<?php } ?>
</div>
<form action="http://localhost/cel/widget/manager?mode=<?= $mode; ?>" name="" id="" class="standard-form component component-text" method="post" enctype="multipart/form-data">
<div class="register-section" id="basic-details-section">
/trunk/widget/modules/manager/squelettes/manager.tpl.html
76,10 → 76,10
<a href="https://beta.tela-botanica.org/preprod/flore/" target=""><?= $donnee['projet']." : ".$donnee['titre']; ?></a>
</h4>
<div class="component component-buttons as-seamless" style="float:right;">
<a class="button orange" href="http://localhost/cel/widget/manager?mode=modification&projet=<?= $donnee['projet']; ?>&langue=<?= $donnee['langue']; ?>" target="" title="Espace projets">
<a class="button orange" href="<?= $widgetUrlTpl; ?>?mode=modification&projet=<?= $donnee['projet']; ?>&langue=<?= $donnee['langue']; ?>" target="" title="Espace projets">
<span class="button-text">Modifier le widget</span>
</a>
<a class="button standard" href="http://localhost/cel/widget/manager?mode=creation&projet=<?= $donnee['projet']; ?>&langue=<?= $donnee['langue']; ?>" target="" title="Créer un projet">
<a class="button standard" href="<?= $widgetUrlTpl; ?>?mode=creation&projet=<?= $donnee['projet']; ?>&langue=<?= $donnee['langue']; ?>" target="" title="Créer un projet">
<span class="button-text">Créer à partir</span>
</a>
</div>
112,7 → 112,7
<?php } ?>
</ul>
<div class="component component-buttons as-seamless">
<a class="button standard" href="http://localhost/cel/widget/manager?mode=creation" target="_blank" title="">
<a class="button standard" href="<?= $widgetUrlTpl; ?>?mode=creation" target="_blank" title="">
<span class="button-text">Créer un nouveau widget</span>
</a>
</div>
/trunk/widget/modules/manager/Manager.php
103,6 → 103,7
if ($param != "") $url .= '?'.$param;
$json = $this->getDao()->consulter($url);
$retour['donnees']['widget'] = (array) json_decode($json, true);
$retour['donnees']['widgetUrlTpl'] = $this->config['manager']['widgetUrlTpl'];
return $retour;
}