pre release issues fixed
This commit is contained in:
parent
833c9daf91
commit
23399a22ca
4 changed files with 14 additions and 5 deletions
|
@ -910,6 +910,7 @@ if(!empty($mode))
|
|||
case 'delete_comment':
|
||||
{
|
||||
$type = $_POST['type'];
|
||||
#pr($_POST,true);
|
||||
switch($type)
|
||||
{
|
||||
case 'v':
|
||||
|
@ -928,6 +929,13 @@ if(!empty($mode))
|
|||
$type_id = $myquery->delete_comment($cid);
|
||||
$userquery->update_comments_count($type_id);
|
||||
}
|
||||
case 'photo':
|
||||
case 'p':
|
||||
{
|
||||
$cid = mysql_clean($_POST['cid']);
|
||||
$type_id = $myquery->delete_comment($cid);
|
||||
$cbphoto->update_total_comments($type_id);
|
||||
}
|
||||
break;
|
||||
case 't':
|
||||
case 'topic':
|
||||
|
|
|
@ -5155,12 +5155,12 @@
|
|||
$_GET['time'] = 'all_time';
|
||||
|
||||
$array = array
|
||||
('most_recent' => lang('recent'),
|
||||
('view_all' => lang('All'),
|
||||
'most_recent' => lang('recent'),
|
||||
'most_viewed' => lang('viewed'),
|
||||
'featured' => lang('featured'),
|
||||
'top_rated' => lang('top_rated'),
|
||||
'most_commented' => lang('commented'),
|
||||
'view_all' => lang('All'),
|
||||
'most_commented' => lang('commented')
|
||||
);
|
||||
return $array;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<script src="{$cb_vjs_player_url}/js/video.dev.js"></script>
|
||||
<script src="{$cb_vjs_player_url}/js/cb_vjs_res.js"></script>
|
||||
|
||||
<video id="cb_video_js" class="video-js vjs-default-skin" width="{$width}" height="{$height}" poster="{getThumb vdetails=$vdata}" >
|
||||
<video id="cb_video_js" class="video-js vjs-default-skin" width="{$width}" height="{$height}" poster="{getThumb vdetails=$vdata size=500x283}" >
|
||||
{foreach $video_files as $file}
|
||||
{$quality = explode('-', $file)}
|
||||
{$quality = end($quality)}
|
||||
|
|
|
@ -110,7 +110,8 @@
|
|||
{$quality = explode('.',$quality.1)}
|
||||
{$file_quality = $quality.0}
|
||||
<li role="presentation">
|
||||
<a role="menuitem" tabindex="-1" href="{$file}" download>{$vdo.file_name}-{$file_quality} <span class="glyphicon glyphicon-download-alt"></span></a>
|
||||
<a role="menuitem" tabindex="-1" href="{$file}" download>
|
||||
<span class="glyphicon glyphicon-download-alt"></span>{$file_quality}</a>
|
||||
|
||||
</li>
|
||||
{/foreach}
|
||||
|
|
Loading…
Add table
Reference in a new issue