X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=532f461a6dff00ad1abdcfcf0771a30c48f0cf29;hb=287e5cfa9bbe673e55a190386a82ebfe7ba49858;hp=b1867bcb14dff4468e891b5c23ea361992f07323;hpb=602873664fc4eefb0588fa84ab65791c65074fe4;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index b1867bc..532f461 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2009 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}