]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/pakfire.cgi
MPFire nochmal konrrigiert
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / pakfire.cgi
index 99f28baa7693fdaf538d95e5f605cd05433d72e9..f571e1b5f62c701862cbce9b00e48a4080522673 100644 (file)
@@ -1,12 +1,23 @@
 #!/usr/bin/perl
-#
-# IPFire CGIs
-#
-# This file is part of the IPFire Project
-# 
-# This code is distributed under the terms of the GPL
-#
-#
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# 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        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
 
 use strict;
 
@@ -208,13 +219,13 @@ my $packages_update_age = &General::age("/opt/pakfire/db/lists/packages_list.db"
 
 print <<END;
        <table width='100%' cellpadding='5' >
-               <tr><td width="50%" bgcolor='$color{'color20'}' align="center"><b>(TR) Your system's state:</b>
+               <tr><td width="50%" bgcolor='$color{'color20'}' align="center"><b>$Lang::tr{'pakfire system state'}:</b>
                                <td width="50%">
-               <tr><td align="center">(TR) Core-Update-Level: $core_release<hr />
-                                       (TR) Last Update made $core_update_age ago<br />
-                                       (TR) Last server list update made $server_update_age ago<br />
-                                       (TR) Last core list update made $corelist_update_age ago<br />
-                                       (TR) Last packages list update made $packages_update_age ago
+               <tr><td align="center">$Lang::tr{'pakfire core update level'}: $core_release<hr />
+                                       $Lang::tr{'pakfire last update'} $core_update_age ago<br />
+                                       $Lang::tr{'pakfire last serverlist update'} $server_update_age ago<br />
+                                       $Lang::tr{'pakfire last core list update'} $corelist_update_age ago<br />
+                                       $Lang::tr{'pakfire last package update'} $packages_update_age ago
                                        <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                                <input type='hidden' name='ACTION' value='update' />
                                                <input type='submit' value='Liste aktualisieren' /><br />
@@ -235,7 +246,7 @@ END
                <tr><td bgcolor='$color{'color20'}' align="center"><b>$Lang::tr{'pakfire available addons'}</b>
                                <td bgcolor='$color{'color20'}' align="center"><b>$Lang::tr{'pakfire installed addons'}</b>
                <tr><td align="center">
-                       <p>(TR) Please choose one or more items from the list below and click the 'plus' to install.</p>
+                       <p>$Lang::tr{'pakfire install description'}</p>
                        <form method='post' action='$ENV{'SCRIPT_NAME'}'>       
                                <select name="INSPAKS" size="10" multiple>
 END
@@ -249,7 +260,7 @@ print <<END;
                        </form>
 
                <td align="center">
-                       <p>(TR) Please choose one or more items from the list below and click the 'minus' to uninstall.</p>
+                       <p>$Lang::tr{'pakfire uninstall description'}</p>
                 <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                        <select name="DELPAKS" size="10" multiple>
 END
@@ -276,7 +287,7 @@ print <<END;
                                        <td width='10%' align="left"><input type="checkbox" name="AUTOUPDATE" $checked{'AUTOUPDATE'}{'on'} />
                                        <td width='40%' align="right">$Lang::tr{'pakfire register'} 
                                        <td width='10%' align="left"><input type="checkbox" name="UUID" $checked{'UUID'}{'on'} />
-                       <tr><td width='40%' align="right">(TR) Apply core updates automatically?
+                       <tr><td width='40%' align="right">$Lang::tr{'pakfire core update auto'}
                                        <td width='10%' align="left"><input type="checkbox" name="AUTOUPGRADE" $checked{'AUTOUPGRADE'}{'on'} />
                                        <td width='50%' colspan="2">&nbsp;
                        <tr><td width='100%' colspan="4" align="center"><input type="submit" name="ACTION" value="$Lang::tr{'save'}" />