From 4f851d71b145e9708f1bc8373a7fa43ee03f5d7d Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 11 Nov 2025 01:36:03 +0200 Subject: [PATCH] Fix to improve displaying file path and preview --- software/list_pack.cgi | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/software/list_pack.cgi b/software/list_pack.cgi index d20aff398..ca3fc596a 100755 --- a/software/list_pack.cgi +++ b/software/list_pack.cgi @@ -30,14 +30,12 @@ for($i=0; $i<$n; $i++) { push(@cols, "", ""); } else { - $table = "
". - &ui_link($ls, &html_escape($files{$i,'path'}) ). - "\n"; + my $table = &ui_link($ls, &html_escape($files{$i,'path'})); if ($ty == 0 || $ty == 5) { - $table .= &ui_link("view.cgi". - &html_escape($files{$i,'path'}), $text{'list_view'}); + $table .= "  ".&ui_link("view.cgi". + &html_escape($files{$i,'path'}), + $text{'list_view'}); } - $table .= "
"; push(@cols, $table); push(@cols, &html_escape($files{$i,'user'})); push(@cols, &html_escape($files{$i,'group'}));