]> git.p6c8.net - jirafeau_mojo42.git/commitdiff
[FEATURE] Styles: Set IDs for upload result links
authorDan Untenzu <untenzu@webit.de>
Thu, 30 Mar 2017 13:56:09 +0000 (15:56 +0200)
committerDan Untenzu <untenzu@webit.de>
Thu, 30 Mar 2017 14:03:42 +0000 (16:03 +0200)
Set IDs for all links shown after successfull upload.

This way admins may show/hide these links with CSS only.

Refs #93

index.php

index 9a7b9ec4d81ced114394b61a2e679c7013f96c33..7ce95327419494daad220e5ab207e554fa891c24 100644 (file)
--- a/index.php
+++ b/index.php
@@ -118,12 +118,12 @@ else {
     <p><a id="direct_link" href=""></a></p>
     </div>
 
-    <div>
+    <div id="upload_delete">
     <p><?php echo t('Delete link') ?>:</p>
     <p><a id="delete_link" href=""></a></p>
     </div>
 
-    <div id="validity">
+    <div id="upload_validity">
     <p><?php echo t('This file is valid until the following date'); ?>:</p>
     <p id="date"></p>
     </div>

patrick-canterino.de