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