+
doNotDisplayViews)) {
if (AVideoPlugin::isEnabledByName('LiveUsers')) {
echo getLiveUsersLabelVideo($value['id'], $value['views_count'], "", "");
} else {
?>
Description)) {
//$desc = str_replace(array('"', "'", "#", "/", "\\"), array('``', "`", "", "", ""), preg_replace("/\r|\n/", " ", nl2br(trim($value['description']))));
$desc = nl2br(trim($value['description']));
if (!empty($desc)) {
$duid = uniqid();
$titleAlert = str_replace(array('"', "'"), array('``', "`"), $value['title']);
?>
uploadButtonDropdownText) ? $advancedCustom->uploadButtonDropdownText : ""; ?>
1) {
if ($countCols % $obj->screenColsLarge === 0) {
echo "
";
}
if ($countCols % $obj->screenColsMedium === 0) {
echo "
";
}
if ($countCols % $obj->screenColsSmall === 0) {
echo "
";
}
if ($countCols % $obj->screenColsXSmall === 0) {
echo "
';
}
$countCols++;
if (!empty($screenColsLarge)) {
$obj->screenColsLarge = $screenColsLarge;
}
if (!empty($screenColsMedium)) {
$obj->screenColsMedium = $screenColsMedium;
}
if (!empty($screenColsSmall)) {
$obj->screenColsSmall = $screenColsSmall;
}
if (!empty($screenColsXSmall)) {
$obj->screenColsXSmall = $screenColsXSmall;
}
$colsClass = "col-lg-" . (12 / $obj->screenColsLarge) . " col-md-" . (12 / $obj->screenColsMedium) . " col-sm-" . (12 / $obj->screenColsSmall) . " col-xs-" . (12 / $obj->screenColsXSmall);
if (!empty($video['className'])) {
$colsClass .= " {$video['className']}";
}
$liveNow = '
-
+
-
+
Description)) {
$desc = str_replace(array('"', "'", "#", "/", "\\"), array('``', "`", "", "", ""), preg_replace("/\r|\n/", " ", nl2br(trim($video['description']))));
if (!empty($desc)) {
$titleAlert = str_replace(array('"', "'"), array('``', "`"), $video['title']);
?>
1) {
if ($countCols % $obj->screenColsLarge === 0) {
echo "
";
}
if ($countCols % $obj->screenColsMedium === 0) {
echo "
";
}
if ($countCols % $obj->screenColsSmall === 0) {
echo "
";
}
if ($countCols % $obj->screenColsXSmall === 0) {
echo "
";
}
}
}
?>
';
}
unset($_POST['disableAddTo']);
return $countCols;
}
function createChannelItem($users_id, $photoURL = "", $identification = "", $rowCount = 12) {
$total = Video::getTotalVideos("viewable", $users_id);
if (empty($total)) {
return false;
}
if (empty($photoURL)) {
$photoURL = User::getPhoto($users_id);
}
if (empty($identification)) {
$identification = User::getNameIdentificationById($users_id);
}
?>
";
$countCols = createGallerySection($videos, "", array(), false, $screenColsLarge, $screenColsMedium, $screenColsSmall, $screenColsXSmall);
echo "
";
return $countCols;
}
function canPrintCategoryTitle($title) {
global $doNotRepeatCategoryTitle;
if (!isset($doNotRepeatCategoryTitle)) {
$doNotRepeatCategoryTitle = array();
}
if (in_array($title, $doNotRepeatCategoryTitle)) {
return false;
}
$doNotRepeatCategoryTitle[] = $title;
return true;
}
?>
diff --git a/plugin/Gallery/style.css b/plugin/Gallery/style.css
index e674d875b..b9aaa2e05 100644
--- a/plugin/Gallery/style.css
+++ b/plugin/Gallery/style.css
@@ -1,209 +1,212 @@
.gallery .duration {
position: absolute;
background: rgba(0, 0, 0, 0.6)!important;
padding: 3px;
color: #FFF;
top: 5px;
left: 25px;
font-size: 0.9em;
border-radius: 5px;
}
-.gallery h2,
+.gallery .title,
.videosDetails .title {
font-size: 1em;
margin: 0;
padding: 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
line-height: 16px; /* fallback */
max-height: 32px; /* fallback */
min-height: 32px; /* fallback */
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
}
.gallery .watch-view-count {
font-size: 0.8em;
font-weight: normal;
border: 0;
margin: 0;
padding: 0;
}
.galleryVideo .group {
overflow: hidden;
text-overflow: ellipsis;
}
.mainArea{
padding: 15px;
}
h3.galleryTitle{
padding: 15px 5px;
}
.aspectRatio16_9 {
position: relative;
display: block;
width: 100%;
height: 0;
padding-bottom: 56.25%;
overflow: hidden;
}
.aspectRatio16_9 img{
text-indent:-9999px;
width: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
.thumbsGIF{
text-indent:-9999px;
width: 100%;
margin-left: auto;
margin-right: auto;
}
.firstRow{
margin-bottom: 10px;
padding-bottom: 25px;
border-bottom: solid 1px #EEE;
}
+.galeryDetails{
+ font-size: smaller;
+}
+
.galeryDetails div{
float: left;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-right: 5px;
- font-size: 0.7em;
- margin: 1px;
+ margin: 2px 0;
}
.firstRow .galeryDetails div{
font-size: 1em;
}
.galeryDetails div.userName{
width: 100%;
}
.fixPadding{
padding: 0 5px;
}
.popover-content, .popover-content>div{
white-space: normal !important;
width: auto;
color: inherit !important;
}
.popover-content>div{
overflow-y: auto;
height: 140px;
}
.mainAreaDescription{
position:relative;
height:100%;
width: 110%;
padding-right: 10%;
overflow-x:hidden;
overflow-y:scroll;
max-height: 17vw;
}
.mainAreaDescriptionContainer{
position: relative;
overflow: hidden;
}
a.h6{
text-decoration: none !important;
}
.popover-title {
color: black;
font-size: 1em;
}
.popover-content{
color: black !important;
font-size: 0.8em;
}
.gallery .label{
border-radius: 0;
}
.gallery .label:first-child{
border-top-left-radius: 0.25em;
border-bottom-left-radius: 0.25em;
}
.gallery .label:last-child{
border-top-right-radius: 0.25em;
border-bottom-right-radius: 0.25em;
}
.galleryTitle a.btn-default:hover{
background-color: transparent;
}
.galeryRowElement .galleryVideo {
margin-bottom: 10px;
}
.galleryVideoButtons{
position: absolute;
right: 5px;
top: 5px;
z-index: 1025;
display: none;
}
.galleryVideo .galleryVideoButtons button{
opacity: 0.5;
}
.galleryVideo:hover .galleryVideoButtons{
display: block !important;
}
.galleryVideo .galleryVideoButtons button:hover{
opacity: 1;
}
.gallerySerieOverlay{
position: absolute;
left: 0;
top: 0;
z-index: 1020;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0);
color: rgba(0,0,0,0);
-webkit-box-align:center;
-webkit-box-pack:center;
display:-webkit-box;
font-weight: bold;
}
.gallerySerieOverlay:hover{
background-color: rgba(0,0,0,0.5);
color: #FFF;
}
.gallerySerieOverlayTotal{
position: absolute;
right: 0;
top: 0;
width: 25%;
height: 100%;
background-color: rgba(0,0,0,0.5);
color: #FFF;
-webkit-box-align:center;
-webkit-box-pack:center;
display:-webkit-box;
font-weight: bold;
}
.galleryTags .label{
display: table-cell;
font-size: 0.9em;
}
.galleryTags{
- margin: 1px;
+ margin: 0 !important;
}
\ No newline at end of file
diff --git a/plugin/Gallery/view/BigVideo.php b/plugin/Gallery/view/BigVideo.php
index 417e82e3f..608f68367 100644
--- a/plugin/Gallery/view/BigVideo.php
+++ b/plugin/Gallery/view/BigVideo.php
@@ -1,305 +1,305 @@
BigVideo && empty($_GET['showOnly'])) {
if (!empty($obj->useSuggestedVideosAsCarouselInBigVideo)) {
//getAllVideos($status = "viewable", $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $videosArrayId = array(), $getStatistcs = false, $showUnlisted = false, $activeUsersOnly = true)
//$videoRows = Video::getAllVideosLight("viewable", !$obj->hidePrivateVideos, false, true);
$_REQUEST['rowCount'] = 20;
$_REQUEST['current'] = 1;
$videoRows = Video::getAllVideos("viewable", false, !$obj->hidePrivateVideos, array(), false, false, true, true);
}
if (empty($videoRows)) {
$videoRows = array($video);
}
$class = '';
$classInner = '';
if (count($videoRows) > 1) {
$class = 'carousel slide';
$classInner = 'carousel-inner';
}
?>
1) {
?>
" style="border-color: #DDD;">
getName();
$videoRow['clean_category'] = $category->getClean_name();
$videoRow['iconClass'] = $category->getIconClass();
$videoRow['videoCreation'] = $videoRow['created'];
$name = User::getNameIdentificationById($videoRow['users_id']);
if (empty($get)) {
$get = array();
}
$bigVideoAd = getAdsLeaderBoardBigVideo();
$colClass1 = "col-sm-5";
$colClass2 = "col-sm-7";
$colClass3 = "";
if (!empty($bigVideoAd)) {
$colClass1 = "col-sm-4";
$colClass2 = "col-sm-8";
$colClass3 = "col-sm-6";
}
$isserie = Video::isSerie($videoRow['id']);
$isserieClass = "";
if ($isserie) {
$isserieClass = "isserie";
}
?>
">
-
-
+
+
doNotDisplayViews)) {
if (AVideoPlugin::isEnabledByName('LiveUsers')) {
echo getLiveUsersLabelVideo($videoRow['id'], $videoRow['views_count'], "", "");
} else {
?>
uploadButtonDropdownText) ? $advancedCustom->uploadButtonDropdownText : ""; ?>
doNotShowGoLiveButton) && User::canStream()) {
?>
" data-placement="bottom" >
0
diff --git a/plugin/LiveLinks/view/extraItem.html b/plugin/LiveLinks/view/extraItem.html
index e10ba3dd0..880ee7fe9 100644
--- a/plugin/LiveLinks/view/extraItem.html
+++ b/plugin/LiveLinks/view/extraItem.html
@@ -1,24 +1,22 @@