X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=32e2d58d891116eb0c4f8274a814e9369075d72a;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=69b106b0108d55813f3e8d1e93985a5879928100;hpb=65de6c24c8d1707009a173c42950be30d3b9eb60;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index 69b106b..32e2d58 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -25,7 +25,10 @@
{/if} {icon name=lightbulb} {if !$tips.special} - Astuce : {$tips.titre} + Astuce : {$tips.title} + {if hasPerm('admin') && !$tips.special && !$nochange} + {icon name="page_edit" title="Editer"} + {/if} {else} {$tips.titre} {/if} @@ -35,7 +38,7 @@ {/tidy} {if !$nochange}