Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
ba45c27f
Unverified
Commit
ba45c27f
authored
Sep 21, 2018
by
IKEDA Soji
Committed by
GitHub
Sep 21, 2018
Browse files
Merge pull request #416 from ikedas/drop_htmlarea by ikedas
Drop support for htmlArea.
parents
4baf87ff
a3c05a21
Changes
4
Hide whitespace changes
Inline
Side-by-side
default/web_tt2/main.tt2
View file @
ba45c27f
...
...
@@ -28,7 +28,7 @@
[% END -%]
</head>
<body
onload=
"[% IF
use_htmlarea %] HTMLArea.replaceAll();[% END %][% IF
back_to_mom %] setTimeout('refresh_mom_and_die()',1000);[% END %]"
>
<body
onload=
"[% IF back_to_mom %] setTimeout('refresh_mom_and_die()',1000);[% END %]"
>
[% top_menu = 1 %]
...
...
src/cgi/wwsympa.fcgi.in
View file @
ba45c27f
...
...
@@ -1497,8 +1497,6 @@ while ($query = CGI::Fast->new) {
$param->{'remote_addr'} = $ENV{'REMOTE_ADDR'};
$param->{'remote_host'} = $ENV{'REMOTE_HOST'};
$param->{'http_user_agent'} = $ENV{'HTTP_USER_AGENT'};
$param->{'htmlarea_url'} = $Conf::Conf{'htmlarea_url'};
# if ($Conf::Conf{'export_topics'} =~ /all/i);
$session->confirm_action($action, 'init');
...
...
@@ -12215,12 +12213,6 @@ sub do_d_editfile {
} else {
$param->{'textfile'} = 0;
}
$param->{'use_htmlarea'} = '1'
if $Conf::Conf{'htmlarea_url'}
and $param->{'textfile'}
and $path =~ /\.html?/;
#XXX$allow_absolute_path = 1;
web_db_log(
{ 'parameters' => $in{'path'},
...
...
src/lib/Sympa/ConfDef.pm
View file @
ba45c27f
...
...
@@ -1611,12 +1611,6 @@ our @params = (
},
##{ html_editor_hide: not yet implemented. },
##{ html_editor_show: not yet implemented. },
{
'
name
'
=>
'
htmlarea_url
',
#FIXME:Let's deprecate it.
'
gettext_id
'
=>
'',
'
default
'
=>
undef
,
'
file
'
=>
'
wwsympa.conf
',
'
optional
'
=>
1
,
},
# Password
...
...
@@ -2079,6 +2073,12 @@ our @params = (
'
gettext_comment
'
=>
'
Is FastCGI module for HTTP server installed? This module provides a much faster web interface.
',
},
{
'
name
'
=>
'
htmlarea_url
',
# Deprecated on 6.2.36
'
gettext_id
'
=>
'',
'
default
'
=>
undef
,
'
file
'
=>
'
wwsympa.conf
',
'
optional
'
=>
1
,
},
## Not implemented yet.
## {
...
...
src/lib/Sympa/Upgrade.pm
View file @
ba45c27f
...
...
@@ -919,7 +919,6 @@ sub upgrade {
'
custom_archiver
'
=>
'
yes
',
'
default_home
'
=>
'
NO
',
'
export_topics
'
=>
'
yes
',
'
htmlarea_url
'
=>
'
yes
',
'
html_editor_file
'
=>
'
NO
',
# 6.2a
'
html_editor_init
'
=>
'
NO
',
'
ldap_force_canonical_email
'
=>
'
NO
',
...
...
@@ -945,6 +944,7 @@ sub upgrade {
'
archived_pidfile
'
=>
'
No more used
',
'
bounced_pidfile
'
=>
'
No more used
',
'
use_fast_cgi
'
=>
'
No longer used
',
# 6.2.25b deprecated
'
htmlarea_url
'
=>
'
No longer used
',
# 6.2.36 deprecated
);
## Set language of new file content
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment