old header were to complicated for nothin. drop class Header, and treat it from Post
[banana.git] / install.d / config.inc.php
CommitLineData
9cf5b337 1<?php
2d795cbd 2/********************************************************************************
3* install.d/config.inc.php : configuration file
4* --------------------------
5*
6* This file is part of the banana distribution
7* Copyright: See COPYING files that comes with this distribution
8********************************************************************************/
9cf5b337 9
9cf5b337 10// spool config in spool.inc.php
11$news['maxspool'] = 3000;
12
13// encoded headers
14$news['hdecode'] = array('from','name','organization','subject');
15
16// headers in article.php
17$news['head'] = array(
01681efd 18 'From' => 'from',
19 'Subject' => 'subject',
20 'Newsgroups' => 'newsgroups',
21 'Followup-To' => 'followup',
22 'Date' => 'date',
23 'Message-ID' => 'msgid',
24 'Organization' => 'organization',
25 'References' => 'references',
26 'X-Face' => 'xface',
27);
9cf5b337 28
23148be4 29// headers in article.php
30$news['headdisp']=array(
01681efd 31 'from',
32 'subject',
33 'newsgroups',
34 'followup',
35 'date',
36 'organization',
37 'references',
38 'xface'
39 );
23148be4 40
9cf5b337 41// overview configuration in article.php
42$news['threadtop'] = 5;
43$news['threadbottom'] = 5;
44
45// wordwrap configuration
46$news['wrap'] = 80;
47
48// overview configuration in thread.php
49$news['max'] = 50;
50
51// custom headers in post.php
52$news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n"
01681efd 53."Mime-Version: 1.0\n"
54."Content-Transfer-Encoding: 8bit\n"
55."HTTP-Posting-Host: ".gethostbyname($_SERVER['REMOTE_ADDR'])."\n"
56."User-Agent: Banana 0.7.1\n";
9cf5b337 57
23148be4 58$css = array(
01681efd 59 'bananashortcuts' => 'bananashortcuts',
60 'bicol' => 'bicol',
61 'bicoltitre' => 'bicoltitre',
62 'bicolvpadd' => 'bicolvpadd',
63 'pair' => 'pair',
64 'impair' => 'impair',
65 'bouton' => 'bouton',
66 'error' => 'error',
67 'normal' => 'normal',
68 'total' => 'total',
69 'unread' => 'unread',
70 'group' => 'group',
71 'description' => 'description',
72 'date' => 'date',
73 'subject' => 'subject',
74 'from' => 'from',
75 'author' => 'author',
76 'nopadd' => 'nopadd',
77 'overview' => 'overview',
78 'tree' => 'tree'
79 );
9cf5b337 80?>