__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl
# This file was preprocessed, do not edit!
package Debconf::Element::Web::Multiselect;
use warnings;
use strict;
use base qw(Debconf::Element::Multiselect);
sub show {
my $this=shift;
$_=$this->question->extended_description;
s/\n/\n<br>\n/g;
$_.="\n<p>\n";
my %value = map { $_ => 1 } $this->translate_default;
my $id=$this->id;
$_.="<b>".$this->question->description."</b>\n<select multiple name=\"$id\">\n";
my $c=0;
foreach my $x ($this->question->choices_split) {
if (! $value{$x}) {
$_.="<option value=".$c++.">$x\n";
}
else {
$_.="<option value=".$c++." selected>$x\n";
}
}
$_.="</select>\n";
return $_;
}
sub value {
my $this=shift;
return $this->SUPER::value() unless @_;
my @values=@_;
$this->question->template->i18n('');
my @choices=$this->question->choices_split;
$this->question->template->i18n(1);
$this->SUPER::value(join(', ', $this->order_values(map { $choices[$_] } @values)));
}
1
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Boolean.pm | File | 671 B | 0644 |
|
| Error.pm | File | 171 B | 0644 |
|
| Multiselect.pm | File | 967 B | 0644 |
|
| Note.pm | File | 170 B | 0644 |
|
| Password.pm | File | 494 B | 0644 |
|
| Progress.pm | File | 242 B | 0644 |
|
| Select.pm | File | 887 B | 0644 |
|
| String.pm | File | 478 B | 0644 |
|
| Text.pm | File | 326 B | 0644 |
|