From: pcanterino <> Date: Sun, 10 Apr 2005 10:13:28 +0000 (+0000) Subject: *grr* X-Git-Tag: version_3_0~45 X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/aa2bc2bfca200e713a3a831192c992d78d782c47?hp=a7a9dab8087e8b2e8b23721d2445d2058978d509 *grr* Don't parse the "binary_file" {IF} block, parse the "binary" {IF} block! --- diff --git a/modules/Command.pm b/modules/Command.pm index 1d3b6e2..7119349 100644 --- a/modules/Command.pm +++ b/modules/Command.pm @@ -181,7 +181,7 @@ sub exec_show($$) $ftpl->parse_if_block('link',-l $phys_path); $ftpl->parse_if_block('no_link',not -l $phys_path); $ftpl->parse_if_block('not_readable',not -r $phys_path); - $ftpl->parse_if_block('binary_file',-B $phys_path); + $ftpl->parse_if_block('binary',-B $phys_path); $ftpl->parse_if_block('readonly',not -w $phys_path); $ftpl->parse_if_block('viewable',(-r $phys_path && -T $phys_path && not $too_large) || -l $phys_path);