<form action="{$urlSubmit}" method="post">
<h1>Detail du projet {$data->name}</h1><br/>
<div class="hovermenu">
<ul>
<li><a href="../detail/index.php?tag={$data->tag}">Detail</a></li>
<li><a href="index.php?tag={$data->tag}">Objects</a></li>
<li><a href="../generation/index.php?tag={$data->tag}">Generation</a></li>
</ul>
</div>
{if !$bConnexion }
<FIELDSET>
<LEGEND align=top> Erreur </LEGEND>
<b>Connexion à la base de données impossible,<br>
vérifiez les données renseignées !</b>
</FIELDSET>
{else}
<FIELDSET>
<LEGEND align=top> Génération </LEGEND>
<input type="radio" name="rad-gen-tables" id="rad-gen-tables-all" checked onclick="window.objetsPrj.selectTables()"/> Pour toutes les tables<br/>
<input type="radio" name="rad-gen-tables" id="rad-gen-tables-select" onclick="window.objetsPrj.selectTables()"/> Uniquement sur sélection<br/>
<div id="div-select-tables" style="display:none">
<select name="select-select-tables" id="select-select-tables" multiple="multiple" size="10">
{foreach from=$oAllTables key=k item=sTable }
<option>{$sTable}</option>
{/foreach}
</select>
</div>
<input type="button" value="Génération" onclick="window.objetsPrj.generatObjectFromTables()"/>
</FIELDSET>
<FIELDSET>
<LEGEND align=top> Objets </LEGEND>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
Listes des objetcs :<br/>
<div id="div-list-objects">
{include file='app/projet/projet-div-list-objects.html'}
</div>
</td>
<td>
<div id="div-object-data"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div id="div-detail-field"></div>
</td>
</tr>
</table>
</FIELDSET>
{/if}
</form>