28 lines
478 B
Perl
28 lines
478 B
Perl
#!/usr/bin/perl
|
|
# This file was preprocessed, do not edit!
|
|
|
|
|
|
package Debconf::Element::Web::String;
|
|
use warnings;
|
|
use strict;
|
|
use base qw(Debconf::Element);
|
|
|
|
|
|
sub show {
|
|
my $this=shift;
|
|
|
|
$_=$this->question->extended_description;
|
|
s/\n/\n<br>\n/g;
|
|
$_.="\n<p>\n";
|
|
|
|
my $default='';
|
|
$default=$this->question->value if defined $this->question->value;
|
|
my $id=$this->id;
|
|
$_.="<b>".$this->question->description."</b><input name=\"$id\" value=\"$default\">\n";
|
|
|
|
return $_;
|
|
}
|
|
|
|
|
|
1
|