X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fheader_listes.tpl;h=431b43e912ce6035a244a1ffafc9bdb13cf7f227;hb=5e1513f67936a6c6866113d260746711af4ea2ee;hp=695879beaaa8742bb104892886d46135a6838f3c;hpb=bf517dafc122edf6ccd86847f0626cfd0df9f340;p=platal.git
diff --git a/templates/lists/header_listes.tpl b/templates/lists/header_listes.tpl
index 695879b..431b43e 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-2011 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->hasFlag('admin') || $smarty.session.perms->hasFlag('groupadmin')}
+ {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,17 +73,17 @@
|
{/if}
- {if $smarty.session.perms->hasFlag('admin') || $smarty.session.perms->hasFlag('groupadmin')}
+ {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]
@@ -93,11 +93,11 @@
{/if}
{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}