Reduce staff
[infodrom.org/service.infodrom.org] / src / InfoCon / ticket / ticket-config.pl
1 #   ticket-config.pl - Konfigurationsdatei fuer das Infodrom Trouble Ticket System
2 #   Copyright (c) 1997,8  Martin Schulze <joey@infodrom.north.de>
3
4 #   This program is free software; you can redistribute it and/or modify
5 #   it under the terms of the GNU General Public License as published by
6 #   the Free Software Foundation; either version 2 of the License, or
7 #   (at your option) any later version.
8
9 #   This program is distributed in the hope that it will be useful,
10 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #   GNU General Public License for more details.
13
14 #   You should have received a copy of the GNU General Public License
15 #   along with this program; if not, write to the Free Software
16 #   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
17
18 $ticket_lib = "/etc/noc";
19
20 # Pg    = PostgreSQL
21 # mSQL  = mSQL
22 # mysql = MySQL
23 $ticket_dbdriver = "Pg";
24 $ticket_dbhost = '';
25 $ticket_dbase = "infocon";
26 $ticket_table = "tickets";
27 $ticket_table_classes = "classes";
28 $ticket_table_user = "nocuser";
29 $ticket_table_groups = "nocgroups";
30 $ticket_staff = 2;
31 $ticket_superuser = "noc";
32
33 # Only define the following if they are needed and getlogname($uid)
34 # isn't used as SQL username.
35 #
36 #$ticket_username = "foo";
37 #$ticket_password = "bar";
38
39 $ticket_from = "ticket\@infodrom.org (Infodrom Ticket)";
40 #$ticket_bcc = "ticket\@infodrom.north.de (Infodrom Ticket)";
41 $ticket_html_host = "service.infodrom.org";
42 $ticket_html_base = "/bin/ticket";
43 #$ticket_html_base = "/cgi-bin/noc/ticket";
44
45 $ticket_file_info = "$ticket_lib/ticket.html";
46 $ticket_file_help = "$ticket_lib/ticket-help.html";
47
48 $ticket_sendmailcmd = "/usr/sbin/sendmail -t";
49
50 # Set the lengths of text fields
51 #
52 $ticket_length{'subject'} = 80;
53 $ticket_length{'body'} = 1000;
54 $ticket_length{'closing'} = 500;
55
56 $ticket_html_header = "<html>
57 <head><title>Infodrom Trouble Ticket System</title></head>
58
59 <body bgcolor=\"#8fdfff\">
60 <center>
61     <img src=\"/grafik/ticket.gif\" alt=\"Network Operation Center\"><br>
62 </center>
63
64 ";
65
66 $ticket_html_footer = "
67
68 <hr><address><a href=\"https://service.infodrom.org/\">Infodrom Oldenburg</a></address>
69 </body>
70 </html>
71 ";
72
73 $ticket_signature = "\n--
74 Das Infodrom Trouble Ticket System kann unter
75 https://service.infodrom.org/bin/ticket angesehen werden.\n\n";
76
77 %ticket_programs = ('ticket', 'Trouble Ticket System',
78                     'bwin-vertrag','B-WiN-Vertr&auml;ge',
79                     'olis-info', 'OLIS Informationen',
80                     'fluege', 'Kongre&szlig;-Fl&uuml;ge',
81                     'faltblaetter', 'Kongre&szlig;-Faltbl&auml;tter ',
82                     'btkosten', 'Kongre&szlig;kosten',
83                     'broadcast', 'Broadcast Meldungen',
84                     'faxstat', 'OrgaTech Fax',
85                     'teilnehmer', 'Kongre&szlig;teilnehmer',
86                     'dns','OrgaTech DNS'
87                     );
88
89 # Make perl happy
90 #
91 1;
92
93 # Local variables:
94 # mode: perl
95 # End: