summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-24 17:22:09 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-24 17:22:09 +0100
commitb61dddb5aba46811056dedade397fb074e58c432 (patch)
treec3c0a5ffb42885f74f9aa93ac4f79eab959e9b7e /templates
parentd673d42771ba298851ad58dcf109946b0d983087 (diff)
downloadfisheye-b61dddb5aba46811056dedade397fb074e58c432.tar.gz
fisheye-b61dddb5aba46811056dedade397fb074e58c432.tar.bz2
fisheye-b61dddb5aba46811056dedade397fb074e58c432.zip
Add per-gallery show_description preference to all active gallery views
Galleries can now suppress their description text via a checkbox in the edit form (defaults to shown). All active view templates (galleriffic, fixed_grid, auto_flow, position_number, simple_list) respect the preference. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/edit_gallery.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl
index 309a9fe..06bfacd 100755
--- a/templates/edit_gallery.tpl
+++ b/templates/edit_gallery.tpl
@@ -51,6 +51,13 @@ document.addEventListener('DOMContentLoaded', updateGalleryPagination);
{/forminput}
</div>
+ <div class="form-group">
+ {forminput label="checkbox"}
+ <input type="checkbox" name="show_description" id="show_description" value="y" {if $gContent->getPreference('show_description') ne 'n'}checked="checked"{/if} />{tr}Show Description{/tr}
+ {formhelp note="Display the gallery description text below the gallery header."}
+ {/forminput}
+ </div>
+
{if $gBitUser->hasPermission('p_fisheye_create_public_gal')}
<div class="form-group">
{forminput label="checkbox"}