Multilanguage fix for index.cgi.

This commit is contained in:
Jan Paul Tuecking
2010-12-05 14:33:47 +01:00
parent 7fa7c7dd2e
commit 0cac94cc32

View File

@@ -139,7 +139,7 @@ my $dialButtonDisabled = "disabled='disabled'";
&Header::openbigbox('', 'center');
# licence agreement
if ($cgiparams{'ACTION'} eq 'Yes' && $cgiparams{'gpl_accepted'} eq '1') {
if ($cgiparams{'ACTION'} eq $Lang::tr{'yes'} && $cgiparams{'gpl_accepted'} eq '1') {
system('touch /var/ipfire/main/gpl_accepted')
}
if (`find /var/ipfire/main/gpl_accepted 2>/dev/null`) {