blob: a23c05c84b7827856262c35a9e868ff5f65835b3 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{strip}
{minifind}
<ul class="list-inline navbar sortby">
<li>{biticon ipackage="icons" iname="go-next" iexplain="sort by"}</li>
<li>{smartlink ititle="Created" isort="created" numPages=$gContent->mInfo.num_pages gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount}</li>
<li>{smartlink ititle="Last Modified" isort="last_modified" numPages=$gContent->mInfo.num_pages gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount}</li>
<li>{smartlink ititle="File Type" isort="file_type" numPages=$gContent->mInfo.num_pages gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount}</li>
<li>{smartlink ititle="File Size" isort="size" numPages=$gContent->mInfo.num_pages gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount}</li>
</ul>
<table class="clear data">
<caption>{tr}Downloadable Files{/tr}</caption>
<tr>
<th width="1%"> </th>
<th width="49%">
{smartlink ititle="Title" isort="title" gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount} and
{smartlink ititle="Filename" isort="filename" gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount}
</th>
<th width="50%">Date and Details</th>
</tr>
{section name=ix loop=$gContent->mItems}
<tr class="{cycle values='odd,even'}">
{assign var=item_id value=$gContent->mItems[ix]->mImageId}
<td>
<a href="{$smarty.const.BIT_ROOT_URL}{$gContent->mItems[ix]->mStorage.$item_id.storage_file}">
<img class="thumb" src="{$gContent->mItems[ix]->getThumbnailUri()}" alt="{$gContent->mItems[ix]->getTitle()|escape|default:'image'}" />
</a>
</td>
<td>
{if $gBitSystem->isFeatureActive( 'fisheye_gallery_list_image_titles' )}
<h2>{$gContent->mItems[ix]->getTitle()|escape}</h2>
{/if}
<a href="{$smarty.const.BIT_ROOT_URL}{$gContent->mItems[ix]->mStorage.$item_id.storage_file}">
{$gContent->mItems[ix]->mStorage.$item_id.filename}
</a>
</td>
<td>
{$gContent->mItems[ix]->mInfo.data}
<br />
{tr}Created{/tr}: {$gContent->mItems[ix]->mInfo.created|bit_short_datetime} by {displayname login=$gContent->mItems[ix]->mInfo.creator_user real_name=$gContent->mItems[ix]->mInfo.creator_real_name}
<br />
Last Modified: {$gContent->mItems[ix]->mInfo.last_modified|bit_short_datetime} by {displayname login=$gContent->mItems[ix]->mInfo.modifier_user real_name=$gContent->mItems[ix]->mInfo.modifier_real_name}
<br />
File Type {$gContent->mItems[ix]->mStorage.$item_id.mime_type}
<br />
Size {$gContent->mItems[ix]->mStorage.$item_id.size|display_bytes}
</td>
<tr>
{sectionelse}
<li class="norecords">{tr}This gallery is empty{/tr}. <a href="{$smarty.const.FISHEYE_PKG_URL}upload.php?gallery_id={$gContent->mGalleryId}">Upload pictures!</a></li>
{/section}
</table>
{/strip}
|