diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-05 10:54:56 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-05 10:54:56 +0100 |
| commit | 62468a5703b25eb1f031428484523f958f170ea5 (patch) | |
| tree | 0e4d0b4a690b4b66e7d243b5e22d180887fa8f83 /gallery_views | |
| parent | 97d26b179f09724a367b5cc0a736961b1d83ebcd (diff) | |
| download | fisheye-62468a5703b25eb1f031428484523f958f170ea5.tar.gz fisheye-62468a5703b25eb1f031428484523f958f170ea5.tar.bz2 fisheye-62468a5703b25eb1f031428484523f958f170ea5.zip | |
Few minor defaults for php8.4
Diffstat (limited to 'gallery_views')
| -rwxr-xr-x | gallery_views/fixed_grid/fisheye_fixed_grid_inc2.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_views/fixed_grid/fisheye_fixed_grid_inc2.tpl b/gallery_views/fixed_grid/fisheye_fixed_grid_inc2.tpl index 1452f99..da2daa7 100755 --- a/gallery_views/fixed_grid/fisheye_fixed_grid_inc2.tpl +++ b/gallery_views/fixed_grid/fisheye_fixed_grid_inc2.tpl @@ -6,7 +6,7 @@ <h1>{$gContent->getTitle()|escape}</h1> </div> - {pagination gallery_id=$gContent->mGalleryId} + {pagination gallery_id=$gContent->mGalleryId ?? 0} <div class="body"> {if !empty($fisheyeSuccess) || !empty($fisheyeErrors) || !empty($fisheyeWarnings) } @@ -37,7 +37,7 @@ {/if} {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$galItem->mInfo type=mini} {if $gBitSystem->isFeatureActive( 'fisheye_gallery_list_image_descriptions' )} - <p>{$galItem->mInfo.data|escape}</p> + <p>{$galItem->mInfo.data|truncate:200:"..."|escape}</p> {/if} {/box} </td> <!-- End Image Cell --> @@ -48,7 +48,7 @@ {/if} {foreachelse} - <tr><td class="norecords">{tr}This gallery is empty{/tr}. <a href="{$smarty.const.FISHEYE_PKG_URL}upload.php?gallery_id={$gGallery->mGalleryId}">Upload pictures!</a></td></tr> + <tr><td class="norecords">{tr}This gallery is empty{/tr}. <a href="{$smarty.const.FISHEYE_PKG_URL}upload.php?gallery_id={$gGallery->mGalleryId ?? 0}">Upload pictures!</a></td></tr> {/foreach} {if $imageCount % $cols_per_page != 0}</tr>{/if} |
