From d40aff3516401094f0732bfbaa3549b592045ccd Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Thu, 27 Sep 2007 14:52:55 +0000 Subject: [PATCH] Pakfire CGI korrigiert git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@926 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- html/cgi-bin/pakfire.cgi | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/html/cgi-bin/pakfire.cgi b/html/cgi-bin/pakfire.cgi index f571e1b5f6..513730bf3d 100644 --- a/html/cgi-bin/pakfire.cgi +++ b/html/cgi-bin/pakfire.cgi @@ -47,6 +47,7 @@ $pakfiresettings{'AUTOUPGRADE'} = 'off'; $pakfiresettings{'UUID'} = 'on'; &Header::getcgihash(\%pakfiresettings); + &General::readhash("${General::swroot}/main/settings", \%mainsettings); &General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color); @@ -218,7 +219,7 @@ my $packages_update_age = &General::age("/opt/pakfire/db/lists/packages_list.db" &Header::openbox("100%", "center", "Pakfire"); print < +
$Lang::tr{'pakfire system state'}:
$Lang::tr{'pakfire core update level'}: $core_release
@@ -281,16 +282,18 @@ END print < - -
$Lang::tr{'basic options'} -
$Lang::tr{'pakfire update daily'} - - $Lang::tr{'pakfire register'} - -
$Lang::tr{'pakfire core update auto'} - -   -
+ + + + + +
$Lang::tr{'basic options'}
$Lang::tr{'pakfire update daily'} + on / + off
$Lang::tr{'pakfire core update auto'} + on / + off
$Lang::tr{'pakfire register'} + on / + off
END -- 2.39.2