- <legend>{icon name=lightbulb}Astuce : {$tips.titre}
- <a href="" onclick="Ajax.update_html('tod', 'ajax/tips/{$tips.id}'); return false">
- {icon name=resultset_next title="Astuce suivante"}
- </a>
+ <legend>{icon name=lightbulb} {if !t($tips.special)}
+ Astuce : {$tips.title}
+ {if hasPerm('admin') && !t($tips.special)}
+ {if !t($nochange)}
+ <a href="admin/tips/edit/{$tips.id}">{icon name="page_edit" title="Editer"}</a>
+ {/if}
+ {/if}
+ {else}
+ <span style="color: red; font-weight: bold;">{$tips.titre}</span>
+ {/if}