mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Use a hidden table to show dependencies
This commit is contained in:
@ -151,6 +151,8 @@ if ($pinfo[6]) {
|
||||
print &ui_table_row($text{'edit_inst'}, $pinfo[6]);
|
||||
}
|
||||
|
||||
print &ui_table_end();
|
||||
|
||||
# Dependencies, if we can get them
|
||||
my @deps = defined(&package_dependencies) ?
|
||||
&package_dependencies($name, $ver) : ( );
|
||||
@ -188,11 +190,12 @@ if (@deps) {
|
||||
$dtable .= &ui_columns_row(\@row);
|
||||
}
|
||||
$dtable .= &ui_columns_end();
|
||||
print &ui_table_row($text{'edit_deps'}, $dtable, 3);
|
||||
print &ui_hidden_table_start($text{'edit_deps'}, "width=100%", 2,
|
||||
"deps", 0);
|
||||
print &ui_table_row(undef, $dtable, 2);
|
||||
print &ui_hidden_table_end();
|
||||
}
|
||||
|
||||
print &ui_table_end();
|
||||
|
||||
return @pinfo;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user