Remove iframes from contact.html (#674)
This commit is contained in:
parent
22a01f7e69
commit
c71ccd69c4
|
@ -43,7 +43,8 @@ foreach my $version ( @$remove_versions ) {
|
|||
system('find . -name \*.html -exec sed -i "s#/latest/#/current/#g" {} \;');
|
||||
|
||||
# Rewrite documentation.html
|
||||
tie my @documentation, 'Tie::File', 'pages/documentation.html' or die("Unable to open pages/documentation.html");
|
||||
tie my @documentation, 'Tie::File', 'pages/documentation.html'
|
||||
or die("Unable to open pages/documentation.html");
|
||||
|
||||
splice @documentation, 61, 20;
|
||||
|
||||
|
@ -64,4 +65,7 @@ splice @index, 22, 1, @links;
|
|||
# Remove external logos
|
||||
system('rm -rf media/applications/ media/logos/');
|
||||
|
||||
# Remove Facebook iframe (See http://jira.ow2.org/browse/LEMONLDAP-674)
|
||||
system('sed -i "/<iframe/d" pages/contact.html');
|
||||
|
||||
exit 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user