Affichage message saisie

This commit is contained in:
Michael RICOIS 2010-06-14 14:47:33 +00:00
parent b75409536e
commit af4aded4da
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
fieldset { clear:both; width:90%; margin:1.5em 1em 1em 1em; padding:0;}
fieldset select { width:250px; }
fieldset label {width:10em;}
fieldset label {width:15em;}
legend { margin-left:1em; color:#000000; font-weight:bold;}
label { clear:both; float:left; width:20em; margin-right:1em; text-align:right; font-weight:bold;}
input, select, textarea { width:250px; float:left; margin-bottom:5px; }

View File

@ -218,18 +218,24 @@ if ($etab['Siege']==0){
<?php
if ($message<>'') {
?>
<h3><?=$message;?></h3>
<div style="margin:5px; padding: 0pt 0.7em;" class="ui-state-highlight ui-corner-all">
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<?=$message;?></p>
</div>
<?php
}
?>
<div>
<label>Num&eacute;ro identifiant, Siret</label>
<input type="hidden" name="siren" value="<?php print $etab['Siren'];?>" />
<input type="hidden" name="nic" value="<?php print $etab['Nic'];?>" />
<span class="left">
<?=substr($etab['Siren'],0,3).' '.substr($etab['Siren'],3,3).' '.substr($etab['Siren'],6,3).'&nbsp; <i>'.substr($etab['Siret'],9,5).'</i>'?>
</span>
</div>
<div>
<label>Raison Sociale</label>
<span class="left"><?=$etab['Nom']; if ($etab['Nom2']<>'') echo '<br/>'.$etab['Nom2'];?></span>
<?=$etab['Nom']; if ($etab['Nom2']<>'') echo '<br/>'.$etab['Nom2'];?>
</div>
<?php
if ($etab['Enseigne']<>'' && $etab['Sigle']<>'') { $titre='Enseigne / Sigle'; $lib=$etab['Enseigne'].' / '.$etab['Sigle']; }
@ -271,7 +277,7 @@ if ($message<>'') {
?>
<fieldset>
<legend>Logo</legend>
<span class="right"><? if ($urlImg<>'') { echo "<img src=\"$urlImg\" $strSize/><br/>"; }?></span>
<div><?php if ($urlImg<>'') { echo "<img src=\"$urlImg\" $strSize/>"; }?></div>
<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 Supprimer le logo existant</label><input type="checkbox" name="logoUrl[del]" value="true" />