| 1 |
#!/usr/bin/perl |
| 2 |
|
| 3 |
=head1 NAME |
| 4 |
|
| 5 |
Debconf::Element::Dialog::Note - A note in a dialog box |
| 6 |
|
| 7 |
=cut |
| 8 |
|
| 9 |
package Debconf::Element::Dialog::Note; |
| 10 |
use warnings; |
| 11 |
use strict; |
| 12 |
use base qw(Debconf::Element); |
| 13 |
|
| 14 |
=head1 DESCRIPTION |
| 15 |
|
| 16 |
This is an input element that can display a dialog box with a note on it. |
| 17 |
|
| 18 |
=cut |
| 19 |
|
| 20 |
sub show { |
| 21 |
my $this=shift; |
| 22 |
|
| 23 |
$this->frontend->showtext($this->question, |
| 24 |
$this->question->description."\n\n". |
| 25 |
$this->question->extended_description |
| 26 |
); |
| 27 |
$this->value(''); |
| 28 |
} |
| 29 |
|
| 30 |
1 |