From: x2003bruneau Date: Fri, 13 Apr 2007 15:05:20 +0000 (+0000) Subject: Edition link on tips X-Git-Tag: xorg/0.9.14~97 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=74ce6c78a70c1eee0e90fc04fa755f30926d1493;p=platal.git Edition link on tips git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1693 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index 69b106b..cba139f 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -26,6 +26,9 @@ {/if} {icon name=lightbulb} {if !$tips.special} Astuce : {$tips.titre} + {if $smarty.session.perms->hasFlag('admin') && !$tips.special && !$nochange} + {icon name="page_edit" title="Editer"} + {/if} {else} {$tips.titre} {/if}