diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2009-01-10 07:58:31 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2009-01-10 07:58:31 +0000 |
| commit | d7af684d538cf496b86318c006237a40a8fbda10 (patch) | |
| tree | c7988b4983ed77e2d0b692945ae83e1bb34bbf87 /templates/admin_liberty.tpl | |
| parent | 1ab66ddc63c7c34761abb08ae8b5de1ffacc0c1a (diff) | |
| download | liberty-d7af684d538cf496b86318c006237a40a8fbda10.tar.gz liberty-d7af684d538cf496b86318c006237a40a8fbda10.tar.bz2 liberty-d7af684d538cf496b86318c006237a40a8fbda10.zip | |
make use of get_image_sizes function, add option to set default liberty image view size and option to display original image - perhaps these settings could be merged with the ones in fish that we have global image settings
Diffstat (limited to 'templates/admin_liberty.tpl')
| -rw-r--r-- | templates/admin_liberty.tpl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl index 2094610..58052ec 100644 --- a/templates/admin_liberty.tpl +++ b/templates/admin_liberty.tpl @@ -16,7 +16,7 @@ <div class="row"> {formlabel label="Auto-Display Attachment Thumbnails" for="liberty_auto_display_attachment_thumbs"} {forminput} - {html_options options=$thumbSizes name="liberty_auto_display_attachment_thumbs" id="liberty_auto_display_attachment_thumbs" selected=$gBitSystem->getConfig('liberty_auto_display_attachment_thumbs')} + {html_options options=$imageSizes name="liberty_auto_display_attachment_thumbs" id="liberty_auto_display_attachment_thumbs" selected=$gBitSystem->getConfig('liberty_auto_display_attachment_thumbs')} {formhelp note='This will automatically display thumbnails of all attachments of a given page (usually in the top right corner of the page). You can still display the items inline as well.' page=''} {/forminput} </div> @@ -129,6 +129,14 @@ {formhelp note="Every image-type has its pros and cons: jpgs are usually small in size but don't support transparency, gif transparency is limited and pngs can be large. If you let bitweaver select what format to use, we will do our best to pick a sensible filetype based on the format uploaded."} {/forminput} </div> + + <div class="row"> + {formlabel label="Thumbnail Size" for="liberty_thumbnail_size"} + {forminput} + {html_options options=$imageSizes name="liberty_thumbnail_size" id="liberty_thumbnail_size" selected=$gBitSystem->getConfig('liberty_thumbnail_size')|default:medium} + {formhelp note='Set the default thumbnail size when viewing image details.'} + {/forminput} + </div> {/legend} {/jstab} {/jstabs} |
