Affiche les techno dans l'arbre technologique (ce qui n'était pas le cas, rigolo vu son nom)
This commit is contained in:
parent
bcf42b7d2c
commit
e40d3ad3ba
2 changed files with 45 additions and 19 deletions
|
|
@ -18,15 +18,20 @@
|
|||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
{*} <div{if $defaut == 'technologies'} class="hightlight"{/if}><a href="{$menu.arbre}&q=technologies&r={$raceAff}">Technologies</a>
|
||||
<div{if $defaut == 'technologies'} class="hightlight"{/if}><a href="{$menu.arbre}&q=technologies&r={$raceAff}">Technologies</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<tr><th>Branche</th><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
{counter start=0 assign=branche print=false}
|
||||
{foreach from=$technologies item=technologie}
|
||||
<tr><td><a href="?p=description&t={$technologie.id}&r={$raceAff}#menu">{$technologie.nom}</a> ({$technologie.niveau}) :</td><td>{$technologie.etat}</td></tr>
|
||||
{foreach from=$technologies[$branche] item=technologie}
|
||||
{assign var="id" value=$technologie.id}
|
||||
<tr><td>{$LANG[$raceAff].technologies.branches.$branche|ucfirst}</td><td><a href="?p=description&b={$branche}&t={$id}&r={$raceAff}#menu">{$LANG[$raceAff].technologies.noms_sing.$branche.$id|ucfirst}</a> ({$technologie.niveau}/{$technologie.niveau_max}) :</td><td>{$technologie.etat}</td></tr>
|
||||
{/foreach}
|
||||
{counter}
|
||||
{/foreach}
|
||||
</tbody></table></div>
|
||||
</div>{/*}
|
||||
</div>
|
||||
|
||||
<div{if $defaut == 'caserne'} class="hightlight"{/if}><a href="{$menu.arbre}&q=caserne&r={$raceAff}">{$LANG[$raceAff].batiments.noms_sing.9|ucfirst}</a>
|
||||
<div><table><thead>
|
||||
|
|
@ -58,4 +63,4 @@
|
|||
</tbody></table></div>
|
||||
</div>
|
||||
</div>
|
||||
{include file='game/footer.tpl'}
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue