#!/usr/bin/perl
#
-# This file is part of the IPCop Firewall.
+# This file is part of the IPFire Firewall.
#
-# IPCop is free software; you can redistribute it and/or modify
+# IPFire is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
-# IPCop is distributed in the hope that it will be useful,
+# IPFire is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with IPCop; if not, write to the Free Software
+# along with IPFire; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Copyright (C) 2003-05-25 Mark Wormgoor <mark@wormgoor.com>
#use warnings;
#use CGI::Carp 'fatalsToBrowser';
-require 'CONFIG_ROOT/general-functions.pl';
+require '/var/ipfire/general-functions.pl';
require "${General::swroot}/lang.pl";
require "${General::swroot}/header.pl";
<tr><td width='30%' class='base'>$Lang::tr{'organization name'}:</td>
<td width='35%' class='base' nowrap='nowrap'><input type='text' name='ROOTCERT_ORGANIZATION' value='$cgiparams{'ROOTCERT_ORGANIZATION'}' size='32' /></td>
<td width='35%' colspan='2'> </td></tr>
- <tr><td class='base'>$Lang::tr{'ipcops hostname'}:</td>
+ <tr><td class='base'>$Lang::tr{'ipfires hostname'}:</td>
<td class='base' nowrap='nowrap'><input type='text' name='ROOTCERT_HOSTNAME' value='$cgiparams{'ROOTCERT_HOSTNAME'}' size='32' /></td>
<td colspan='2'> </td></tr>
<tr><td class='base'>$Lang::tr{'your e-mail'}: <img src='/blob.gif' alt='*' /></td>
}
if (($cgiparams{'TYPE'} eq 'net') && ($cgiparams{'SIDE'} !~ /^(left|right)$/)) {
- $errormessage = $Lang::tr{'ipcop side is invalid'};
+ $errormessage = $Lang::tr{'ipfire side is invalid'};
goto VPNCONF_ERROR;
}
} else {
print <<END
<tr><input type='hidden' name='INTERFACE' value='RED' />
- <td class='boldbase' nowrap='nowrap'>$Lang::tr{'ipcop side'}</td>
+ <td class='boldbase' nowrap='nowrap'>$Lang::tr{'ipfire side'}</td>
<td><select name='SIDE'><option value='left' $selected{'SIDE'}{'left'}>left</option>
<option value='right' $selected{'SIDE'}{'right'}>right</option></select></td>
<td class='boldbase'>$Lang::tr{'remote host/ip'}:</td>