summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index 0493cc4..f5809a5 100644
--- a/public/index.php
+++ b/public/index.php
@@ -339,6 +339,14 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt');
<p class="remove-script">Details:</p>
<hr class="remove-script">
<table class="vertical left" id="form-upload-options">
+ <?php if (FILE_CUSTOM_ID): ?>
+ <tr>
+ <th>File ID:</th>
+ <td><input type="text" name="id" placeholder="Leave empty for a random ID"
+ maxlength="<?= FILE_CUSTOM_ID_LENGTH ?>">
+ </td>
+ </tr>
+ <?php endif; ?>
<tr>
<th>Title:</th>
<td>