exit;
}
+/* Check if user is allowed to upload. */
+if (!jirafeau_challenge_upload_ip ($cfg, $_SERVER['REMOTE_ADDR']))
+{
+ echo '<div class="error"><p>' . t('Access denied') . '</p></div>';
+ require (JIRAFEAU_ROOT.'lib/template/footer.php');
+ exit;
+}
+
/* Ask password if upload password is set. */
if (jirafeau_has_upload_password ($cfg))
{
<p><?php echo t('File uploaded !') ?></p>
<div id="upload_finished_download_page">
- <p><?php echo t('Download page') ?></p>
+ <p>
+ <?php echo t('Download page') ?>
+ <a id="upload_link_email" href=""><img id="upload_image_email"/></a>
+ </p>
<p><a id="upload_link" href=""></a></p>
</div>