| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2004 Polytechnique.org *} |
| 4 | {* http://opensource.polytechnique.org/ *} |
| 5 | {* *} |
| 6 | {* This program is free software; you can redistribute it and/or modify *} |
| 7 | {* it under the terms of the GNU General Public License as published by *} |
| 8 | {* the Free Software Foundation; either version 2 of the License, or *} |
| 9 | {* (at your option) any later version. *} |
| 10 | {* *} |
| 11 | {* This program is distributed in the hope that it will be useful, *} |
| 12 | {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} |
| 13 | {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} |
| 14 | {* GNU General Public License for more details. *} |
| 15 | {* *} |
| 16 | {* You should have received a copy of the GNU General Public License *} |
| 17 | {* along with this program; if not, write to the Free Software *} |
| 18 | {* Foundation, Inc., *} |
| 19 | {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} |
| 20 | {* *} |
| 21 | {**************************************************************************} |
| 22 | |
| 23 | {if $it_is_xnet} |
| 24 | {assign var=index value="listes.php"} |
| 25 | {assign var=prefix value="listes-"} |
| 26 | {else} |
| 27 | {assign var=index value="index.php"} |
| 28 | {assign var=prefix value=""} |
| 29 | {/if} |
| 30 | |
| 31 | <table> |
| 32 | <tr> |
| 33 | <td colspan='2'> |
| 34 | [<a href='{$index}'>Voir toutes les listes</a>] |
| 35 | </td> |
| 36 | </tr> |
| 37 | <tr> |
| 38 | <td><strong>Liste {$smarty.request.liste} :</strong></td> |
| 39 | <td> |
| 40 | {if $on neq members} |
| 41 | [<a href='{$prefix}members.php?liste={$smarty.request.liste}'>liste des membres</a>] |
| 42 | {else} |
| 43 | [liste des membres] |
| 44 | {/if} |
| 45 | {if !$it_is_xnet} |
| 46 | {if $on neq trombi} |
| 47 | [<a href='{$prefix}trombi.php?liste={$smarty.request.liste}'>trombinoscope</a>] |
| 48 | {else} |
| 49 | [trombinoscope] |
| 50 | {/if} |
| 51 | {/if} |
| 52 | {if $on neq archives} |
| 53 | [<a href='{$prefix}archives.php?liste={$smarty.request.liste}'>archives</a>] |
| 54 | {else} |
| 55 | [archives] |
| 56 | {/if} |
| 57 | </td> |
| 58 | </tr> |
| 59 | {if $details.own || $smarty.session.perms eq admin || $force_list_super} |
| 60 | <tr> |
| 61 | <td><strong>Administrer la liste :</strong></td> |
| 62 | <td> |
| 63 | {if $on neq moderate} |
| 64 | [<a href='{$prefix}moderate.php?liste={$smarty.get.liste}'>modération</a>] |
| 65 | {else} |
| 66 | [modération] |
| 67 | {/if} |
| 68 | {if $on neq admin} |
| 69 | [<a href='{$prefix}admin.php?liste={$smarty.get.liste}'>ajout/retrait de membres</a>] |
| 70 | {else} |
| 71 | [ajout/retrait de membres] |
| 72 | {/if} |
| 73 | {if $on neq options} |
| 74 | [<a href='{$prefix}options.php?liste={$smarty.get.liste}'>options</a>] |
| 75 | {else} |
| 76 | [options] |
| 77 | {/if} |
| 78 | {if $on neq delete} |
| 79 | [<a href='{$prefix}delete.php?liste={$smarty.get.liste}'>détruire</a>] |
| 80 | {else} |
| 81 | [détruire liste] |
| 82 | {/if} |
| 83 | </td> |
| 84 | </tr> |
| 85 | {/if} |
| 86 | {if $smarty.session.perms eq admin || $force_list_super} |
| 87 | <tr> |
| 88 | <td><strong>Administrer (avancé) :</strong></td> |
| 89 | <td> |
| 90 | {if $on neq soptions} |
| 91 | [<a href='{$prefix}soptions.php?liste={$smarty.get.liste}'>options avancées</a>] |
| 92 | {else} |
| 93 | [options avancées] |
| 94 | {/if} |
| 95 | {if $on neq check} |
| 96 | [<a href='{$prefix}check.php?liste={$smarty.get.liste}'>vérifications</a>] |
| 97 | {else} |
| 98 | [vérifications] |
| 99 | {/if} |
| 100 | </td> |
| 101 | </tr> |
| 102 | {/if} |
| 103 | </table> |
| 104 | |
| 105 | |
| 106 | {* vim:set et sw=2 sts=2 sws=2: *} |