diff options
| author | ilotterytea <iltsu@alright.party> | 2025-06-19 17:23:25 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-06-19 17:23:25 +0500 |
| commit | b9b45c246343a2d4f61f09974edae2e9cb6ed93f (patch) | |
| tree | 30b983cdf82c4a27f0fc4f98da29c1faa3ee04b8 /public/index.php | |
| parent | 55cae38defd6e31f945dfc2e74ddd2d583b5a949 (diff) | |
feat: custom file IDs
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 8 |
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> |
