X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fheader_listes.tpl;h=6c73b39180583f9ff6c2f5d0f5726a67de8a4d6c;hb=4abb0fe4bcefc73a18891e9768640d8811a09acc;hp=07aba7a8d78fd98d423278fef22216f3a6199e24;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/lists/header_listes.tpl b/templates/lists/header_listes.tpl index 07aba7a..6c73b39 100644 --- a/templates/lists/header_listes.tpl +++ b/templates/lists/header_listes.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 *} @@ -27,45 +27,45 @@ - Liste {$platal->argv[1]} : + Liste {$platal->argv[1]} : - {if $on neq members} + {if $on neq 'members'} [liste des membres] {else} [liste des membres] {/if} - {if $on neq trombi} - [trombinoscope] + {if $on neq 'trombi'} + [annuaire/trombi] {else} - [trombinoscope] + [annuaire/trombi] {/if} - {if $on neq archives} + {if $on neq 'archives'} [archives] {else} [archives] {/if} - {if $details.own || $smarty.session.perms eq admin || $force_list_super} + {if $details.own || hasPerms('admin,groupadmin')} - Administrer la liste : + Administrer la liste : - {if $on neq moderate} + {if $on neq 'moderate'} [modération] {else} [modération] {/if} - {if $on neq admin} + {if $on neq 'admin'} [ajout/retrait de membres] {else} [ajout/retrait de membres] {/if} - {if $on neq options} + {if $on neq 'options'} [options] {else} [options] {/if} - {if $on neq delete} + {if $on neq 'delete'} [détruire] {else} [détruire liste] @@ -73,16 +73,17 @@ {/if} - {if $smarty.session.perms eq admin || $force_list_super} + {if hasPerms('admin,groupadmin')} + - Administrer (avancé) : + Administrer (avancé) : - {if $on neq soptions} + {if $on neq 'soptions'} [options avancées] {else} [options avancées] {/if} - {if $on neq check} + {if $on neq 'check'} [vérifications] {else} [vérifications] @@ -90,13 +91,13 @@ {/if} - {if $it_is_xnet} + {if $it_is_xnet && ($details.own || $is_admin)} - Synchroniser - {if $on neq sync} - [Synchroniser avec l'annuaire] + Synchroniser : + {if $on neq 'sync'} + [synchroniser avec l'annuaire] {else} - [Synchroniser avec l'annuaire] + [synchroniser avec l'annuaire] {/if} {/if}