OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
perl5
/
Debconf
/
Element
/
Editor
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2019 03:48:56 PM
rwxr-xr-x
📄
Boolean.pm
1009 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Error.pm
165 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Multiselect.pm
916 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Note.pm
164 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Password.pm
171 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Progress.pm
235 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Select.pm
834 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
String.pm
439 bytes
05/06/2019 04:30:30 PM
rw-r--r--
📄
Text.pm
316 bytes
05/06/2019 04:30:30 PM
rw-r--r--
Editing: Select.pm
Close
#!/usr/bin/perl -w # This file was preprocessed, do not edit! package Debconf::Element::Editor::Select; use strict; use Debconf::Gettext; use base qw(Debconf::Element::Select); sub show { my $this=shift; my $default=$this->translate_default; my @choices=$this->question->choices_split; $this->frontend->comment($this->question->extended_description."\n\n". "(".gettext("Choices").": ".join(", ", @choices).")\n". $this->question->description."\n"); $this->frontend->item($this->question->name, $default); } sub value { my $this=shift; return $this->SUPER::value() unless @_; my $value=shift; my %valid=map { $_ => 1 } $this->question->choices_split; if ($valid{$value}) { return $this->SUPER::value($this->translate_to_C($value)); } else { return $this->SUPER::value($this->question->value); } } 1