]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/fireinfo.cgi
fireinfo.cgi: htmlcleanup, change html tags from uppercase to lowercase
[people/teissler/ipfire-2.x.git] / html / cgi-bin / fireinfo.cgi
index 4b972529e16544ebb08c1343b4e63f540740606b..5eec4ba9647a644278baa8e5afaad0f09816c887 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2011  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -55,18 +55,19 @@ if ("$fireinfosettings{'ACTION'}" eq "trigger") {
                unlink "$configfile";
                $fireinfosettings{'ENABLE_FIREINFO'} = 'off';
        }
+       system("/usr/local/bin/fireinfoctrl &");
 }
 
 &Header::openpage('Fireinfo', 1, '');
 
 if ($fireinfosettings{'ENABLE_FIREINFO'} ne "on") {
-       &Header::openbox("100%", "left", "Why should I enable fireinfo?");
+       &Header::openbox("100%", "left", "$Lang::tr{'fireinfo why enable'}");
 
        print <<END;
 <font color="$Header::colourred">
        <p>
-               It is very important for the development of IPFire that you enable this
-               service. <a href="http://fireinfo.ipfire.org" target="_blank">Read more about the reasons.</a>
+               $Lang::tr{'fireinfo why descr1'}
+               $Lang::tr{'fireinfo why descr2'}<a href="http://fireinfo.ipfire.org" target="_blank">$Lang::tr{'fireinfo why read more'}</a>
        </p>
 </font>
 END
@@ -78,7 +79,7 @@ END
 
 if ($errormessage) {
        &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}");
-       print "<FONT CLASS='base'>$errormessage&nbsp;</FONT>\n";
+       print "<font class='base'>$errormessage&nbsp;</font>\n";
        &Header::closebox();
 }
 
@@ -151,7 +152,7 @@ print <<END;
        </tr>
        <tr>
                <!-- spacer -->
-               <td colspan="2">&nbsp;</td>
+               <td colspan="2"><font color='$Header::colourgreen'>&nbsp;</font></td>
        </tr>
        <tr>
                <td colspan='2'>