mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to improve displaying file path and preview
This commit is contained in:
@@ -30,14 +30,12 @@ for($i=0; $i<$n; $i++) {
|
|||||||
push(@cols, "", "");
|
push(@cols, "", "");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$table = "<table width=100% cellpadding=0 cellspacing=0><tr><td>".
|
my $table = &ui_link($ls, &html_escape($files{$i,'path'}));
|
||||||
&ui_link($ls, &html_escape($files{$i,'path'}) ).
|
|
||||||
"</td><td align=right>\n";
|
|
||||||
if ($ty == 0 || $ty == 5) {
|
if ($ty == 0 || $ty == 5) {
|
||||||
$table .= &ui_link("view.cgi".
|
$table .= " ".&ui_link("view.cgi".
|
||||||
&html_escape($files{$i,'path'}), $text{'list_view'});
|
&html_escape($files{$i,'path'}),
|
||||||
|
$text{'list_view'});
|
||||||
}
|
}
|
||||||
$table .= "</td></tr></table>";
|
|
||||||
push(@cols, $table);
|
push(@cols, $table);
|
||||||
push(@cols, &html_escape($files{$i,'user'}));
|
push(@cols, &html_escape($files{$i,'user'}));
|
||||||
push(@cols, &html_escape($files{$i,'group'}));
|
push(@cols, &html_escape($files{$i,'group'}));
|
||||||
|
|||||||
Reference in New Issue
Block a user