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');
$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');
edit_greetings();
- $lxdebug->leave_sub();
+ $main::lxdebug->leave_sub();
}
1;