403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/systemd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/systemd/config_info.pl
use strict;
use warnings;

require './systemd-lib.pl'; ## no critic

our (%in, %text);

# show_visible_tabs(value)
# Returns checkbox controls for choosing which index tabs are visible.
sub show_visible_tabs
{
my ($value) = @_;
my %enabled = map { $_, 1 } split(/\s*,\s*/, $value || default_visible_tabs());
my @fields;
foreach my $tab (get_index_tab_ids()) {
	my $label = $text{'systemd_tab_'.$tab} || ucfirst($tab);
	push(@fields, ui_checkbox(
		"visible_tabs", $tab, $label, $enabled{$tab}));
	}
return join(" ", @fields);
}

# parse_visible_tabs(value)
# Returns selected tab IDs, and rejects saving with every tab hidden.
sub parse_visible_tabs
{
my @tabs = split(/\0/, $in{'visible_tabs'} || "");
my %valid = map { $_, 1 } get_index_tab_ids();
@tabs = grep { $valid{$_} } @tabs;
@tabs || error($text{'systemd_evisibletabs'});
return join(",", @tabs);
}

1;

Youez - 2016 - github.com/yon3zu
LinuXploit