blob: 81eb27de3e2e2bc47ed37a6b842750b41604ea01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{strip}
{if $gBitSystem->isPackageActive( 'fisheye' ) && $modImages}
{bitmodule title="$moduleTitle" name="fisheye_images"}
<ul class="list-unstyled">
{foreach from=$modImages item=modImg}
<li class="{cycle values='odd,even'} item">
<a href="{$modImg.display_url}" title="{$modImg.title|escape} - {$modImg.last_modified|bit_short_datetime}, by {displayname user=$modImg.modifier_user real_name=$modImg.modifier_real_name nolink=1}{if (strlen($modImg.title) > $maxlen) && ($maxlen > 0)}, {$modImg.title|escape}{/if}">
<img src="{$modImg.thumbnail_url}" title="{$modImg.title|escape}" alt="{$modImg.title|escape}" />
{if !$modImg.has_machine_name}
<br />
{if $maxlen gt 0}
{$modImg.title|escape|truncate:$maxlen:"...":true}
{else}
{$modImg.title|escape}
{/if}
{/if}
</a>
{if $module_params.description}
<br />
{if $maxlendesc gt 0}
{$modImg.data|escape|truncate:$maxlendesc:"...":true}
{else}
{$modImg.data|escape}
{/if}
{/if}
{if !$userGallery}
<br/>{tr}By{/tr} {displayname hash=$modImg}
{/if}
</li>
{foreachelse}
<li></li>
{/foreach}
</ul>
{if $userGallery}
<a href="{$smarty.const.FISHEYE_PKG_URL}index.php?user_id={$userGallery}">{tr}See more...{/tr}</a>
{/if}
{/bitmodule}
{/if}
{/strip}
|