X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=334fdbf3406f8d9514ff9a0af9f14c830d818761;hb=ff95a30266c7194bdff34f749121d43130f08b65;hp=b1867bcb14dff4468e891b5c23ea361992f07323;hpb=602873664fc4eefb0588fa84ab65791c65074fe4;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index b1867bc..334fdbf 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,8 +24,11 @@ {if $full}
{/if} - {icon name=lightbulb}{if !$tips.special} + {icon name=lightbulb} {if !$tips.special} Astuce : {$tips.titre} + {if hasPerm('admin') && !$tips.special && !$nochange} + {icon name="page_edit" title="Editer"} + {/if} {else} {$tips.titre} {/if}