X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/98e3e57726bb6dbf55141ca6abc5cb74879d5c46..fce441db:/bin/mozilla/generictranslations.pl diff --git a/bin/mozilla/generictranslations.pl b/bin/mozilla/generictranslations.pl index 608611710..385ce8094 100644 --- a/bin/mozilla/generictranslations.pl +++ b/bin/mozilla/generictranslations.pl @@ -2,10 +2,15 @@ use SL::Auth; use SL::Form; use SL::GenericTranslations; +use strict; + sub edit_greetings { - $lxdebug->enter_sub(); + $main::lxdebug->enter_sub(); + + $main::auth->assert('config'); - $auth->assert('config'); + my $form = $main::form; + my $locale = $main::locale; $form->get_lists('languages' => 'LANGUAGES'); @@ -33,13 +38,16 @@ sub edit_greetings { $form->header(); print $form->parse_html_template('generictranslations/edit_greetings'); - $lxdebug->leave_sub(); + $main::lxdebug->leave_sub(); } sub save_greetings { - $lxdebug->enter_sub(); + $main::lxdebug->enter_sub(); + + $main::auth->assert('config'); - $auth->assert('config'); + my $form = $main::form; + my $locale = $main::locale; $form->get_lists('languages' => 'LANGUAGES'); @@ -60,7 +68,7 @@ sub save_greetings { edit_greetings(); - $lxdebug->leave_sub(); + $main::lxdebug->leave_sub(); } 1;