use h1
[banana.git] / install.d / config.inc.php
1 <?php
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 ********************************************************************************/
9
10 /** comparison function for the overview
11 * @param $a OBJECT spoolhead
12 * @param $b OBJECT spoolhead
13 * @return
14 */
15
16 function spoolcompare($a,$b) {
17 global $news;
18 return ($b->date>=$a->date);
19 }
20
21 // spool config in spool.inc.php
22 $news['maxspool'] = 3000;
23
24 // encoded headers
25 $news['hdecode'] = array('from','name','organization','subject');
26
27 // headers in article.php
28 $news['head'] = array(
29 'From' => 'from',
30 'Subject' => 'subject',
31 'Newsgroups' => 'newsgroups',
32 'Followup-To' => 'followup',
33 'Date' => 'date',
34 'Message-ID' => 'msgid',
35 'Organization' => 'organization',
36 'References' => 'references',
37 'X-Face' => 'xface',
38 );
39
40 // headers in article.php
41 $news['headdisp']=array(
42 'from',
43 'subject',
44 'newsgroups',
45 'followup',
46 'date',
47 'organization',
48 'references',
49 'xface'
50 );
51
52 // overview configuration in article.php
53 $news['threadtop'] = 5;
54 $news['threadbottom'] = 5;
55
56 // wordwrap configuration
57 $news['wrap'] = 80;
58
59 // overview configuration in thread.php
60 $news['max'] = 50;
61
62 // custom headers in post.php
63 $news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n"
64 ."Mime-Version: 1.0\n"
65 ."Content-Transfer-Encoding: 8bit\n"
66 ."HTTP-Posting-Host: ".gethostbyname($_SERVER['REMOTE_ADDR'])."\n"
67 ."User-Agent: Banana 0.7.1\n";
68
69 $css = array(
70 'bananashortcuts' => 'bananashortcuts',
71 'bicol' => 'bicol',
72 'bicoltitre' => 'bicoltitre',
73 'bicolvpadd' => 'bicolvpadd',
74 'pair' => 'pair',
75 'impair' => 'impair',
76 'bouton' => 'bouton',
77 'error' => 'error',
78 'normal' => 'normal',
79 'total' => 'total',
80 'unread' => 'unread',
81 'group' => 'group',
82 'description' => 'description',
83 'date' => 'date',
84 'subject' => 'subject',
85 'from' => 'from',
86 'author' => 'author',
87 'nopadd' => 'nopadd',
88 'overview' => 'overview',
89 'tree' => 'tree'
90 );
91 ?>