Commit 1bf5fd27 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

More fixes: Considering templates customized for earlier version.

parent 7ab10f43
......@@ -842,6 +842,7 @@ our %in_regexp = (
'body' => '.+',
'info' => '.+',
'new_scenario_content' => '.+',
'blacklist' => '.*', # Compat.<=6.2.60
'blocklist' => '.*',
 
## Integer
......@@ -2054,6 +2055,10 @@ sub get_parameters {
$param->{'nomenu'} = $in{'nomenu'};
}
 
# Compatibility to the templates customized for version <=6.2.60:
# 'blacklist' was renamed to 'blocklist'.
$in{'blocklist'} //= $in{'blacklist'} if defined $in{'blacklist'};
# From CGI URL get {base_url} and {path_cgi} parameters.
# Note that other links should keep the nomenu attribute.
# NOTE: The base_url is kept for compatibility to Sympa < 6.2.15. The
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment