X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftips.tpl;h=c96b57e9a469ebfe71db9fda691bb6b461e04c84;hb=53de25571fe8c43e312f364a143e23a7cecfa14e;hp=2d4f5f3f62ce63fa3f6d6867329e9cbb5a823dca;hpb=00ca0ad5370df5be4a0272364fb16a4385ffabfe;p=platal.git diff --git a/templates/include/tips.tpl b/templates/include/tips.tpl index 2d4f5f3..c96b57e 100644 --- a/templates/include/tips.tpl +++ b/templates/include/tips.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 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} + {icon name=lightbulb} {if !t($tips.special)} Astuce : {$tips.title} - {if hasPerm('admin') && !$tips.special && !$nochange} + {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}