diff options
| author | ilotterytea <iltsu@alright.party> | 2025-06-03 03:57:48 +0400 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-06-03 03:57:48 +0400 |
| commit | 05a716756dfd32f1d8401076e713356590ace1e2 (patch) | |
| tree | a4581f90faafda224443eb6868af8181a9b2bdf7 /lib/partials.php | |
| parent | 1bbbfdbcfc5238267c6a713e64bf1fe3d36d9eff (diff) | |
feat: 'I'm feeling lucky' button
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php index e9b2263..489acae 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -15,6 +15,11 @@ function html_big_navbar() <a href="/"> <button>Home</button> </a> + <?php if (FILE_CATALOG_RANDOM): ?> + <a href="/?random"> + <button>I'm Feeling Lucky</button> + </a> + <?php endif; ?> <a href="/uploaders.php"> <button>Uploaders</button> </a> |
