refactor wiki.php *again*.
[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       <select>
28         <option>Public</option>
29         <option>Public</option>
30         <option>Public</option>
31         <option>Public</option>
32       </select>
33     </td>
34     {if true}
35     <td>
36       <a href='{$wikipage}?action=edit'>Éditer</a>
37       <select>
38         <option>Public</option>
39         <option>Public</option>
40         <option>Public</option>
41         <option>Public</option>
42       </select>
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}