Modification affichage formulaire logo

This commit is contained in:
Michael RICOIS 2010-06-21 10:19:48 +00:00
parent 0a8a61f765
commit 06843f7e14

View File

@ -34,10 +34,19 @@ else
?> ?>
<h2 id="dFormLogo">Logo</h2> <h2 id="dFormLogo">Logo</h2>
<div id="formLogo"> <div id="formLogo">
<div><?=saisie_loadlogo($etab['Siren'], $etab['Isin'])?></div> <?php
$logo = saisie_loadlogo($etab['Siren'], $etab['Isin']);
?>
<div><?=$logo?></div>
<label>Fichier</label><input type="file" name="logoFile" size="30" /> <label>Fichier</label><input type="file" name="logoFile" size="30" />
<label>ou URL</label><input type="text" name="logoUrl[url]" size="40" maxlength="200"/><br/> <label>ou URL</label><input type="text" name="logoUrl[url]" size="40" maxlength="200"/><br/>
<?php
if ( !empty($logo) ){
?>
<label>ou Supprimer le logo existant</label><input type="checkbox" name="logoUrl[del]" value="true" /> <label>ou Supprimer le logo existant</label><input type="checkbox" name="logoUrl[del]" value="true" />
<?php
}
?>
</div> </div>
<h2>Raison sociale et coordonnées</h2> <h2>Raison sociale et coordonnées</h2>