78cd27b3 |
1 | <?php |
2 | /******************************************************************************** |
ab02e8a9 |
3 | * banana/banana.inc.php : banana main file |
78cd27b3 |
4 | * -------------------------- |
5 | * |
6 | * This file is part of the banana distribution |
7 | * Copyright: See COPYING files that comes with this distribution |
8 | ********************************************************************************/ |
9 | |
10 | class Banana |
11 | { |
78cd27b3 |
12 | |
7972645b |
13 | ####### |
14 | # Configuration variables |
15 | ####### |
16 | |
17 | ### General ### |
18 | static public $profile = Array( 'signature' => '', |
19 | 'headers' => array('From' => 'Anonymous <anonymouse@example.com>'), |
20 | 'display' => 0, |
21 | 'lastnews' => 0, |
22 | 'locale' => 'fr_FR', |
23 | 'subscribe' => array(), |
24 | 'autoup' => 1); |
25 | static public $boxpattern; |
26 | |
27 | ### Spool ### |
28 | static public $spool_max = 3000; |
29 | static public $spool_tbefore = 5; |
30 | static public $spool_tafter = 5; |
31 | static public $spool_tmax = 50; |
32 | |
33 | ### Message processing ### |
34 | static public $msgparse_headers = array('content-disposition', 'content-transfer-encoding', |
ab02e8a9 |
35 | 'content-type', 'content-id', 'date', 'followup-to', |
36 | 'from', 'message-id', 'newsgroups', 'organization', |
37 | 'references', 'subject', 'x-face', 'in-reply-to', |
38 | 'to', 'cc', 'reply-to'); |
4f6a209a |
39 | |
7972645b |
40 | ### Message display ### |
41 | static public $msgshow_headers = array('from', 'newsgroups', 'followup-to', 'to', 'cc', 'reply-to', |
42 | 'organization', 'date', 'references', 'in-reply-to'); |
43 | static public $msgshow_mimeparts = array('text/html', 'text/plain', 'text/enriched', 'text', 'message'); |
44 | static public $msgshow_xface = true; |
45 | static public $msgshow_wrap = 78; |
78cd27b3 |
46 | |
87514711 |
47 | /** Match an url |
ab02e8a9 |
48 | * Should be included in a regexp delimited using /, !, , or @ (eg: "/$url_regexp/i") |
87514711 |
49 | * If it matches, return 3 main parts : |
50 | * \\1 and \\3 are delimiters |
51 | * \\2 is the url |
52 | * |
53 | * eg : preg_match("!$url_regexp!i", "[http://www.polytechnique.org]", $matches); |
54 | * $matches[1] = "[" |
55 | * $matches[2] = "http://www.polytechnique.org" |
56 | * $matches[3] = "]" |
57 | */ |
7972645b |
58 | static public $msgshow_url = '(["\[])?((?:[a-z]+:\/\/|www\.)(?:[\.\,\;\!]*[a-z\@0-9~%$£µ&i#\-+=_\/\?]+)+)(["\]])?'; |
78cd27b3 |
59 | |
7972645b |
60 | ### Message edition ### |
61 | static public $msgedit_canattach = true; |
62 | static public $msgedit_maxfilesize = 100000; |
f12fdb59 |
63 | /** Global headers to use for messages |
a1937df3 |
64 | */ |
7972645b |
65 | static public $msgedit_headers = array('Mime-Version' => '1.0', 'User-Agent' => 'Banana @VERSION@'); |
66 | |
67 | ### Protocole ### |
a1937df3 |
68 | /** News serveur to use |
69 | */ |
7972645b |
70 | static public $nntp_host = 'news://localhost:119/'; |
ab02e8a9 |
71 | |
7972645b |
72 | static public $mbox_path = '/var/mail'; |
ab02e8a9 |
73 | |
7972645b |
74 | ### Debug ### |
ab02e8a9 |
75 | static public $debug_nntp = false; |
76 | static public $debug_smarty = false; |
77 | |
78 | |
7972645b |
79 | ####### |
80 | # Constants |
81 | ####### |
82 | |
ab02e8a9 |
83 | // Actions |
84 | const ACTION_BOX_NEEDED = 1; // mask |
85 | const ACTION_BOX_LIST = 2; |
86 | const ACTION_BOX_SUBS = 4; |
87 | const ACTION_MSG_LIST = 3; |
88 | const ACTION_MSG_READ = 5; |
89 | const ACTION_MSG_NEW = 9; |
90 | const ACTION_MSG_CANCEL = 17; |
91 | |
92 | // Box list view |
93 | const BOXES_ALL = 0; |
94 | const BOXES_SUB = 1; |
95 | const BOXES_NEW = 2; |
96 | |
97 | // Spool view mode |
98 | const SPOOL_ALL = 0; |
99 | const SPOOL_UNREAD = 1; |
100 | |
7972645b |
101 | |
102 | ####### |
103 | # Runtime variables |
104 | ####### |
105 | |
106 | static public $protocole = null; |
107 | static public $spool = null; |
108 | static public $message = null; |
109 | static public $page = null; |
110 | |
111 | static public $group = null; |
112 | static public $artid = null; |
113 | static public $action = null; |
114 | static public $part = null; |
115 | static public $first = null; |
116 | |
ab02e8a9 |
117 | /** Class parameters storage |
118 | */ |
119 | public $params; |
78cd27b3 |
120 | |
7972645b |
121 | |
122 | ####### |
123 | # Banana Implementation |
124 | ####### |
125 | |
ab02e8a9 |
126 | /** Build the instance of Banana |
127 | * This constructor only call \ref loadParams, connect to the server, and build the Smarty page |
128 | * @param protocole Protocole to use |
f6df9eb2 |
129 | */ |
ab02e8a9 |
130 | public function __construct($params = null, $protocole = 'NNTP', $pageclass = 'BananaPage') |
78cd27b3 |
131 | { |
ab02e8a9 |
132 | Banana::load('text.func'); |
133 | if (is_null($params)) { |
134 | $this->params = $_GET; |
1786dc36 |
135 | } else { |
ab02e8a9 |
136 | $this->params = $params; |
1786dc36 |
137 | } |
ab02e8a9 |
138 | $this->loadParams(); |
1786dc36 |
139 | |
ab02e8a9 |
140 | // connect to protocole handler |
ab02e8a9 |
141 | $classname = 'Banana' . $protocole; |
7972645b |
142 | if (!class_exists($classname)) { |
143 | Banana::load($protocole); |
144 | } |
ab02e8a9 |
145 | Banana::$protocole = new $classname(Banana::$group); |
78cd27b3 |
146 | |
ab02e8a9 |
147 | // build the page |
148 | if ($pageclass == 'BananaPage') { |
149 | Banana::load('page'); |
3c3d29bb |
150 | } |
ab02e8a9 |
151 | Banana::$page = new $pageclass; |
152 | } |
78cd27b3 |
153 | |
ab02e8a9 |
154 | /** Fill state vars (Banana::$group, Banana::$artid, Banana::$action, Banana;:$part, Banana::$first) |
155 | */ |
156 | protected function loadParams() |
157 | { |
158 | Banana::$group = isset($this->params['group']) ? $this->params['group'] : null; |
159 | Banana::$artid = isset($this->params['artid']) ? $this->params['artid'] : null; |
160 | Banana::$first = isset($this->params['first']) ? $this->params['first'] : null; |
161 | Banana::$part = isset($this->params['part']) ? $this->params['part'] : 'text'; |
162 | |
163 | // Look for the action to execute |
164 | if (is_null(Banana::$group)) { |
ded3974d |
165 | if (isset($this->params['action']) && $this->params['action'] == 'subscribe') { |
ab02e8a9 |
166 | Banana::$action = Banana::ACTION_BOX_SUBS; |
78cd27b3 |
167 | } else { |
ab02e8a9 |
168 | Banana::$action = Banana::ACTION_BOX_LIST; |
78cd27b3 |
169 | } |
ab02e8a9 |
170 | return; |
171 | } |
172 | $action = isset($this->params['action']) ? $this->params['action'] : null; |
173 | if (is_null(Banana::$artid)) { |
174 | if ($action == 'new') { |
175 | Banana::$action = Banana::ACTION_MSG_NEW; |
176 | } else { |
177 | Banana::$action = Banana::ACTION_MSG_LIST; |
7a0e2710 |
178 | } |
ab02e8a9 |
179 | return; |
180 | } |
181 | switch ($action) { |
182 | case 'new': |
183 | Banana::$action = Banana::ACTION_MSG_NEW; |
184 | return; |
185 | case 'cancel': |
186 | Banana::$action = Banana::ACTION_MSG_CANCEL; |
187 | return; |
188 | default: |
189 | Banana::$action = Banana::ACTION_MSG_READ; |
78cd27b3 |
190 | } |
191 | } |
192 | |
ab02e8a9 |
193 | /** Run Banana |
194 | * This function need user profile to be initialised |
195 | */ |
196 | public function run() |
78cd27b3 |
197 | { |
ab02e8a9 |
198 | // Configure locales |
199 | setlocale(LC_ALL, Banana::$profile['locale']); |
78cd27b3 |
200 | |
ab02e8a9 |
201 | // Check if the state is valid |
202 | if (Banana::$protocole->lastErrNo()) { |
203 | return Banana::$page->kill(_b_('Une erreur a été rencontrée lors de la connexion au serveur') . '<br />' |
204 | . Banana::$protocole->lastError()); |
205 | } |
206 | if (!Banana::$protocole->isValid()) { |
207 | return Banana::$page->kill(_b_('Connexion non-valide')); |
208 | } |
209 | if (Banana::$action & Banana::ACTION_BOX_NEEDED) { |
7972645b |
210 | if(Banana::$boxpattern && !preg_match('/' . Banana::$boxpattern . '/i', $group)) { |
ab02e8a9 |
211 | Banana::$page->setPage('group'); |
212 | return Banana::$page->kill(_b_("Ce newsgroup n'existe pas ou vous n'avez pas l'autorisation d'y accéder")); |
213 | } |
214 | } |
78cd27b3 |
215 | |
ab02e8a9 |
216 | // Dispatch to the action handlers |
217 | switch (Banana::$action) { |
218 | case Banana::ACTION_BOX_SUBS: |
219 | $error = $this->action_subscribe(); |
220 | break; |
221 | case Banana::ACTION_BOX_LIST: |
222 | $error = $this->action_listBoxes(); |
223 | break; |
224 | case Banana::ACTION_MSG_LIST: |
225 | $error = $this->action_showThread(Banana::$group, Banana::$first); |
226 | break; |
227 | case Banana::ACTION_MSG_READ: |
228 | $error = $this->action_showMessage(Banana::$group, Banana::$artid, Banana::$part); |
229 | break; |
230 | case Banana::ACTION_MSG_NEW: |
231 | $error = $this->action_newMessage(Banana::$group, Banana::$artid); |
232 | break; |
233 | case Banana::ACTION_MSG_CANCEL: |
234 | $error = $this->action_cancelMessage(Banana::$group, Banana::$artid); |
235 | break; |
236 | default: |
237 | $error = _b_("L'action demandée n'est pas supportée par Banana"); |
238 | } |
239 | |
240 | // Generate the page |
241 | if (is_string($error)) { |
242 | return Banana::$page->kill($error); |
243 | } |
244 | return Banana::$page->run(); |
78cd27b3 |
245 | } |
246 | |
ab02e8a9 |
247 | /**************************************************************************/ |
248 | /* actions */ |
249 | /**************************************************************************/ |
250 | protected function action_saveSubs($groups) |
78cd27b3 |
251 | { |
ab02e8a9 |
252 | Banana::$profile['subscribe'] = $groups; |
253 | return true; |
78cd27b3 |
254 | } |
255 | |
ab02e8a9 |
256 | protected function action_subscribe() |
78cd27b3 |
257 | { |
ab02e8a9 |
258 | Banana::$page->setPage('subscribe'); |
259 | if (isset($_POST['validsubs'])) { |
260 | $this->action_saveSubs(array_keys($_POST['subscribe'])); |
261 | Banana::$page->redirect(); |
856dc84a |
262 | } |
ab02e8a9 |
263 | $groups = Banana::$protocole->getBoxList(Banana::BOXES_ALL); |
264 | Banana::$page->assign('groups', $groups); |
265 | return true; |
78cd27b3 |
266 | } |
267 | |
ab02e8a9 |
268 | protected function action_listBoxes() |
7a0e2710 |
269 | { |
ab02e8a9 |
270 | Banana::$page->setPage('forums'); |
271 | $groups = Banana::$protocole->getBoxList(Banana::BOXES_SUB, Banana::$profile['lastnews'], true); |
272 | $newgroups = Banana::$protocole->getBoxList(Banana::BOXES_NEW, Banana::$profile['lastnews'], true); |
273 | Banana::$page->assign('groups', $groups); |
274 | Banana::$page->assign('newgroups', $newgroups); |
275 | return true; |
7a0e2710 |
276 | } |
277 | |
ab02e8a9 |
278 | protected function action_showThread($group, $first) |
78cd27b3 |
279 | { |
ab02e8a9 |
280 | Banana::$page->setPage('thread'); |
281 | if (!$this->loadSpool($group)) { |
282 | return _b_('Impossible charger la liste des messages de ') . $group; |
78cd27b3 |
283 | } |
ab02e8a9 |
284 | $groups = Banana::$protocole->getBoxList(Banana::BOXES_SUB, Banana::$profile['lastnews'], true); |
7972645b |
285 | Banana::$page->assign('msgbypage', Banana::$spool_tmax); |
ab02e8a9 |
286 | Banana::$page->assign('groups', $groups); |
287 | return true; |
78cd27b3 |
288 | } |
289 | |
ab02e8a9 |
290 | protected function action_showMessage($group, $artid, $partid = 'text') |
78cd27b3 |
291 | { |
ab02e8a9 |
292 | Banana::$page->setPage('message'); |
9bc195d6 |
293 | $istext = $partid == 'text' || $partid == 'source' |
25c20c41 |
294 | || preg_match('!^[-a-z0-9_]+/[-a-z0-9_]+$!', $partid); |
9bc195d6 |
295 | if ($istext) { |
ab02e8a9 |
296 | $this->loadSpool($group); |
297 | } |
298 | $msg =& $this->loadMessage($group, $artid); |
299 | if (is_null($msg)) { |
300 | $this->loadSpool($group); |
301 | $this->removeMessage($group, $artid); |
302 | return _b_('Le message demandé n\'existe pas. Il est possible qu\'il ait été annulé'); |
303 | } |
304 | if ($partid == 'xface') { |
305 | $msg->getXFace(); |
306 | exit; |
9bc195d6 |
307 | } elseif (!$istext) { |
ab02e8a9 |
308 | $part = $msg->getPartById($partid); |
309 | if (!is_null($part)) { |
310 | $part->send(true); |
52cafcf1 |
311 | } |
ab02e8a9 |
312 | $part = $msg->getFile($partid); |
313 | if (!is_null($part)) { |
314 | $part->send(); |
78cd27b3 |
315 | } |
ab02e8a9 |
316 | exit; |
9bc195d6 |
317 | } elseif ($partid == 'text') { |
318 | Banana::$page->assign('body', $msg->getFormattedBody()); |
319 | } elseif ($partid == 'source') { |
b188e462 |
320 | $text = Banana::$protocole->getMessageSource($artid); |
321 | if (!is_utf8($text)) { |
322 | $text = utf8_encode($text); |
323 | } |
324 | Banana::$page->assign('body', '<pre>' . banana_htmlentities($text) . '</pre>'); |
9bc195d6 |
325 | } else { |
326 | Banana::$page->assign('body', $msg->getFormattedBody($partid)); |
78cd27b3 |
327 | } |
9bc195d6 |
328 | |
7972645b |
329 | if (Banana::$profile['autoup']) { |
330 | Banana::$spool->markAsRead($artid); |
331 | } |
ab02e8a9 |
332 | $groups = Banana::$protocole->getBoxList(Banana::BOXES_SUB, Banana::$profile['lastnews'], true); |
333 | Banana::$page->assign('groups', $groups); |
334 | Banana::$page->assign_by_ref('message', $msg); |
7972645b |
335 | Banana::$page->assign('headers', Banana::$msgshow_headers); |
ab02e8a9 |
336 | return true; |
78cd27b3 |
337 | } |
338 | |
ab02e8a9 |
339 | protected function action_newMessage($group, $artid) |
78cd27b3 |
340 | { |
ab02e8a9 |
341 | Banana::$page->setPage('new'); |
342 | if (!Banana::$protocole->canSend()) { |
343 | return _b_('Vous n\'avez pas le droit de poster'); |
344 | } |
345 | $hdrs = Banana::$protocole->requestedHeaders(); |
346 | $headers = array(); |
347 | foreach ($hdrs as $header) { |
348 | $headers[$header] = array('name' => BananaMessage::translateHeaderName($header)); |
7972645b |
349 | if (isset(Banana::$profile['headers'][$header])) { |
350 | $headers[$header]['fixed'] = Banana::$profile['headers'][$header]; |
78cd27b3 |
351 | } |
352 | } |
ab02e8a9 |
353 | if (isset($_POST['sendmessage'])) { |
354 | $hdr_values = array(); |
355 | foreach ($hdrs as $header) { |
356 | $hdr_values[$header] = isset($headers[$header]['fixed']) ? $headers[$header]['fixed'] : @$_POST[$header]; |
f6df9eb2 |
357 | } |
ab02e8a9 |
358 | if ($artid) { |
359 | $old =& $this->loadMessage($group, $artid); |
360 | $hdr_values['References'] = $old->getHeaderValue('references') . $old->getHeaderValue('message-id'); |
856dc84a |
361 | } |
ab02e8a9 |
362 | $msg = null; |
363 | if (empty($hdr_values['Subject'])) { |
364 | Banana::$page->trig(_b_('Le message doit avoir un sujet')); |
7972645b |
365 | } elseif (Banana::$msgedit_canattach && isset($_FILES['attachment'])) { |
ab02e8a9 |
366 | $uploaded = $_FILES['attachment']; |
367 | if (!is_uploaded_file($uploaded['tmp_name'])) { |
368 | Banana::$page->trig(_b_('Une erreur est survenue lors du téléchargement du fichier')); |
369 | } else { |
370 | $msg = BananaMessage::newMessage($hdr_values, $_POST['body'], $uploaded); |
371 | } |
372 | } else { |
373 | $msg = BananaMessage::newMessage($hdr_values, $_POST['body']); |
374 | } |
375 | if (!is_null($msg)) { |
376 | if (Banana::$protocole->send($msg)) { |
377 | Banana::$page->redirect(array('group' => $group, 'artid' => $artid)); |
378 | } |
379 | Banana::$page->trig(_b_('Une erreur est survenue lors de l\'envoi du message :') . '<br />' |
380 | . Banana::$protocole->lastError()); |
f6df9eb2 |
381 | } |
78cd27b3 |
382 | } else { |
ab02e8a9 |
383 | if (!is_null($artid)) { |
384 | $msg =& $this->loadMessage($group, $artid); |
385 | $body = $msg->getSender() . _b_(' a écrit :') . "\n" . $msg->quote(); |
386 | $subject = $msg->getHeaderValue('subject'); |
387 | $headers['Subject']['user'] = 'Re: ' . preg_replace("/^re\s*:\s*/i", '', $subject); |
388 | $target = $msg->getHeaderValue($hdrs['reply']); |
389 | if (empty($target)) { |
390 | $target = $group; |
391 | } |
392 | $headers[$hdrs['dest']]['user'] =& $target; |
393 | } else { |
394 | $body = ''; |
395 | $headers[$hdrs['dest']]['user'] = $group; |
856dc84a |
396 | } |
7972645b |
397 | if (Banana::$profile['signature']) { |
398 | $body .= "\n\n-- \n" . Banana::$profile['signature']; |
ab02e8a9 |
399 | } |
400 | Banana::$page->assign('body', $body); |
78cd27b3 |
401 | } |
ab02e8a9 |
402 | |
7972645b |
403 | Banana::$page->assign('maxfilesize', Banana::$msgedit_maxfilesize); |
404 | Banana::$page->assign('can_attach', Banana::$msgedit_canattach); |
ab02e8a9 |
405 | Banana::$page->assign('headers', $headers); |
856dc84a |
406 | return true; |
78cd27b3 |
407 | } |
408 | |
ab02e8a9 |
409 | protected function action_cancelMessage($group, $artid) |
78cd27b3 |
410 | { |
ab02e8a9 |
411 | Banana::$page->setPage('cancel'); |
412 | $msg =& $this->loadMessage($group, $artid); |
413 | if (!$msg->canCancel()) { |
414 | return _b_('Vous n\'avez pas les droits suffisants pour supprimer ce message'); |
415 | } |
416 | if (isset($_POST['cancel'])) { |
417 | $this->loadSpool($group); |
418 | $ndx = Banana::$spool->getNdX($id) - 1; |
419 | if (!Banana::$protocole->cancel($msg)) { |
420 | return _b_('Une erreur s\'est produite lors de l\'annulation du message :') . '<br />' |
421 | . Banana::$protocole->lastError(); |
422 | } |
423 | if ($ndx < 50) { |
424 | $ndx = 0; |
425 | } |
426 | $this->removeMessage($group, $artid); |
427 | Banana::$page->redirect(Array('group' => $group, 'first' => $ndx)); |
856dc84a |
428 | } |
ab02e8a9 |
429 | Banana::$page->assign_by_ref('message', $msg); |
856dc84a |
430 | return true; |
78cd27b3 |
431 | } |
432 | |
ab02e8a9 |
433 | /**************************************************************************/ |
434 | /* Private functions */ |
435 | /**************************************************************************/ |
436 | |
916e4a56 |
437 | protected function loadSpool($group) |
78cd27b3 |
438 | { |
ab02e8a9 |
439 | Banana::load('spool'); |
440 | if (!Banana::$spool || Banana::$spool->group != $group) { |
441 | if ($group == @$_SESSION['banana_group'] && isset($_SESSION['banana_spool'])) { |
442 | Banana::$spool = unserialize($_SESSION['banana_spool']); |
7972645b |
443 | } |
ab02e8a9 |
444 | BananaSpool::getSpool($group, Banana::$profile['lastnews']); |
445 | $_SESSION['banana_group'] = $group; |
7972645b |
446 | if (!Banana::$profile['display']) { |
447 | $_SESSION['banana_spool'] = serialize(Banana::$spool); |
448 | } |
ab02e8a9 |
449 | Banana::$spool->setMode(Banana::$profile['display'] ? Banana::SPOOL_UNREAD : Banana::SPOOL_ALL); |
78cd27b3 |
450 | } |
ab02e8a9 |
451 | return true; |
78cd27b3 |
452 | } |
453 | |
916e4a56 |
454 | protected function &loadMessage($group, $artid) |
78cd27b3 |
455 | { |
ab02e8a9 |
456 | Banana::load('message'); |
457 | if ($group == @$_SESSION['banana_group'] && $artid == @$_SESSION['banana_artid'] |
458 | && isset($_SESSION['banana_message'])) { |
459 | $message = unserialize($_SESSION['banana_message']); |
7972645b |
460 | Banana::$msgshow_headers = $_SESSION['banana_showhdr']; |
ab02e8a9 |
461 | } else { |
462 | $message = Banana::$protocole->getMessage($artid); |
463 | $_SESSION['banana_group'] = $group; |
464 | $_SESSION['banana_artid'] = $artid; |
465 | $_SESSION['banana_message'] = serialize($message); |
7972645b |
466 | $_SESSION['banana_showhdr'] = Banana::$msgshow_headers; |
ab02e8a9 |
467 | } |
468 | Banana::$message =& $message; |
469 | return $message; |
78cd27b3 |
470 | } |
d28aa62d |
471 | |
916e4a56 |
472 | protected function removeMessage($group, $artid) |
d28aa62d |
473 | { |
ab02e8a9 |
474 | Banana::$spool->delId($artid); |
475 | if ($group == $_SESSION['banana_group']) { |
7972645b |
476 | if (!Banana::$profile['display']) { |
477 | $_SESSION['banana_spool'] = serialize(Banana::$spool); |
478 | } |
ab02e8a9 |
479 | if ($artid == $_SESSION['banana_artid']) { |
480 | unset($_SESSION['banana_message']); |
481 | unset($_SESSION['banana_showhdr']); |
482 | unset($_SESSION['banana_artid']); |
d28aa62d |
483 | } |
d28aa62d |
484 | } |
ab02e8a9 |
485 | return true; |
d28aa62d |
486 | } |
f12fdb59 |
487 | |
ab02e8a9 |
488 | static private function load($file) |
f12fdb59 |
489 | { |
ab02e8a9 |
490 | $file = strtolower($file) . '.inc.php'; |
491 | if (!@include_once dirname(__FILE__) . "/$file") { |
492 | require_once $file; |
493 | } |
f12fdb59 |
494 | } |
78cd27b3 |
495 | } |
496 | |
f6df9eb2 |
497 | // vim:set et sw=4 sts=4 ts=4 |
78cd27b3 |
498 | ?> |