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

@@ -187,7 +187,8 @@ if ($cfg['maximal_upload_size'] >= 1024) { echo '

'; } if (!empty($cfg['disallowed_extensions'])) { - echo '

' . t('EXT_LIM') . ' ' . implode(', ', $cfg['disallowed_extensions']) . '

'; + // only shown when the selected file matches, see control_selected_file_extension() + echo ''; } ?>