klasy i interfejsy AC Info przeniesione do wtrmln/libs/
[watermeloncms.git] / wtrmln / modules / views / pw / list.php
blob45487bc06d7e897e1481f7346771bc5deca7b4bc
1 <?php if(!defined('WTRMLN_IS')) exit;
2 /********************************************************************
4 Watermelon CMS
6 Copyright 2008 Radosław Pietruszewski
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ********************************************************************/
24 <div class="tr">
25 <big>
26 <a href="$/pw/new">Nowa prywatna wiadomość</a>
27 </big>
28 </div>
30 <table width="100%">
31 <caption>Prywatne wiadomości</caption>
32 <tr>
33 <th width="20%">
34 Nadawca
35 </th>
36 <th>
37 Temat
38 </th>
39 <th width="20%">
40 Wysłany
41 </th>
42 <th width="50px">
43 Opcje
44 </th>
45 </tr>
46 <list object $pwlist>
47 <tr>
48 <td class="tc">
49 <$nick>
50 </td>
51 <td>
52 <?php echo $readed == 0 ? '<strong>[Nowy]</strong>' : ''; ?>
53 <a href="$/pw/view/<$id>">
54 <$subject>
55 </a>
56 </td>
57 <td class="tc">
58 <date $sent>
59 </td>
60 <td class="tc">
61 <a href="$/pw/delete/<$id>">[Usuń]</a>
62 </td>
63 </tr>
64 </list>
65 </table>
67 <div class="tr">
68 <big>
69 <a href="$/pw/new">Nowa prywatna wiadomość</a>
70 </big>
71 </div>