mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
fix (ipkg) tree view
This commit is contained in:
@@ -63,29 +63,29 @@ $heiropen{""} = 1;
|
||||
|
||||
# traverse the hierarchy
|
||||
print &ui_form_start("ipkg-tree.cgi");
|
||||
print &ui_submit($text{'IPKG_filter'});
|
||||
print &ui_submit($text{'index_filter'});
|
||||
print &ui_textbox("filter", $in{'filter'}, 50);
|
||||
print &ui_form_end(),"<p>\n";
|
||||
|
||||
print &ui_link("ipkg-tree.cgi?mode=closeall", $text{'index_close'});
|
||||
print &ui_link("ipkg-tree.cgi?mode=openall", $text{'index_open'});
|
||||
if ($in{'filter'}) {
|
||||
print &ui_link("ipkg-tree.cgi", $text{'IPKG_filterclear'});
|
||||
print " ", &text('IPKG_filtered',$n-$filter,$n+1), "\n";
|
||||
print &ui_link("ipkg-tree.cgi", $text{'index_filterclear'});
|
||||
print " ", &text('index_filtered',$n-$filter,$n+1), "\n";
|
||||
}
|
||||
print "<table width=\"95%\">\n";
|
||||
&traverse("", 0);
|
||||
print "</table>\n";
|
||||
print &ui_form_start("ipkg-tree.cgi");
|
||||
print &ui_submit($text{'IPKG_filter'});
|
||||
print &ui_submit($text{'index_filter'});
|
||||
print &ui_textbox("filter", $in{'filter'}, 50);
|
||||
print &ui_form_end(),"<p>\n";
|
||||
|
||||
print &ui_link("ipkg-tree.cgi?mode=closeall", $text{'index_close'});
|
||||
print &ui_link("ipkg-tree.cgi?mode=openall", $text{'index_open'});
|
||||
if ($in{'filter'}) {
|
||||
print &ui_link("ipkg-tree.cgi", $text{'IPKG_filterclear'});
|
||||
print " ", &text('IPKG_filtered',$n-$filter,$n+1), "\n";
|
||||
print &ui_link("ipkg-tree.cgi", $text{'index_filterclear'});
|
||||
print " ", &text('index_filtered',$n-$filter,$n+1), "\n";
|
||||
}
|
||||
print "<p>\n";
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ if ($in{'filter'}) {
|
||||
print "<table width=\"95%\">\n";
|
||||
&traverse("", 0);
|
||||
print "</table>\n";
|
||||
print &ui_form_start("ipkg-tree.cgi");
|
||||
print &ui_form_start("tree.cgi");
|
||||
print &ui_submit($text{'index_filter'});
|
||||
print &ui_textbox("filter", $in{'filter'}, 50);
|
||||
print &ui_form_end(),"<p>\n";
|
||||
|
||||
Reference in New Issue
Block a user