ridiculous f**c**ng bugfix
[banana.git] / install.d / config.inc.php
index 463133b..cf198c4 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+/********************************************************************************
+* install.d/config.inc.php : configuration file
+* --------------------------
+*
+* This file is part of the banana distribution
+* Copyright: See COPYING files that comes with this distribution
+********************************************************************************/
 
 /** comparison function for the overview 
  * @param $a OBJECT spoolhead 
@@ -24,11 +31,24 @@ $news['head'] = array(
   'Newsgroups' => 'newsgroups',
   'Followup-To' => 'followup',
   'Date' => 'date',
+  'Message-ID' => 'msgid',
   'Organization' => 'organization',
   'References' => 'references',
   'X-Face' => 'xface',
   );
 
+// headers in article.php
+$news['headdisp']=array(
+  'from',
+  'subject',
+  'newsgroups',
+  'followup',
+  'date',
+  'organization',
+  'references',
+  'xface'
+);
+
 // overview configuration in article.php
 $news['threadtop'] = 5;
 $news['threadbottom'] = 5;
@@ -43,7 +63,30 @@ $news['max'] = 50;
 $news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n"
   ."Mime-Version: 1.0\n"
   ."Content-Transfer-Encoding: 8bit\n"
-  ."HTTP-Posting-Host: ".$_SERVER['REMOTE_HOST']."\n"
-  ."User-Agent: Banana 0.7beta\n";
+  ."HTTP-Posting-Host: ".gethostbyname($_SERVER['REMOTE_ADDR'])."\n"
+  ."User-Agent: Banana 0.7.1\n";
 
+$css = array(
+ 'bananashortcuts' => 'bananashortcuts',
+ 'title' => 'title',
+ 'bicol' => 'bicol',
+ 'bicoltitre' => 'bicoltitre',
+ 'bicolvpadd' => 'bicolvpadd',
+ 'pair' => 'pair',
+ 'impair' => 'impair',
+ 'bouton' => 'bouton',
+ 'error' => 'error',
+ 'normal' => 'normal',
+ 'total' => 'total',
+ 'unread' => 'unread',
+ 'group' => 'group',
+ 'description' => 'description',
+ 'date' => 'date',
+ 'subject' => 'subject',
+ 'from' => 'from',
+ 'author' => 'author',
+ 'nopadd' => 'nopadd',
+ 'overview' => 'overview',
+ 'tree' => 'tree'
+);
 ?>