X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/7ce7490a06416f2f47cfae72bc2baf0188d38f22..refs/heads/master:/index.php diff --git a/index.php b/index.php index d60cb18..454bc52 100644 --- a/index.php +++ b/index.php @@ -136,7 +136,9 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { } elseif ($cfg['maximal_upload_size'] > 0) { echo t('2_BIG') . ', ' . t('FILE_LIM') . " " . $cfg['maximal_upload_size'] . " MB."; } -?>')"/> +?>'); control_selected_file_extension(, '.')"/>

@@ -184,6 +186,10 @@ if ($cfg['maximal_upload_size'] >= 1024) { } else { echo '

'; } +if (!empty($cfg['disallowed_extensions'])) { + // only shown when the selected file matches, see control_selected_file_extension() + echo ''; +} ?>