|
|
{* $Id$ *}
|
|
|
{if $cant > 0}
|
|
|
<div class="table-responsive">
|
|
|
<table class="table table-striped table-hover">
|
|
|
<tr>
|
|
|
<th width="100"> </th>
|
|
|
<th width="150"><a href="tiki-list_kaltura_entries.php?list={$entryType}&offset={$offset}&sort_mode={if $sort_mode eq '-name'}asc_name{else}desc_name{/if}">{tr}Name{/tr}</a></th>
|
|
|
<th width="100"><a href="tiki-list_kaltura_entries.php?list={$entryType}&offset={$offset}&sort_mode={if $sort_mode eq '-created_at'}asc_createdAt{else}desc_createdAt{/if}">{tr}Created{/tr}</a></th>
|
|
|
<th>{tr}Added by{/tr}</th>
|
|
|
<th>{tr}Tags{/tr}</th>
|
|
|
<th width="50"><a href='#'{popup fullhtml="1" text=$smarty.capture.other_sorts} title="{tr}Other Sorts{/tr}">{icon name='list' alt="{tr}Other Sorts{/tr}"}</a></th>
|
|
|
</tr>
|
|
|
{foreach from=$klist key=key item=item}
|
|
|
{if $item->id ne ''}
|
|
|
<tr{if ($key % 2)} class="odd"{else} class="even"{/if}>
|
|
|
{include file='tiki-list_kaltura_entries_actions.tpl'}
|
|
|
{include file='tiki-list_kaltura_entries_add_info.tpl'}
|
|
|
|
|
|
<td class="text">{if $tiki_p_view_videos eq 'y'}<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}" title="{tr}View{/tr}">{/if}<img class="athumb" src="{$item->thumbnailUrl}" alt="{$item->description}" height="80" width="120" />{if $tiki_p_view_videos eq 'y'}</a>{/if}</td>
|
|
|
<td class="text">{if $tiki_p_view_videos eq 'y'}<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}" title="{tr}View{/tr}">{/if}{$item->name}{if $tiki_p_view_videos eq 'y'}</a>{/if}</td>
|
|
|
<td class="date">{$item->createdAt|tiki_short_datetime}</td>
|
|
|
<td class="text">{$item->userId}</td>
|
|
|
<td class="text">{$item->tags}</td>
|
|
|
<td class="action">
|
|
|
<a href="#" class="tips" title="{tr}Information{/tr}" {popup delay="0|4000" fullhtml="1" text=$smarty.capture.add_info left=true}>
|
|
|
{icon name='information'}
|
|
|
</a>
|
|
|
<a href="#" class="tips" title="{tr}Actions{/tr}" {popup fullhtml="1" text=$smarty.capture.actions}>
|
|
|
{icon name='wrench'}
|
|
|
</a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
{/if}
|
|
|
{/foreach}
|
|
|
</table>
|
|
|
</div>
|
|
|
{else}
|
|
|
{remarksbox type="info" title="{tr}No entries{/tr}"}
|
|
|
{tr}No media entries found.{/tr} <a href="tiki-kaltura_upload.php" class="alert-link">{tr}Click here{/tr}</a> {tr}to upload.{/tr}{/remarksbox}
|
|
|
{/if}
|