Skip to content

Commit 6eecd02

Browse files
authored
Merge pull request #188 from xavierba/pictures_max_size_fix
Pictures max size fix by xavierba
2 parents 2a3d0a6 + 1a80640 commit 6eecd02

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

default/web_tt2/picture_upload.tt2

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<form method="post" action="[% path_cgi %]" enctype="multipart/form-data" >
88

9-
<p>[%|loc%]You can upload your picture below. It will be available in the list review page. The picture should use a standard format (GIF, JPP, JPEG or PNG) and the file size should not exceed 100 Kb.[%END%]</p><br />
9+
<p>[%|loc(conf.pictures_max_size / 1024)%]You can upload your picture below. It will be available in the list review page. The picture should use a standard format (GIF, JPG, JPEG or PNG) and the file size should not exceed %1 Kb.[%END%]</p><br />
1010

1111
<fieldset>
1212
<label for="uploaded_file"><input id="uploaded_file" type="file" name="uploaded_file"/></label>

src/cgi/wwsympa.fcgi.in

+1
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,7 @@ while ($query = CGI::Fast->new) {
11571157
'reporting_spam_script_path',
11581158
'automatic_list_families',
11591159
'spam_protection',
1160+
'pictures_max_size',
11601161
) {
11611162

11621163
$param->{'conf'}{$p} = Conf::get_robot_conf($robot, $p);

0 commit comments

Comments
 (0)