0c679a440300c853fd343d6770a38ceb7ec533e3
[platal.git] / templates / wiki.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 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 <table class='wiki' cellspacing='0' cellpadding='0'>
24   <tr>
25     <td>
26       <a href='{$wikipage}'>Voir la page</a>
27       {if $has_perms}
28       <select>
29       {html_options options=$perms_opts selected=$perms[0]}
30       </select>
31       {/if}
32     </td>
33     {if $canedit}
34     <td>
35       <a href='{$wikipage}?action=edit'>Éditer</a>
36       {if $has_perms}
37       <select>
38       {html_options options=$perms_opts selected=$perms[1]}
39       </select>
40       {else}
41       {$perms[0]}
42       {/if}
43     </td>
44     {/if}
45     {if $has_perms}
46     <td>
47       <a href='{$wikipage}?action=diff'>Historique</a>
48     </td>
49     <td>
50       <a href='{$wikipage}?action=upload'>Upload</a>
51     </td>
52     {/if}
53   </tr>
54 </table>
55
56 {$pmwiki|smarty:nodefaults}