Revision eb47358a
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
691 | 691 |
|
692 | 692 |
check_do_access(); |
693 | 693 |
|
694 |
my $form = $main::form; |
|
695 |
my $locale = $main::locale; |
|
696 |
|
|
697 |
map { delete $form->{$_} } qw(action header login password); |
|
698 |
my @variables = map { { 'key' => $_, 'value' => $form->{$_} } } grep { '' eq ref $form->{$_} } keys %{ $form }; |
|
699 |
|
|
700 |
$form->{title} = $locale->text('Delete delivery order'); |
|
701 |
$form->header(); |
|
702 |
|
|
703 |
print $form->parse_html_template('do/delete', { 'VARIABLES' => \@variables }); |
|
704 |
|
|
705 |
$main::lxdebug->leave_sub(); |
|
706 |
} |
|
707 |
|
|
708 |
sub delete_delivery_order { |
|
709 |
$main::lxdebug->enter_sub(); |
|
710 |
|
|
711 |
check_do_access(); |
|
712 |
|
|
713 | 694 |
my $form = $main::form; |
714 | 695 |
my %myconfig = %main::myconfig; |
715 | 696 |
my $locale = $main::locale; |
Auch abrufbar als: Unified diff
Löschen von Lieferscheinen mit JavaScript-Sicherheitsabfrage