]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - index.php
Revert "lib/locales: we can remove template file as locales are managed by weblate"
[jirafeau_mojo42.git] / index.php
index 1a5c6aac7eeda0dae9c8369491a3cf37a03afbdf..8cb0b864d9d606a8f9b7ec0b8377385f73ae5617 100644 (file)
--- a/index.php
+++ b/index.php
@@ -95,44 +95,36 @@ if (jirafeau_has_upload_password ($cfg))
 ?>
 <div id="upload_finished">
     <p><?php echo t('File uploaded !') ?></p>
-    <br />
 
-    <?php if ($cfg['download_page'] == true) { ?>
     <div id="upload_finished_download_page">
-    <?php echo t('Download page') ?>
+    <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>
-    <br />
-    </div>
-    <?php } ?>
-
-    <div id="upload_password_page">
-    <p><?php echo t('Download page') ?>:</p>
-    <p><a id="password_link" href=""></a></p>
-    <br />
     </div>
 
     <?php if ($cfg['preview'] == true) { ?>
     <div id="upload_finished_preview">
     <p><?php echo t('View link') ?>:</p>
     <p><a id="preview_link" href=""></a></p>
-    <br />
     </div>
     <?php } ?>
 
     <div id="upload_direct_download">
     <p><?php echo t('Direct download link') ?>:</p>
     <p><a id="direct_link" href=""></a></p>
-    <br />
     </div>
 
+    <div>
     <p><?php echo t('Delete link') ?>:</p>
     <p><a id="delete_link" href=""></a></p>
-    <br />
-    
-    <p id="validity">
-    <?php echo t('This file is valid until the following date'); ?>:
-    <br /><strong><div id="date"></div></strong>
-    </p>
+    </div>
+
+    <div id="validity">
+    <p><?php echo t('This file is valid until the following date'); ?>:</p>
+    <p id="date"></p>
+    </div>
 </div>
 
 <div id="uploading">

patrick-canterino.de