From bf7f71fe7da2545a8dbc64bdf874ebec0c85c3e1 Mon Sep 17 00:00:00 2001 From: lsces Date: Thu, 26 Mar 2026 16:52:06 +0000 Subject: Test files for new grid formats --- .../fixed_grid/fisheye_fixed_grid_test.tpl | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 gallery_views/fixed_grid/fisheye_fixed_grid_test.tpl (limited to 'gallery_views') diff --git a/gallery_views/fixed_grid/fisheye_fixed_grid_test.tpl b/gallery_views/fixed_grid/fisheye_fixed_grid_test.tpl new file mode 100755 index 0000000..650b4a3 --- /dev/null +++ b/gallery_views/fixed_grid/fisheye_fixed_grid_test.tpl @@ -0,0 +1,43 @@ +{strip} +
+ {if $gGallery->mGalleryId != 0} + + {counter assign="imageCount" start="0" print=false} + {assign var="max" value=100} + {assign var="tdWidth" value="4"} + {foreach from=$gGallery->mItems item=galItem key=itemContentId} + {if $imageCount % 4 == 0} + + {/if} + + + {counter} + + {if $imageCount % 4 == 0} + + {/if} + + {foreachelse} + + {/foreach} + + {if $imageCount % 4 != 0}{/if} +
+ {box class="box `$galItem->mInfo.content_type_guid`"} + + {$galItem->mInfo.title|escape|default:'image'} + + {if $gBitSystem->isFeatureActive( 'fisheye_gallery_list_image_titles' )} +

{$galItem->mInfo.title|escape}

+ {/if} + {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$galItem->mInfo type=mini} + {if $gBitSystem->isFeatureActive( 'fisheye_gallery_list_image_descriptions' )} +

{$galItem->mInfo.data|escape}

+ {/if} + {/box} +
{tr}This gallery is empty{/tr}. Upload pictures!
+ {else} + {tr}No gallery for this contact{/tr}. Create Contact Gallery! + {/if} +
+{/strip} -- cgit v1.3