%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.101 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/webmin/software/ |
Upload File : |
#!/usr/bin/perl
# edit_pack.cgi
# Displays the details of an existing package, with links to uninstall and
# other options
require './software-lib.pl';
&ReadParse();
@pinfo = &package_info($in{'package'}, $in{'version'});
$pinfo[0] || &error($text{'edit_egone'});
&ui_print_header(undef, $text{'edit_title'}, "", "edit_pack");
@pinfo = &show_package_info($in{'package'}, $in{'version'}, 1);
print &ui_buttons_start();
# Show button to list files, if supported
if (!$pinfo[8]) {
print &ui_buttons_row("list_pack.cgi",
$text{'edit_list'},
$text{'edit_listdesc'},
&ui_hidden("package", $pinfo[0]).
&ui_hidden("version", $pinfo[4]).
&ui_hidden("search", $in{'search'}));
}
# Show button to un-install (if possible)
if (!$pinfo[7]) {
print &ui_buttons_row("delete_pack.cgi",
$text{'edit_uninst'},
$text{'edit_uninstdesc'},
&ui_hidden("package", $pinfo[0]).
&ui_hidden("version", $pinfo[4]).
&ui_hidden("search", $in{'search'}));
}
print &ui_buttons_end();
if ($in{'search'}) {
&ui_print_footer("search.cgi?search=$in{'search'}", $text{'search_return'});
}
else {
&ui_print_footer("tree.cgi#$pinfo[1]", $text{'index_treturn'});
}