X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=32e2d58d891116eb0c4f8274a814e9369075d72a;hb=cd7a9c53f9dfb4c2d33f9340feadcc3dbcfc1876;hp=cba139f70c0e17c255ac9cbcc9073311df4b219d;hpb=74ce6c78a70c1eee0e90fc04fa755f30926d1493;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index cba139f..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,8 +25,8 @@
{/if} {icon name=lightbulb} {if !$tips.special} - Astuce : {$tips.titre} - {if $smarty.session.perms->hasFlag('admin') && !$tips.special && !$nochange} + Astuce : {$tips.title} + {if hasPerm('admin') && !$tips.special && !$nochange} {icon name="page_edit" title="Editer"} {/if} {else} @@ -38,7 +38,7 @@ {/tidy} {if !$nochange}