Rend le lien vers le détail d'une flotte fonctionnel

This commit is contained in:
Nigel Sheldon 2021-01-27 11:32:12 +01:00
parent ba1de13034
commit c1bac50417

View File

@ -8,7 +8,7 @@
{if $flottesEC} {if $flottesEC}
{foreach from=$flottesEC item=flotteEC} {foreach from=$flottesEC item=flotteEC}
<tr> <tr>
<td><a href="{$menu.flotte}&amp;n={$flotteEC->id}">{$flotteEC->nom|escape}</a></td> <td><a href="{$menu.flotte}&amp;n={$flotteEC->id_flotte}">{$flotteEC->nom|escape}</a></td>
<td>{$flotteEC->txtMission($flotteEC->mission)}</td> <td>{$flotteEC->txtMission($flotteEC->mission)}</td>
<td>{$flotteEC->nb_vais}</td> <td>{$flotteEC->nb_vais}</td>
<td>{if $flotteEC->end_type == "2"}{$flotteEC->end_planete->nom_alliance} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:A]{elseif $flotteEC->end_type == "1"}[{$flotteEC->end_planete}]{elseif $flotteEC->end_type == "3"}[{$flotteEC->end_planete}:A]{else}{$flotteEC->end_planete->nom_planete} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:{$flotteEC->end_planete->position}]{/if}</td> <td>{if $flotteEC->end_type == "2"}{$flotteEC->end_planete->nom_alliance} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:A]{elseif $flotteEC->end_type == "1"}[{$flotteEC->end_planete}]{elseif $flotteEC->end_type == "3"}[{$flotteEC->end_planete}:A]{else}{$flotteEC->end_planete->nom_planete} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:{$flotteEC->end_planete->position}]{/if}</td>
@ -69,4 +69,4 @@
</tbody> </tbody>
</table> </table>
</form> </form>
{include file='game/footer.tpl'} {include file='game/footer.tpl'}