X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=265fd2d887ae0dba16b7c7b9f2b295634804dd54;hb=ca5367b747459b0984054e2f859ffdf69bbe803c;hp=532f461a6dff00ad1abdcfcf0771a30c48f0cf29;hpb=c3c43c0ebe734e2b43b5d5fdb6010d08358bc34b;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index 532f461..265fd2d 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2013 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,15 +20,17 @@ {* *} {**************************************************************************} -{if $tips} -{if $full} +{if t($tips)} +{if t($full)}
{/if} - {icon name=lightbulb} {if !$tips.special} - Astuce : {$tips.titre} - {if hasPerm('admin') && !$tips.special && !$nochange} + {icon name=lightbulb} {if !t($tips.special)} + Astuce : {$tips.title} + {if hasPerm('admin') && !t($tips.special)} + {if !t($nochange)} {icon name="page_edit" title="Editer"} {/if} + {/if} {else} {$tips.titre} {/if} @@ -36,14 +38,14 @@ {tidy} {$tips.text|nl2br|smarty:nodefaults} {/tidy} - {if !$nochange} + {if !t($nochange)} {/if} -{if $full} +{if t($full)}
{/if} {/if}