96 |
-# What is the title of this document? |
-# What is the title of this document? |
97 |
-# $HTML_TITLE = 'E Z Mailing List Manager'; |
-# $HTML_TITLE = 'E Z Mailing List Manager'; |
98 |
-$HTML_TITLE = 'Mailing Lists'; |
-$HTML_TITLE = 'Mailing Lists'; |
99 |
+my $options= ($ezmlm->{options} || 'aBDFGHiJkLMNOpQRSTUWx'; |
+my $options= $ezmlm{options} || 'aBDFGHiJkLMNOpQRSTUWx'; |
100 |
+$OUT .= "\$DEFAULT_OPTIONS = '$options'"; |
+$OUT .= "\$DEFAULT_OPTIONS = '$options'"; |
101 |
|
|
102 |
-# --------------------------------------------------------------------------- |
-# --------------------------------------------------------------------------- |
103 |
+my $title= ($ezmlm->{title} || 'Koozali SME Server Mailing List Manager'; |
+my $title= $ezmlm{title} || 'Koozali SME Server Mailing List Manager'; |
104 |
+$OUT .= "# What is the title of this document? |
+$OUT .= "# What is the title of this document?"; |
105 |
+\$HTML_TITLE = '$title';"; |
+$OUT .= "\$HTML_TITLE = '$title';"; |
106 |
+ |
+ |
107 |
+ |
+ |
108 |
+$OUT .= <<'EOF'; |
+$OUT .= <<'EOF'; |
329 |
+EOF |
+EOF |
330 |
|
|
331 |
-); |
-); |
332 |
+my $interface=$ezmlm->{interface} || 'normal'; |
+my $interface=$ezmlm{interface} || 'normal'; |
333 |
+$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';" |
+$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';"; |
334 |
|
|
335 |
-# === Configuration file ends === |
-# === Configuration file ends === |
336 |
+$OUT .= <<'EOF'; |
+$OUT .= <<'EOF'; |
366 |
+# This include keyring management and mailing list handling in general. |
+# This include keyring management and mailing list handling in general. |
367 |
EOF |
EOF |
368 |
|
|
369 |
+my $encryption= ($ezmlm->{encryption} eq 'enabled' )? 1 : 0; |
+my $encryption= ($ezmlm{encryption} eq 'enabled' )? 1 : 0; |
370 |
+$OUT .="\$ENCRYPTION_SUPPORT = $encryption;"; |
+$OUT .="\$ENCRYPTION_SUPPORT = $encryption;\n"; |
371 |
+ |
+ |
372 |
+$OUT .= <<'EOF'; |
+$OUT .= <<'EOF'; |
373 |
+# Define the default location of gnupg keyrings used for mailing list |
+# Define the default location of gnupg keyrings used for mailing list |
384 |
+# defaults to 0 |
+# defaults to 0 |
385 |
+EOF |
+EOF |
386 |
+ |
+ |
387 |
+my $debug= ($ezmlm->{debug} eq 'enabled' )? 1 : 0; |
+my $debug= ($ezmlm{debug} eq 'enabled' )? 1 : 0; |
388 |
+$OUT .="\$DEBUG = $debug;"; |
+$OUT .="\$DEBUG = $debug;"; |
389 |
+ |
+ |
390 |
} |
} |