2012-09-01 19:08:08 +00:00
|
|
|
{if !$display_method}
|
2012-05-25 11:15:58 +00:00
|
|
|
{if !$playlists}
|
2012-12-27 15:16:44 +00:00
|
|
|
{$playlists=$cbvid->action->get_playlists()}
|
2012-05-25 11:15:58 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
2012-05-19 13:42:45 +00:00
|
|
|
<!-- Video BLock {$video.videoid} -->
|
|
|
|
{$videolink=videoLink($video)}
|
|
|
|
<div class="{$video.videoid}-video {$video.videoid} video-box">
|
|
|
|
<div class="video-thumb relative">
|
2012-12-27 15:16:44 +00:00
|
|
|
|
|
|
|
{if has_access('video_moderation')}
|
|
|
|
<div class="video-badge">
|
|
|
|
|
|
|
|
<span class="label
|
|
|
|
{if $video.active=='yes'}label-success{else}label-important{/if}"
|
|
|
|
id="video-active-{$video.videoid}">
|
|
|
|
{if $video.active=='yes'}Active{else}Inactive{/if}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
2012-09-05 10:17:07 +00:00
|
|
|
<a href="{$videolink}"><img src="{getThumb vdetails=$video size='160x120'}" {ANCHOR place="video_thumb" data=$video} /></a>
|
2012-12-27 15:16:44 +00:00
|
|
|
|
|
|
|
{if $video.duration > 0}
|
2012-05-19 13:42:45 +00:00
|
|
|
<span class="duration">{$video.duration|duration}</span>
|
2012-12-27 15:16:44 +00:00
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="dropdown absolute video-options ">
|
|
|
|
|
|
|
|
|
|
|
|
{$video_menu=get_video_menu($video)}
|
2012-05-25 11:15:58 +00:00
|
|
|
|
2012-12-27 15:16:44 +00:00
|
|
|
{if $video_menu}
|
|
|
|
<a class="btn dropdown-toggle"
|
|
|
|
data-toggle="dropdown"><i class=" icon-chevron-down"></i>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu" style="right: 0; left: auto;" id="video-menu-{$video.videoid}">
|
|
|
|
{foreach $video_menu as $menu_category}
|
|
|
|
{if $menu_category@iteration > 1}
|
|
|
|
<li class="divider"></li>
|
|
|
|
{/if}
|
|
|
|
{foreach $menu_category as $key=>$menu}
|
|
|
|
<li{if $menu.li_style} style="{$menu.li_style}"{/if} data-key="{$key}">
|
|
|
|
<a href="{$menu.href}" {if $menu.onclick}
|
|
|
|
onclick="{$menu.onclick}"
|
|
|
|
{/if}>{$menu.title}</a>
|
|
|
|
</li>
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
2012-05-19 13:42:45 +00:00
|
|
|
</div>
|
2012-12-27 15:16:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div class="video-info-cont relative muted">
|
|
|
|
<div class="title"><a href="{$videolink}">{$video.title|truncate:60:''}</a></div>
|
2012-05-19 13:42:45 +00:00
|
|
|
<div class="video-info absolute bottom">
|
|
|
|
<span class="user pull-left">{$video.username}</span>
|
|
|
|
<span class="user pull-right">{$video.date_added|niceTime}</span>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-09-01 19:08:08 +00:00
|
|
|
{/if}
|
2012-05-19 13:42:45 +00:00
|
|
|
|
2012-09-01 19:08:08 +00:00
|
|
|
{if $display_method == 'index_sidebar'}
|
|
|
|
<div class="video-index-sidebar">
|
|
|
|
<a href="{videoLink vdetails=$video}" class="block height100" style="overflow: hidden;">
|
|
|
|
<img src="{get_thumb vdetails=$video num='big'}" width="300" class="valignMid" />
|
|
|
|
</a>
|
|
|
|
<div class="height5"></div>
|
|
|
|
<a href="{videoLink vdetails=$video}" class="inlineblock"><h5>{$video.title|truncate:35}</h5></a>
|
|
|
|
<span class="pull-right font_12" style="color:#999">{$video.duration|setTime}</span>
|
|
|
|
</div>
|
|
|
|
<div class="height20"></div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_method == 'index_videos'}
|
|
|
|
<a href="{videoLink vdetails=$video}" id="video-lastest-{$video.videoid}" class="pull-left index-middle-videos video-box">
|
|
|
|
<div class="height100 block overflow-hidden relative video-thumb">
|
|
|
|
<img src="{getThumb vdetails=$video}" />
|
|
|
|
<span class="duration">{$video.duration|setTime}</span>
|
|
|
|
</div>
|
|
|
|
<div class="height5"></div>
|
|
|
|
<p class="font_12">{$video.title|truncate:50}</p>
|
|
|
|
</a>
|
Fixed : Mass Recreation of photos
Fixed : Uploading/Making/Changing user avatar will also update collection cover to current one
Fixed : $crop variable to $cropping in generate_photos. In resizer.class.php we are using $cropping
Added : New cropping case, 10. Read it's example to understand what it does
Added : Documentation for few function in functions_photos.php
Added : new function called display_user_custom_background in functions_users.php
Added : Custom Dimensions for photos in startup.php. Now these will also be produced, 75x75,100x100,150x150,240,320,500,640,800,1024
Updated : default.css
Added : new display_method in blocks/video.html
Added : Change background form
Fixed : photo embed code
2012-09-26 12:35:05 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_method == 'view_channel'}
|
Updated : upgrade_3.0.sql
Updated : edit_account.php, Now when avatar is set it redirects to user profile
Updated : EXIF Data url
Updated : queryString function regex. Old one was removing complete query string
Updated : display_manager_links(), now all variables except omo are removed from url
Added : Make profile link for photos @startup.php
Added : return_object_order in template_functions.php, This returns the order of provided omo value
Updated : Order checking @manage_collections.php and @manage_photos.php. Now only return_object_order is used
Updated : Updating of photo when it is uploaded
Updated : photo.html, single_feed.html, single_feed_comment.html, photo_form.html, user.html, video.html, /view_channel/feed.html, manage_photos.html, view_channel.html
Added : user_contacts.html, user_photos.html and user_videos.html
Added : autoComplete parameter for photo tagging
Updated : default.css, feeds.css and view_channel.css
Updated : user_contacts.php
Added : Next and Previous photos links @view_item.php
Fixed : Avatar Delete
Fixed : getProfileItem method of $userquery
2012-12-04 13:27:13 +00:00
|
|
|
<div class="user-video-block popover-class" rel="popover" data-title="{$video.title}" data-content="{$video.description|truncate:100} <div class='popover-footer'> {name($video)} <div class='pull-right'>{$video.views|number_format} {lang code='views'}</div> </div>" data-placement="left" data-trigger="hover" data-delay="500">
|
|
|
|
<a href="{videoLink vdetails=$video}">
|
2012-12-27 15:16:44 +00:00
|
|
|
<div class="user-video-thumb">
|
|
|
|
<img src="{getThumb vdetails=$video}" class="cbv3-center-image" />
|
|
|
|
<span class="duration">{$video.duration|setTime}</span>
|
|
|
|
</div>
|
Updated : upgrade_3.0.sql
Updated : edit_account.php, Now when avatar is set it redirects to user profile
Updated : EXIF Data url
Updated : queryString function regex. Old one was removing complete query string
Updated : display_manager_links(), now all variables except omo are removed from url
Added : Make profile link for photos @startup.php
Added : return_object_order in template_functions.php, This returns the order of provided omo value
Updated : Order checking @manage_collections.php and @manage_photos.php. Now only return_object_order is used
Updated : Updating of photo when it is uploaded
Updated : photo.html, single_feed.html, single_feed_comment.html, photo_form.html, user.html, video.html, /view_channel/feed.html, manage_photos.html, view_channel.html
Added : user_contacts.html, user_photos.html and user_videos.html
Added : autoComplete parameter for photo tagging
Updated : default.css, feeds.css and view_channel.css
Updated : user_contacts.php
Added : Next and Previous photos links @view_item.php
Fixed : Avatar Delete
Fixed : getProfileItem method of $userquery
2012-12-04 13:27:13 +00:00
|
|
|
</a>
|
2012-11-27 11:56:45 +00:00
|
|
|
</div>
|
2012-09-01 19:08:08 +00:00
|
|
|
{/if}
|