/[smecontribs]/rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-configurable.patch
ViewVC logotype

Annotation of /rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-configurable.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Apr 20 16:52:27 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ezmlm-web-1_1_2-15_el5_sme
* Wed Apr 20 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-15.sme
- add configuration options and
- update tempalte to fit ezmlm-web 3.3.1 [SME: 9470]

1 unnilennium 1.1 diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/debug smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/debug
2     --- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/debug 1969-12-31 19:00:00.000000000 -0500
3     +++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/debug 2016-04-20 12:43:32.069000000 -0400
4     @@ -0,0 +1 @@
5     +disabled
6     diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption
7     --- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption 1969-12-31 19:00:00.000000000 -0500
8     +++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/encryption 2016-04-20 12:43:39.245000000 -0400
9     @@ -0,0 +1 @@
10     +disabled
11     diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/interface smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/interface
12     --- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/interface 1969-12-31 19:00:00.000000000 -0500
13     +++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/interface 2016-04-20 12:44:00.172000000 -0400
14     @@ -0,0 +1 @@
15     +normal
16     diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/options smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/options
17     --- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/options 1969-12-31 19:00:00.000000000 -0500
18     +++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/options 2016-04-20 12:44:46.749000000 -0400
19     @@ -0,0 +1 @@
20     +aBDFGHiJkLMNOpQRSTUWx
21     diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/type smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/type
22     --- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/db/configuration/defaults/ezmlm/type 1969-12-31 19:00:00.000000000 -0500
23     +++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/db/configuration/defaults/ezmlm/type 2016-04-20 12:26:52.757000000 -0400
24     @@ -0,0 +1 @@
25     +configuration
26     diff -Nur smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY
27     --- smeserver-ezmlm-web-1.1.2.old/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY 2016-04-20 07:35:06.363000000 -0400
28     +++ smeserver-ezmlm-web-1.1.2/root/etc/e-smith/templates/etc/ezmlm/ezmlmwebrc/BODY 2016-04-20 12:48:20.128000000 -0400
29     @@ -2,30 +2,31 @@
30    
31     $OUT = <<'EOF';
32    
33     -# $Id: ezmlmwebrc,v 1.5 2000/09/25 18:25:26 guy Exp $
34     -# Configuration file for ezmlm-web 2.1
35     +# Minimal configuration file for ezmlm-web 3.3
36     # ===========================================================================
37    
38     # This file is not just an ordinary configuration file - it contains valid
39     # perl statements that are executed just like any other perl script. When
40     # editing this file, be careful that it is still valid perl when you have
41     # finished (perl -w ezmlmwebrc ;-)
42     -
43     -# It is divided into to logical parts. The first part configures the way
44     -# ezmlm-web runs, and the second changes the language, etc of ezmlm-web. You
45     -# can not arbitarilly exclude any statement, since the script doesn't define
46     -# any defaults of its own. You could, however, always split this file up and
47     -# include the parts with
48     -#
49     -# require('/path/to/other/part');
50     -
51     -$opt_c = 1; # No list creation or deletion
52     +#.
53     +# See the manpage of ezmlmwebrc(5) for a list of all available configuration
54     +# settings.
55    
56     # ---------------------------------------------------------------------------
57    
58     -# Path to the ezmlm-web 3.3.1 template and laguage files
59     +# Where do we store lists on this server ... Try "$HOME_DIR/lists"..
60     +# This directory will automatically be created if needed.
61     +# BEWARE: the (resulting) path MUST be absolute (starting with a slash)!
62     +$LIST_DIR = "$HOME_DIR/lists";
63     +
64     +# Where are the language files
65     +# usually something like /usr/local/share/ezmlm-web/lang
66     $LANGUAGE_DIR = "/usr/local/share/ezmlm-web/lang";
67     -$TEMPLATE_DIR ="/usr/local/share/ezmlm-web/template";
68     +
69     +# Where are the template files
70     +# usually something like /usr/local/share/ezmlm-web/template
71     +$TEMPLATE_DIR = "/usr/local/share/ezmlm-web/template";
72    
73     # Where do we store lists on this server ... Try "$HOME_DIR/lists".
74     # This directory will automatically be created if needed.
75     @@ -43,12 +44,6 @@
76     # Where do the qmail control files live on this system ...
77     $QMAIL_BASE = $Mail::Ezmlm::QMAIL_BASE . '/control';
78    
79     -# The url to our web interface - so we can use ezmlm-cgi if necessary
80     -$EZMLM_CGI_URL = 'http://some.server.that.has/cgi-bin/ezmlm-cgi';
81     -
82     -# Where our ezcgirc file lives (probably /etc/ezmlm/ezcgirc)
83     -$EZMLM_CGI_RC = '/etc/ezmlm/ezcgirc';
84     -
85     # Do we want to allow ``pretty'' names - ie more human readable ones
86     # This will slow ezmlm-web down a bit for large lists
87     $PRETTY_NAMES = 1;
88     @@ -60,247 +55,113 @@
89     # What switches to we want ezmlm-web to have on as default. The ezmlm-make
90     # defaults are aBDFGHIJKLMNOpQRSTUWX (small means enabled, CAPITALS mean
91     # disabled). The defaults below should be reasonable - I use them ;)
92     -$DEFAULT_OPTIONS = 'aBDFGHiJkLMNOpQRSTUWx';
93     +EOF
94    
95     -# Where do we find the nice little help icon - by default HELP_ICON_URL
96     -# points to resources on http://rucus.ru.ac.za/. This will work, but we
97     -# would appreciate it if you changed this to a local site.
98     -# $HELP_ICON_URL = '/icons/small/unknown.gif';
99     -$HELP_ICON_URL = '/server-common/unknown.gif';
100     -
101     -# Header for every page (.= concatinates)
102     -# $HTML_HEADER = '<TABLE BORDER="3" ALIGN="CENTER" CELLPADDING="5"><TR><TD BGCOLOR="#e0e0ff"><FONT SIZE=+3 COLOR=#000080><STRONG>E Z Mailing List Manager</STRONG></FONT></TD></TR></TABLE></CENTER><P>';
103     -# $HTML_HEADER .= '<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="5" ALIGN="CENTER" WIDTH="99%"><TR><TD BGCOLOR="#e0e0ff">';
104     -
105     -$HTML_HEADER =<<END_OF_HEADER;
106     -
107     -<LINK REL="stylesheet" TYPE="text/css" HREF="/server-common/css/manager.css">
108     -
109     -<TABLE CELLSPACING="0" BORDER="0" CELLPADDING="1" ALIGN="LEFT" WIDTH="100%">
110     - <TR VALIGN="BOTTOM">
111     - <TD BACKGROUND="/server-common/banner-shim.gif">
112     - <IMG BORDER="0" ALT="SME Server ezmlm-web" SRC="/server-common/smeserver_logo.gif">
113     - </TD>
114     - </TR>
115     -</TABLE>
116     -
117     -<BR CLEAR="ALL">
118     -<FONT FACE="Helvetica,Arial">
119     -END_OF_HEADER
120     -
121     -# $HTML_HEADER = '<TABLE BORDER="3" ALIGN="CENTER" CELLPADDING="5"><TR><TD BGCOLOR="#ffffff"><FONT SIZE=+3 COLOR=#000000><STRONG>E Z Mailing List Manager</STRONG></FONT></TD></TR></TABLE></CENTER><P>';
122     -$HTML_HEADER .= '<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="5" ALIGN="CENTER" WIDTH="99%"><TR><TD BGCOLOR="#ffffff">';
123     -
124     -# Footer for every page (.= concatinates)
125     -$HTML_FOOTER = '</TD></TR></TABLE>';
126     -$HTML_FOOTER .= '<TABLE BORDER="0" CELLPADDING="5" CELLSPACING="5" ALIGN="CENTER" WIDTH="99%"><TR><TD BGCOLOR="#e0e0ff">';
127     -$HTML_FOOTER .= '<FONT SIZE="-1"><A HREF="http://rucus.ru.ac.za/~guy/ezmlm/#ezmlm-web" TARGET="_blank">ezmlm-web</A> (v2.1) A web interface to <A HREF="http://www.ezmlm.org/" TARGET="_blank">ezmlm</A></FONT></TD></TR></TABLE>';
128     -
129     -# What colour do we want the background to be?
130     -# $HTML_BGCOLOR = '#000080';
131     -$HTML_BGCOLOR = '#FFFFFF';
132     -
133     -# What colour do we want text?
134     -$HTML_TEXT = '#000000';
135     -
136     -# What color do we want links?
137     -$HTML_LINK = '#3333ff';
138     -
139     -# What color to we want visited links?
140     -$HTML_VLINK = '#8888ff';
141     -
142     -# What is the title of this document?
143     -# $HTML_TITLE = 'E Z Mailing List Manager';
144     -$HTML_TITLE = 'Mailing Lists';
145     +my $options= ($ezmlm->{options} || 'aBDFGHiJkLMNOpQRSTUWx';
146     +$OUT .= "\$DEFAULT_OPTIONS = '$options'";
147    
148     -# ---------------------------------------------------------------------------
149     +my $title= ($ezmlm->{title} || 'Koozali SME Server Mailing List Manager';
150     +$OUT .= "# What is the title of this document?
151     +\$HTML_TITLE = '$title';";
152     +
153     +
154     +$OUT .= <<'EOF';
155     +# Optional: some permanent links (visible in the top right corner)
156     +#@HTML_LINKS = (
157     +# { name => 'ezmlm-web homepage',
158     +# url => 'https://systemausfall.org/toolforge/ezmlm-web' },
159     +# { name => 'domain\'s root',
160     +# url => '/'},
161     +# );
162     +
163     +# Multi-Domain-Support
164     +# This is a quite advanced setting for special installations.
165     +# Most people should just ignore it.
166     +# Anyway - if you want to control more than one directory containing
167     +# different lists, then you should:
168     +# 1) copy examples/multidomain.conf.dist to /etc/ezmlm-web/multidomain.conf
169     +# 2) adjust /etc/ezmlm-web/multidomain.conf to your setup
170     +# 3) uncomment the following line
171     +# 4) make sure that your multi domain settings are not overriden by settings below
172     +#warn "multidomain.conf failed" unless (defined do "/etc/ezmlm-web/multidomain.conf");
173     +
174     +# Where do we store the dotqmail files of this user?
175     +# (defaults to the home directory of the executing user)
176     +# You will have to change this value, if you use a multi domain
177     +# vpopmail setup. Otherwise just leave the setting turned off.
178     +# BEWARE: the (resulting) path MUST be absolute (starting with a slash)!
179     +#$DOTQMAIL_DIR = "/home/vpopmail/domain";
180     +
181     +# Where is the webusers file for access-permissions
182     +# defaults to "$LIST_DIR/webusers"
183     +#$WEBUSERS_FILE = "$LIST_DIR/webusers";
184     +
185     +# default mailing list domain name (optional)
186     +#$MAIL_DOMAIN = "lists.someserver.org";
187     +
188     +# default prefix of the local part of the addresses of mailing lists
189     +# useful for some qmail-ldap setups
190     +#$MAIL_ADDRESS_PREFIX = "lists-";
191    
192     -# The meanings of the various ezmlm-make command line switches. The default
193     -# ones match the ezmlm-idx 0.4 default ezmlmrc ... Alter them to suit your
194     -# own ezmlmrc. Removing options from this list makes them unavailable
195     -# through ezmlm-web - this could be useful for things like -w
196     -
197     -%EZMLM_LABELS = (
198     -# option => ['Short Name',
199     -# 'Long Help Description'],
200     -
201     - a => ['Archived',
202     - 'Ezmlm will archive new messages'],
203     - b => ['Block archive',
204     - 'Only moderators are allowed to access the archive'],
205     -# c => config. This is implicity called, so is not defined here
206     - d => ['Digest',
207     - 'Set up a digest list to disseminate digest of the list messages'],
208     -# e => edit. Also implicity called, so not defined here
209     - f => ['Prefix',
210     - 'Outgoing subject will be prefixed with the list name'],
211     - g => ['Guard Archive',
212     - 'Archive access requests from unrecognized SENDERs will be rejected'],
213     - h => ['Help subscription',
214     - 'Subscriptions do not require confirmation'],
215     - i => ['Indexed',
216     - 'Indexed for WWW archive access'],
217     - j => ['Jump off',
218     - 'Unsubscribe does not require confirmation'],
219     - k => ['Kill',
220     - 'Posts from addresses in dir/deny/ are rejected'],
221     - l => ['Subscriber List',
222     - 'Remote administrators can request a subscriber list'],
223     - m => ['Message Moderation',
224     - 'All incoming messages are moderated'],
225     - n => ['Text Editing',
226     - 'Allow remote administrators to edit files in dir/text/'],
227     - o => ['Others rejected',
228     - 'Posts from addresses other than moderators are rejected'],
229     - p => ['Public',
230     - 'List will respond to administrative requests and archive retrieval'],
231     - q => ['Service Request Address',
232     - 'Process commands sent in the subject to local-request@host'],
233     - r => ['Remote Admin',
234     - 'Enable remote adminstration of the list'],
235     - s => ['Subscription Moderation',
236     - 'Subscriptions to the main list and digest will be moderated'],
237     - t => ['Trailer',
238     - 'Add a trailer to outgoing messages'],
239     - u => ['User Posts Only',
240     - 'Posts from unrecognized SENDER addresses will be rejected'],
241     -# v => version. I doubt you will really need this ;-)
242     - w => ['Remove Warn',
243     - 'Remove the ezmlm-warn(1) invocations from the list setup. It is assumed that ezmlm-warn(1) is run by other means'],
244     - x => ['Extra',
245     - 'Strip certain mimetypes, etc'],
246     -# y => not used
247     -# z => not used
248     -
249     -# These all take an extra argument, which is the default value to use
250     -
251     -# 0 => ['Sublist',
252     -# 'Make the list a sublist of list mainlist@host',
253     -# 'mainlist@host'],
254     -# 1 => not used
255     -# 2 => not used
256     -# 3 => ['From Address',
257     -# 'Replace the &quot;From:&quot; header of the message with &quot;From: fromarg&quot;',
258     -# 'fromarg'],
259     -# 4 => ['Digest Options',
260     -# 'Switches for ezmlm-tstdig(1)',
261     -# '-t24 -m30 -k64'],
262     - 5 => ['List Owner',
263     - 'The email address of the list owner',
264     - ''],
265     -# 6 => ['SQL Database',
266     -# 'SQL database connect information. Requires SQL support',
267     -# 'host:port:user:password:datab:table'],
268     -# 7 => ['Message Moderation Path',
269     -# 'Make /path the path to the database for message moderators, if the list is set up for message moderation',
270     -# '/some/full/path'],
271     -# 8 => ['Subscription Moderation Path',
272     -# 'Make /path the path to the database for message moderators, if the list is set up for message moderation',
273     -# '/some/full/path'],
274     -# 9 => ['Remote Admin Path',
275     -# 'Make /path the path to the database for message moderators, if the list is set up for message moderation',
276     -# '/some/full/path']
277     -
278     -);
279     -
280     -# This list defines most of the context sensitive help in ezmlm-web. What
281     -# isn't defined here is the options, which are defined above ... You can
282     -# alter these if you feel something else would make more sense to your users
283     -# Just be careful of what can fit on a screen!
284     -
285     -%HELPER = (
286     -
287     - # These should be self explainitory
288     - addaddress => 'You may enter any RFC822 compliant email address here, including the comment part. For example; J Random User <jru@on.web.za>',
289     - addaddressfile => 'or you may enter the filename of a plain text file containing multiple RFC822 email addresses, one per line',
290     - moderator => 'Moderators: people who control who may subscribe or post to a list',
291     - deny => 'Deny: A list of addresses that are _never_ allowed to mail the list',
292     - allow => 'Allow: A list of address that are allowed to mail the list even if the configuration otherwise restricts it',
293     - digest => 'Digest: People who will recieve a digest of all messages on the list',
294     - webarch => 'View the web based archive of this list',
295     - config => 'This lets you alter the way the list is set up',
296     - listname => 'This is the name of the list as displayed on the Select Lists screen. It is also the name of the subdirectory that contains the list',
297     - listadd => 'This is the email address of the list. Note that the defaults come from your qmail config. You should just update the local part (before the @)',
298     - webusers => 'NB! At this stage, any users specified here must exist. User creation may be added in future versions',
299     - prefix => 'Text to add to the subject line of all outgoing messages',
300     - headerremove => 'This is a list of headers to remove from all outgoing mail',
301     - headeradd => 'This is a list of headers to add to all outging mail',
302     - mimeremove => 'All messages whose Content-Type matches these mime types will be bounced back to sender',
303     - allowedit => 'Comma separated list of usernames, or <CODE>ALL</CODE> (all valid users)',
304     - mysqlcreate => 'This will create the necessary MySQL tables if the list configuration above requires it'
305     -
306     -);
307     -
308     -# This defines the captions of each of the buttons in ezmlm-web, and allows
309     -# you to configure them for your own language or taste. Since these are used
310     -# by the switching algorithm it is important that every button has a unique
311     -# caption - ie we can't have two 'Edit' buttons doing different things.
312     -
313     -%BUTTON = (
314     -
315     - # These MUST all be unique!
316     - create => 'Create',
317     - createlist => 'Create List',
318     - edit => 'Edit',
319     - delete => 'Delete',
320     - deleteaddress => 'Delete Address',
321     - addaddress => 'Add Address',
322     - moderators => 'Moderators',
323     - denylist => 'Deny List',
324     - allowlist => 'Allow List',
325     - digestsubscribers => 'Digest Subscribers',
326     - configuration => 'Configuration',
327     - yes => 'Yes',
328     - no => 'No',
329     - updateconfiguration => 'Update Configuration',
330     - edittexts => 'Edit Texts',
331     - editfile => 'Edit File',
332     - savefile => 'Save File',
333     - webarchive => 'Web Archive',
334     - selectlist => 'Select List',
335     - subscribers => 'Subscribers',
336     - cancel => 'Cancel',
337     - resetform => 'Reset Form',
338     -
339     -);
340     -
341     -# This defines the fixed text strings that are used in ezmlm-web. By editing
342     -# these along with the button labels and help texts, you can convert ezmlm-web
343     -# to another language :-) If anyone gets arround to doing complete templates
344     -# for other languages I would appreciate a copy so that I can include it in
345     -# future releases of ezmlm-web.
346     -
347     -%LANGUAGE = (
348     - nop => 'Action not yet implemented',
349     -# chooselistinfo => "<UL><LI>Choose a mailing list from the selection box or click on [$BUTTON{'create'}].<LI>Click on the [$BUTTON{'edit'}] button if you want to edit the selected list.<LI>Click on the [$BUTTON{'delete'}] button if you want to delete the selected list.</UL>",
350     - chooselistinfo => "<UL><LI>Choose a mailing list from the selection box and click on the [$BUTTON{'edit'}] button to edit the selected list.</LI></UL>",
351     - confirmdelete => 'Confirm deletion of', # list name
352     - subscribersto => 'Subscribers to', # list name
353     - subscribers => 'subscribers',
354     - additionalparts => 'Additional list parts',
355     - posting => 'Posting',
356     - subscription => 'Subscription',
357     - remoteadmin => 'Remote Admin',
358     - for => 'for', # as in; moderators for blahlist
359     - createnew => 'Create a New List',
360     - listname => 'List Name',
361     - listaddress => 'List Address',
362     - listoptions => 'List Options',
363     - allowedtoedit => 'Users allowed to edit this list',
364     - editconfiguration => 'Edit the List Configuration',
365     - prefix => 'Subject prefix for outgoing messages',
366     - headerremove => 'Headers to strip from all outgoing mail',
367     - headeradd => 'Headers to add to all outgoing mail',
368     - mimeremove => 'Mime types to strip from all outgoing mail',
369     - edittextinfo => "The box on the left contains a list of files available in the<BR>DIR/text directory. These files are sent out in response to specfic user request, or as part of all outgoing messages<P>To edit a file, select its name from the box. Then click on the [$BUTTON{'editfile'}] button.<P>Press [$BUTTON{'cancel'}] when you have finished editing.",
370     - editingfile => 'Editing File',
371     - editfileinfo => '<BIG><STRONG>ezmlm-manage</STRONG></BIG><BR><TT><STRONG>&lt;#l#&gt;</STRONG></TT> The list name<BR><TT><STRONG>&lt;#A#&gt;</STRONG></TT> The subscription address<BR><TT><STRONG>&lt;#R#&gt;</STRONG></TT> The address a subscriber must reply to<P><BIG><STRONG>ezmlm-store</STRONG></BIG><BR><TT><STRONG>&lt;#l#&gt;</STRONG></TT> The list name<BR><TT><STRONG>&lt;#A#&gt;</STRONG></TT> The acceptance address<BR><TT><STRONG>&lt;#R#&gt;</STRONG></TT> The rejection address</UL>',
372     - mysqlcreate => 'Create the MySQL database tables if necessary',
373     +# Which interface type should be displayed by default?
374     +# available values are: easy, normal and expert
375     +EOF
376    
377     -);
378     +my $interface=$ezmlm->{interface} || 'normal';
379     +$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';"
380    
381     -# === Configuration file ends ===
382     +$OUT .= <<'EOF';
383     +
384     +# exclude some interface options from being displayed
385     +# BEWARE: this does not protect the specific option from being changed.
386     +# It just hides the visible interface items. Anyone can still craft a manual
387     +# http request, that could change the specified options.
388     +# See the list of filenames below $TEMPLATE_DIR/config_options/. The
389     +# blacklist may contain any of these filenames (without '.cs' extension).
390     +#$INTERFACE_OPTIONS_BLACKLIST = ('lang_select', 'mime_reject');
391     +
392     +# use a cascading style sheet (css)
393     +# the setting is interpreted as a URL
394     +# this setting was formerly known as "HTML_CSS_FILE"
395     +$HTML_CSS_COMMON = "/ezmlm-web/default.css";
396     +
397     +# choose a coloring scheme - the available files are:
398     +# color-blue-gray: default style used before v3.2
399     +# color-red-blue: use gradients instead of plain colors (since v3.2)
400     +#
401     +# be aware, that some stylesheets may require additional graphic
402     +# files in the same directory
403     +$HTML_CSS_COLOR = "/ezmlm-web/color-red-blue.css";
404     +
405     +# the default interface language
406     +# all other available translation are available via the web interface
407     +# the configured preferred browser language of a user can override this
408     +# setting individually
409     +$HTML_LANGUAGE = "en";
410    
411     +# enabled support for encrypted mailing lists - defaults to 0 (off).
412     +# This include keyring management and mailing list handling in general.
413     EOF
414    
415     +my $encryption= ($ezmlm->{encryption} eq 'enabled' )? 1 : 0;
416     +$OUT .="\$ENCRYPTION_SUPPORT = $encryption;";
417     +
418     +$OUT .= <<'EOF';
419     +# Define the default location of gnupg keyrings used for mailing list
420     +# encryption. If the location starts with a slash ('/'), then it is considered
421     +# to be an absolute path. Otherwise it is relative to the current list
422     +# directory. For the ezmlm-gpg mailing list encryption system, the default
423     +# (".gnupg") is usable.
424     +$GPG_KEYRING_DEFAULT_LOCATION = ".gnupg";
425     +
426     +# Prints Error/Warning messages instead of "Internal Server Error" page.
427     +# It's recommend to disable (set to 0) in production mode..
428     +# 0 = disabled
429     +# 1 = enabled
430     +# defaults to 0
431     +EOF
432     +
433     +my $debug= ($ezmlm->{debug} eq 'enabled' )? 1 : 0;
434     +$OUT .="\$DEBUG = $debug;";
435     +
436     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed