mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update top menu and Main Social Media Integration in user profile
This commit is contained in:
parent
076bdf9433
commit
4bd92c49bb
11 changed files with 799 additions and 618 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -91,3 +91,4 @@ test.php
|
||||||
/.env
|
/.env
|
||||||
/plugin/User_Location/install/install.sql
|
/plugin/User_Location/install/install.sql
|
||||||
/plugin/PedagoFlix/
|
/plugin/PedagoFlix/
|
||||||
|
/plugin/YPTWebRTC/
|
||||||
|
|
|
@ -2961,7 +2961,8 @@ if (typeof gtag !== \"function\") {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getWebsite($users_id = '') {
|
|
||||||
|
public static function getSocialMediaURL($socialMedia, $users_id = '') {
|
||||||
global $config;
|
global $config;
|
||||||
$obj = AVideoPlugin::getObjectDataIfEnabled("CustomizeUser");
|
$obj = AVideoPlugin::getObjectDataIfEnabled("CustomizeUser");
|
||||||
if (empty($obj)) {
|
if (empty($obj)) {
|
||||||
|
@ -2971,10 +2972,14 @@ if (typeof gtag !== \"function\") {
|
||||||
$users_id = User::getId();
|
$users_id = User::getId();
|
||||||
}
|
}
|
||||||
$user = new User($users_id);
|
$user = new User($users_id);
|
||||||
$value = $user->getExternalOptions('userWebsite');
|
$value = $user->getExternalOptions($socialMedia);
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function getWebsite($users_id = '') {
|
||||||
|
return self::getSocialMediaURL('website', $users_id);
|
||||||
|
}
|
||||||
|
|
||||||
public static function setProfilePassword($users_id, $value) {
|
public static function setProfilePassword($users_id, $value) {
|
||||||
$obj = AVideoPlugin::getObjectDataIfEnabled("CustomizeUser");
|
$obj = AVideoPlugin::getObjectDataIfEnabled("CustomizeUser");
|
||||||
if (empty($obj) || !User::isAdmin()) {
|
if (empty($obj) || !User::isAdmin()) {
|
||||||
|
|
|
@ -13,6 +13,49 @@ require_once $global['systemRootPath'] . 'plugin/CustomizeUser/Objects/Users_aff
|
||||||
class CustomizeUser extends PluginAbstract
|
class CustomizeUser extends PluginAbstract
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public static function getSocialMedia()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'website' => [
|
||||||
|
'class'=>'icoCopy',
|
||||||
|
'icon' => 'fas fa-globe',
|
||||||
|
'label' => __("Website"),
|
||||||
|
'placeholder' => __("Website URL"),
|
||||||
|
'isActive' => User::canUpload(),
|
||||||
|
],
|
||||||
|
'facebook' => [
|
||||||
|
'class'=>'icoFacebook',
|
||||||
|
'icon' => 'fab fa-facebook-f',
|
||||||
|
'label' => __("Facebook"),
|
||||||
|
'placeholder' => __("Facebook URL"),
|
||||||
|
'isActive' => true,
|
||||||
|
],
|
||||||
|
'twitter' => [
|
||||||
|
'class'=>'icoTwitter',
|
||||||
|
'icon' => 'fab fa-twitter',
|
||||||
|
'label' => __("Twitter"),
|
||||||
|
'placeholder' => __("Twitter URL"),
|
||||||
|
'isActive' => true,
|
||||||
|
],
|
||||||
|
'instagram' => [
|
||||||
|
'class'=>'icoInstagram',
|
||||||
|
'icon' => 'fab fa-instagram',
|
||||||
|
'label' => __("Instagram"),
|
||||||
|
'placeholder' => __("Instagram URL"),
|
||||||
|
'isActive' => true,
|
||||||
|
],
|
||||||
|
'linkedin' => [
|
||||||
|
'class'=>'icoLinkedIn',
|
||||||
|
'icon' => 'fab fa-linkedin-in',
|
||||||
|
'label' => __("LinkedIn"),
|
||||||
|
'placeholder' => __("LinkedIn URL"),
|
||||||
|
'isActive' => true,
|
||||||
|
]
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function getTags()
|
public function getTags()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -1,41 +1,58 @@
|
||||||
<?php
|
<?php
|
||||||
if (User::canUpload()) {
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
foreach (CustomizeUser::getSocialMedia() as $platform => $details) {
|
||||||
|
if (empty($details['isActive'])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-4 control-label">
|
<label class="col-md-4 control-label">
|
||||||
<?php echo __("Website"); ?>
|
<?php echo $details['label']; ?>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-8 inputGroupContainer">
|
<div class="col-md-8 inputGroupContainer">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon"><i class="fas fa-globe"></i></span>
|
<span class="input-group-addon"><i class="<?php echo $details['icon']; ?>"></i></span>
|
||||||
<input id="userWebsite" placeholder="<?php echo __("Website"); ?>" class="form-control" type="url" value="<?php echo User::getWebsite(); ?>">
|
<input id="user<?php echo ucfirst($platform); ?>" platform="<?php echo $platform; ?>" placeholder="<?php echo $details['placeholder']; ?>" class="form-control CustomizeUserSocialMedia" type="url" value="<?php echo User::getSocialMediaURL($platform); ?>">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<?php
|
||||||
$(document).ready(function () {
|
|
||||||
$('#userWebsite').change(function (e) {
|
|
||||||
saveUserSite();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
function saveUserSite() {
|
|
||||||
var userWebsite = $('#userWebsite').val();
|
|
||||||
if(empty(userWebsite) || validURL(userWebsite)){
|
|
||||||
modal.showPleaseWait();
|
|
||||||
$.ajax({
|
|
||||||
url: webSiteRootURL + 'plugin/CustomizeUser/getMyAccount.save.json.php',
|
|
||||||
data: {userWebsite: userWebsite},
|
|
||||||
type: 'post',
|
|
||||||
success: function (response) {
|
|
||||||
avideoResponse(response);
|
|
||||||
modal.hidePleaseWait();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
var saveTimeout;
|
||||||
|
|
||||||
|
$('.CustomizeUserSocialMedia').on('change keyup', function(e) {
|
||||||
|
clearTimeout(saveTimeout); // Clear the existing timeout
|
||||||
|
|
||||||
|
var platform = $(this).attr('platform');
|
||||||
|
var value = $(this).val();
|
||||||
|
|
||||||
|
saveTimeout = setTimeout(function() {
|
||||||
|
saveUserURL(platform, value);
|
||||||
|
}, 500);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
function saveUserURL(platform, val) {
|
||||||
|
if (empty(val) || validURL(val)) {
|
||||||
|
modal.showPleaseWait();
|
||||||
|
$.ajax({
|
||||||
|
url: webSiteRootURL + 'plugin/CustomizeUser/getMyAccount.save.json.php',
|
||||||
|
data: {
|
||||||
|
platform: platform,
|
||||||
|
val: val
|
||||||
|
},
|
||||||
|
type: 'post',
|
||||||
|
success: function(response) {
|
||||||
|
avideoResponse(response);
|
||||||
|
modal.hidePleaseWait();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
|
@ -5,22 +5,41 @@ header('Content-Type: application/json');
|
||||||
$obj = new stdClass();
|
$obj = new stdClass();
|
||||||
$obj->error = true;
|
$obj->error = true;
|
||||||
$obj->msg = "";
|
$obj->msg = "";
|
||||||
if(!User::canUpload()){
|
|
||||||
$obj->msg = "Cannot Upload";
|
if(empty($_REQUEST['platform'])){
|
||||||
|
$obj->msg = "Platform is empty";
|
||||||
die(json_encode($obj));
|
die(json_encode($obj));
|
||||||
}
|
}
|
||||||
|
|
||||||
$userWebsite = preg_replace('/[^a-z0-9_\/@.:?&=;%-]/i', '', @$_POST['userWebsite']);
|
$platform = array();
|
||||||
|
|
||||||
if(!empty($userWebsite) && !isValidURL($userWebsite)){
|
foreach (CustomizeUser::getSocialMedia() as $key => $value) {
|
||||||
$obj->msg = "User Site is invalid {$_POST['userWebsite']} = {$userWebsite}";
|
if($_REQUEST['platform'] === $key){
|
||||||
|
$platform = $value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(empty($platform)){
|
||||||
|
$obj->msg = "Platform {$_REQUEST['platform']} not found";
|
||||||
|
die(json_encode($obj));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(empty($platform['isActive'])){
|
||||||
|
$obj->msg = "Platform is not active";
|
||||||
|
die(json_encode($obj));
|
||||||
|
}
|
||||||
|
|
||||||
|
$url = preg_replace('/[^a-z0-9_\/@.:?&=;%-]/i', '', @$_POST['val']);
|
||||||
|
|
||||||
|
if(!empty($url) && !isValidURL($url)){
|
||||||
|
$obj->msg = "URL is invalid {$_POST['url']} = {$url}";
|
||||||
die(json_encode($obj));
|
die(json_encode($obj));
|
||||||
}
|
}
|
||||||
|
|
||||||
$cobj = AVideoPlugin::getObjectData("CustomizeUser");
|
$cobj = AVideoPlugin::getObjectData("CustomizeUser");
|
||||||
|
|
||||||
$user = new User(User::getId());
|
$user = new User(User::getId());
|
||||||
$obj->added = $user->addExternalOptions('userWebsite', $userWebsite);
|
$obj->added = $user->addExternalOptions($_REQUEST['platform'], $url);
|
||||||
|
|
||||||
$obj->error = empty($obj->added);
|
$obj->error = empty($obj->added);
|
||||||
|
|
||||||
|
|
|
@ -5,52 +5,87 @@ $configFile = $global['systemRootPath'] . 'videos/configuration.php';
|
||||||
require_once $configFile;
|
require_once $configFile;
|
||||||
require_once $global['systemRootPath'] . 'plugin/TopMenu/Objects/Menu.php';
|
require_once $global['systemRootPath'] . 'plugin/TopMenu/Objects/Menu.php';
|
||||||
require_once $global['systemRootPath'] . 'plugin/TopMenu/Objects/MenuItem.php';
|
require_once $global['systemRootPath'] . 'plugin/TopMenu/Objects/MenuItem.php';
|
||||||
|
$objTopMenu = AVideoPlugin::getDataObject('TopMenu');
|
||||||
$menu = Menu::getAllActive(Menu::$typeTopMenu);
|
$menu = Menu::getAllActive(Menu::$typeTopMenu);
|
||||||
|
$dropdownClass = '';
|
||||||
?>
|
?>
|
||||||
<!-- right menu start -->
|
<!-- right menu start -->
|
||||||
<?php
|
<?php
|
||||||
foreach ($menu as $key => $value) {
|
if (count($menu) < $objTopMenu->compactMenuIfIsGreaterThen->value) {
|
||||||
?>
|
$dropdownClass = 'hidden-lg';
|
||||||
<li class="dropdown">
|
foreach ($menu as $key => $value) {
|
||||||
<a href="#" class=" btn btn-default btn-light navbar-btn" data-toggle="dropdown" data-toggle="tooltip" title="<?php echo $value['menuName']; ?>" data-placement="bottom" >
|
?>
|
||||||
<?php
|
<li class="dropdown visible-lg">
|
||||||
$hiddenClass = "hidden-md hidden-sm";
|
<a href="#" class=" btn btn-default btn-light navbar-btn" data-toggle="dropdown" data-toggle="tooltip" title="<?php echo $value['menuName']; ?>" data-placement="bottom">
|
||||||
if (!empty($value['icon'])) {
|
|
||||||
?>
|
|
||||||
<i class="<?php echo $value['icon'] ?>"></i>
|
|
||||||
<?php
|
<?php
|
||||||
$hiddenClass = "hidden-md hidden-sm hidden-mdx";
|
$hiddenClass = "hidden-md hidden-sm";
|
||||||
}
|
if (!empty($value['icon'])) {
|
||||||
?>
|
|
||||||
<span class="<?php echo $hiddenClass; ?>">
|
|
||||||
<?php echo __($value['menuName']); ?>
|
|
||||||
</span>
|
|
||||||
<b class="caret"></b>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu dropdown-menu-right" id="availableLive" style="">
|
|
||||||
<?php
|
|
||||||
$menuItems = MenuItem::getAllFromMenu($value['id'], true);
|
|
||||||
foreach ($menuItems as $key2 => $value2) {
|
|
||||||
?>
|
?>
|
||||||
<li style="margin-right: 0;">
|
<i class="<?php echo $value['icon'] ?>"></i>
|
||||||
<a href="<?php echo $value2['finalURL']; ?>" <?php echo $value2['target']; ?> >
|
<?php
|
||||||
<?php
|
$hiddenClass = "hidden-md hidden-sm hidden-mdx";
|
||||||
if (!empty($value2['icon'])) {
|
}
|
||||||
?>
|
?>
|
||||||
<i class="<?php echo $value2['icon'] ?>"></i>
|
<span class="<?php echo $hiddenClass; ?>">
|
||||||
|
<?php echo __($value['menuName']); ?>
|
||||||
|
</span>
|
||||||
|
<b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-menu-right" id="availableLive">
|
||||||
|
<?php
|
||||||
|
$menuItems = MenuItem::getAllFromMenu($value['id'], true);
|
||||||
|
foreach ($menuItems as $key2 => $value2) {
|
||||||
|
?>
|
||||||
|
<li style="margin-right: 0;">
|
||||||
|
<a href="<?php echo $value2['finalURL']; ?>" <?php echo $value2['target']; ?>>
|
||||||
<?php
|
<?php
|
||||||
}
|
if (!empty($value2['icon'])) {
|
||||||
?>
|
?>
|
||||||
<?php echo __($value2['title']); ?>
|
<i class="<?php echo $value2['icon'] ?>"></i>
|
||||||
</a>
|
<?php
|
||||||
</li>
|
}
|
||||||
|
?>
|
||||||
|
<?php echo __($value2['title']); ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<!-- right menu start -->
|
<!-- This is for smaller screens (the hamburger menu) -->
|
||||||
|
<div class="<?php echo $dropdownClass; ?>">
|
||||||
|
<li class="dropdown">
|
||||||
|
<a href="#" class="btn btn-default btn-light navbar-btn" data-toggle="dropdown">
|
||||||
|
<i class="fas fa-bars"></i> <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-menu-right">
|
||||||
|
<?php foreach ($menu as $key => $value) : ?>
|
||||||
|
<li class="dropdown-header"><?php echo __($value['menuName']); ?></li>
|
||||||
|
<?php
|
||||||
|
$menuItems = MenuItem::getAllFromMenu($value['id'], true);
|
||||||
|
foreach ($menuItems as $key2 => $value2) :
|
||||||
|
?>
|
||||||
|
<li style="margin-right: 0;">
|
||||||
|
<a href="<?php echo $value2['finalURL']; ?>" <?php echo $value2['target']; ?>>
|
||||||
|
<?php
|
||||||
|
if (!empty($value2['icon'])) {
|
||||||
|
?>
|
||||||
|
<i class="<?php echo $value2['icon'] ?>"></i>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<?php echo __($value2['title']); ?>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
|
<!-- right menu start -->
|
|
@ -38,6 +38,14 @@ class TopMenu extends PluginAbstract {
|
||||||
$obj = new stdClass();
|
$obj = new stdClass();
|
||||||
$obj->show_menu_items = true;
|
$obj->show_menu_items = true;
|
||||||
|
|
||||||
|
$o = new stdClass();
|
||||||
|
$o->type = [0=>'Do not compact top menu'];
|
||||||
|
for ($i = 1; $i <= 10; $i++) {
|
||||||
|
$o->type[$i] = "Compact top menus if it is greater then $i items";
|
||||||
|
}
|
||||||
|
$o->value = 4;
|
||||||
|
$obj->compactMenuIfIsGreaterThen = $o;
|
||||||
|
|
||||||
return $obj;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
BIN
view/.rnd
Normal file
BIN
view/.rnd
Normal file
Binary file not shown.
|
@ -87,42 +87,51 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#aboutArea #aboutAreaPreContent{
|
#aboutArea #aboutAreaPreContent {
|
||||||
max-height: 120px;
|
max-height: 120px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: max-height 0.25s ease-out;
|
transition: max-height 0.25s ease-out;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
#aboutAreaPreContent{
|
|
||||||
|
#aboutAreaPreContent {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
#aboutArea.expanded #aboutAreaPreContent{
|
|
||||||
|
#aboutArea.expanded #aboutAreaPreContent {
|
||||||
max-height: 1500px;
|
max-height: 1500px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
transition: max-height 0.25s ease-in;
|
transition: max-height 0.25s ease-in;
|
||||||
}
|
}
|
||||||
#aboutAreaShowMoreBtn{
|
|
||||||
|
#aboutAreaShowMoreBtn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
#aboutArea .showMore{
|
|
||||||
|
#aboutArea .showMore {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#aboutArea .showLess{
|
|
||||||
|
#aboutArea .showLess {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#aboutArea.expanded .showMore{
|
|
||||||
|
#aboutArea.expanded .showMore {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#aboutArea.expanded .showLess{
|
|
||||||
|
#aboutArea.expanded .showLess {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#channelHome{
|
|
||||||
|
#channelHome {
|
||||||
background-color: rgb(<?php echo $obj->backgroundRGB; ?>);
|
background-color: rgb(<?php echo $obj->backgroundRGB; ?>);
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.feedDropdown{
|
|
||||||
|
.feedDropdown {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -130,7 +139,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="gallery" >
|
<div class="gallery">
|
||||||
<div class="row clearfix">
|
<div class="row clearfix">
|
||||||
<div class="col-lg-12 col-sm-12 col-xs-12">
|
<div class="col-lg-12 col-sm-12 col-xs-12">
|
||||||
<center style="margin:5px;">
|
<center style="margin:5px;">
|
||||||
|
@ -148,24 +157,24 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
$relativePath = $user->getBackgroundURL(User::$channel_artDesktopMax);
|
$relativePath = $user->getBackgroundURL(User::$channel_artDesktopMax);
|
||||||
}
|
}
|
||||||
if (file_exists($global['systemRootPath'] . $relativePath)) {
|
if (file_exists($global['systemRootPath'] . $relativePath)) {
|
||||||
?>
|
?>
|
||||||
<div class="clearfix" style="clear: both;"></div>
|
<div class="clearfix" style="clear: both;"></div>
|
||||||
<a href="<?php echo User::getWebsite($user_id); ?>" target="_blank">
|
<a href="<?php echo User::getWebsite($user_id); ?>" target="_blank">
|
||||||
<div class="row bg-info profileBg" style="margin: 20px -10px; background: url('<?php echo getURL($relativePath); ?>') no-repeat 50% 50%; -webkit-background-size: cover;
|
<div class="row bg-info profileBg" style="margin: 20px -10px; background: url('<?php echo getURL($relativePath); ?>') no-repeat 50% 50%; -webkit-background-size: cover;
|
||||||
-moz-background-size: cover;
|
-moz-background-size: cover;
|
||||||
-o-background-size: cover;
|
-o-background-size: cover;
|
||||||
background-size: cover;">
|
background-size: cover;">
|
||||||
<img src="<?php echo User::getPhoto($user_id); ?>" alt="<?php echo $user->_getName(); ?>" class="img img-responsive img-thumbnail" style="max-width: 100px;"/>
|
<img src="<?php echo User::getPhoto($user_id); ?>" alt="<?php echo $user->_getName(); ?>" class="img img-responsive img-thumbnail" style="max-width: 100px;" />
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<div class="clearfix" style="clear: both;"></div>
|
<div class="clearfix" style="clear: both;"></div>
|
||||||
<a href="<?php echo User::getWebsite($user_id); ?>" target="_blank">
|
<a href="<?php echo User::getWebsite($user_id); ?>" target="_blank">
|
||||||
<img src="<?php echo User::getPhoto($user_id); ?>" alt="<?php echo $user->_getName(); ?>" class="img img-responsive img-thumbnail" style="max-width: 100px;"/>
|
<img src="<?php echo User::getPhoto($user_id); ?>" alt="<?php echo $user->_getName(); ?>" class="img img-responsive img-thumbnail" style="max-width: 100px;" />
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -178,6 +187,29 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
<?php
|
<?php
|
||||||
echo User::getEmailVerifiedIcon($user_id)
|
echo User::getEmailVerifiedIcon($user_id)
|
||||||
?></h2>
|
?></h2>
|
||||||
|
<?php
|
||||||
|
$socialMedia = CustomizeUser::getSocialMedia();
|
||||||
|
?>
|
||||||
|
<ul class="social-network social-circle">
|
||||||
|
<?php
|
||||||
|
foreach ($socialMedia as $platform => $details) {
|
||||||
|
if ($details['isActive']) {
|
||||||
|
$url = User::getSocialMediaURL($platform, $user_id);
|
||||||
|
if (!empty($url)) {
|
||||||
|
?>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo $url; ?>" target="_blank" class="<?php echo $details['class']; ?>" title="<?php echo $details['label']; ?>" data-toggle="tooltip">
|
||||||
|
<i class="<?php echo $details['icon']; ?>"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
<span class="pull-right">
|
<span class="pull-right">
|
||||||
<?php
|
<?php
|
||||||
echo getUserOnlineLabel($user_id, 'pull-right', 'padding: 0 5px;');
|
echo getUserOnlineLabel($user_id, 'pull-right', 'padding: 0 5px;');
|
||||||
|
@ -214,7 +246,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function() {
|
||||||
if ($('#aboutArea').height() < $('#aboutAreaContent').height()) {
|
if ($('#aboutArea').height() < $('#aboutAreaContent').height()) {
|
||||||
$('#aboutAreaShowMoreBtn').show();
|
$('#aboutAreaShowMoreBtn').show();
|
||||||
}
|
}
|
||||||
|
@ -222,7 +254,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
if (!User::hasBLockedUser($user_id)) {
|
if (!User::hasBLockedUser($user_id)) {
|
||||||
?>
|
?>
|
||||||
<div class="tabbable-panel">
|
<div class="tabbable-panel">
|
||||||
<div class="tabbable-line">
|
<div class="tabbable-line">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
|
@ -232,59 +264,59 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li class="nav-item <?php echo $active; ?>">
|
<li class="nav-item <?php echo $active; ?>">
|
||||||
<a class="nav-link " href="#channelLive" data-toggle="tab" aria-expanded="false">
|
<a class="nav-link " href="#channelLive" data-toggle="tab" aria-expanded="false">
|
||||||
<span class="glow-flash-icon live-icon"></span> <span class="labelUpperCase"><?php echo __('Live Now'); ?></span>
|
<span class="glow-flash-icon live-icon"></span> <span class="labelUpperCase"><?php echo __('Live Now'); ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
if ($showChannelHomeTab) {
|
if ($showChannelHomeTab) {
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li class="nav-item <?php echo $active; ?>">
|
<li class="nav-item <?php echo $active; ?>">
|
||||||
<a class="nav-link " href="#channelHome" data-toggle="tab" aria-expanded="false">
|
<a class="nav-link " href="#channelHome" data-toggle="tab" aria-expanded="false">
|
||||||
<i class="fas fa-home"></i> <span class="labelUpperCase"><?php echo __('Home'); ?></span>
|
<i class="fas fa-home"></i> <span class="labelUpperCase"><?php echo __('Home'); ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
if ($showChannelVideosTab) {
|
if ($showChannelVideosTab) {
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = "active";
|
$active = "active";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li class="nav-item <?php echo $active; ?>">
|
<li class="nav-item <?php echo $active; ?>">
|
||||||
<a class="nav-link " href="#channelVideos" data-toggle="tab" aria-expanded="false">
|
<a class="nav-link " href="#channelVideos" data-toggle="tab" aria-expanded="false">
|
||||||
<i class="fas fa-file-video"></i> <span class="labelUpperCase"><?php echo __('Videos'); ?></span> <span class="badge"><?php echo $uploadedTotalVideos; ?></span>
|
<i class="fas fa-file-video"></i> <span class="labelUpperCase"><?php echo __('Videos'); ?></span> <span class="badge"><?php echo $uploadedTotalVideos; ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
if (!empty($uploadedTotalArticles)) {
|
if (!empty($uploadedTotalArticles)) {
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = "";
|
$active = "";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li class="nav-item <?php echo $active; ?>">
|
<li class="nav-item <?php echo $active; ?>">
|
||||||
<a class="nav-link " href="#channelArticles" data-toggle="tab" aria-expanded="false">
|
<a class="nav-link " href="#channelArticles" data-toggle="tab" aria-expanded="false">
|
||||||
<i class="far fa-file-alt"></i> <span class="labelUpperCase"><?php echo __('Articles'); ?></span> <span class="badge"><?php echo $uploadedTotalArticles; ?></span>
|
<i class="far fa-file-alt"></i> <span class="labelUpperCase"><?php echo __('Articles'); ?></span> <span class="badge"><?php echo $uploadedTotalArticles; ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
if (!empty($uploadedTotalAudio)) {
|
if (!empty($uploadedTotalAudio)) {
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = "";
|
$active = "";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<li class="nav-item <?php echo $active; ?>">
|
<li class="nav-item <?php echo $active; ?>">
|
||||||
<a class="nav-link " href="#channelAudio" data-toggle="tab" aria-expanded="false">
|
<a class="nav-link " href="#channelAudio" data-toggle="tab" aria-expanded="false">
|
||||||
<i class="fas fa-file-audio"></i> <span class="labelUpperCase"><?php echo __('Audio'); ?></span> <span class="badge"><?php echo $uploadedTotalAudio; ?></span>
|
<i class="fas fa-file-audio"></i> <span class="labelUpperCase"><?php echo __('Audio'); ?></span> <span class="badge"><?php echo $uploadedTotalAudio; ?></span>
|
||||||
|
@ -296,13 +328,13 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
if ($showChannelProgramsTab) {
|
if ($showChannelProgramsTab) {
|
||||||
$totalPrograms = PlayList::getAllFromUserLight($user_id, true, false, 0, true, true);
|
$totalPrograms = PlayList::getAllFromUserLight($user_id, true, false, 0, true, true);
|
||||||
if ($totalPrograms) {
|
if ($totalPrograms) {
|
||||||
?>
|
?>
|
||||||
<li class="nav-item <?php echo $active; ?>" id="channelPlayListsLi">
|
<li class="nav-item <?php echo $active; ?>" id="channelPlayListsLi">
|
||||||
<a class="nav-link " href="#channelPlayLists" data-toggle="tab" aria-expanded="true">
|
<a class="nav-link " href="#channelPlayLists" data-toggle="tab" aria-expanded="true">
|
||||||
<i class="fas fa-list"></i> <span class="labelUpperCase"><?php echo __($palyListsObj->name); ?></span> <span class="badge"><?php echo count($totalPrograms); ?></span>
|
<i class="fas fa-list"></i> <span class="labelUpperCase"><?php echo __($palyListsObj->name); ?></span> <span class="badge"><?php echo count($totalPrograms); ?></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -315,8 +347,8 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="tab-pane <?php echo $active; ?>" id="channelLive" >
|
<div class="tab-pane <?php echo $active; ?>" id="channelLive">
|
||||||
<?php
|
<?php
|
||||||
//createGallerySection($videos, $crc = "", $get = array(), $ignoreAds = false, $screenColsLarge = 0, $screenColsMedium = 0, $screenColsSmall = 0, $screenColsXSmall = 0, $galeryDetails = true)
|
//createGallerySection($videos, $crc = "", $get = array(), $ignoreAds = false, $screenColsLarge = 0, $screenColsMedium = 0, $screenColsSmall = 0, $screenColsXSmall = 0, $galeryDetails = true)
|
||||||
//var_dump($screenColsLarge, $screenColsMedium);exit;
|
//var_dump($screenColsLarge, $screenColsMedium);exit;
|
||||||
|
@ -324,7 +356,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
createGallerySection($liveVideos);
|
createGallerySection($liveVideos);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$active = "fade";
|
$active = "fade";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -333,11 +365,13 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
$active = '';
|
$active = '';
|
||||||
}
|
}
|
||||||
$obj = AVideoPlugin::getObjectData("YouPHPFlix2");
|
$obj = AVideoPlugin::getObjectData("YouPHPFlix2");
|
||||||
?>
|
?>
|
||||||
<style>#bigVideo{
|
<style>
|
||||||
|
#bigVideo {
|
||||||
top: 0 !important;
|
top: 0 !important;
|
||||||
}</style>
|
}
|
||||||
<div class="tab-pane <?php echo $active; ?>" id="channelHome" >
|
</style>
|
||||||
|
<div class="tab-pane <?php echo $active; ?>" id="channelHome">
|
||||||
<?php
|
<?php
|
||||||
$obj->BigVideo = true;
|
$obj->BigVideo = true;
|
||||||
$obj->PlayList = false;
|
$obj->PlayList = false;
|
||||||
|
@ -361,14 +395,14 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixBody.php';
|
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixBody.php';
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$active = "fade";
|
$active = "fade";
|
||||||
}
|
}
|
||||||
if ($showChannelVideosTab) {
|
if ($showChannelVideosTab) {
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = "active fade in";
|
$active = "active fade in";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="tab-pane <?php echo $active; ?>" id="channelVideos">
|
<div class="tab-pane <?php echo $active; ?>" id="channelVideos">
|
||||||
|
|
||||||
|
@ -376,13 +410,13 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<?php
|
<?php
|
||||||
if ($isMyChannel) {
|
if ($isMyChannel) {
|
||||||
?>
|
?>
|
||||||
<a href="<?php echo $global['webSiteRootURL']; ?>mvideos" class="btn btn-success ">
|
<a href="<?php echo $global['webSiteRootURL']; ?>mvideos" class="btn btn-success ">
|
||||||
<span class="glyphicon glyphicon-film"></span>
|
<span class="glyphicon glyphicon-film"></span>
|
||||||
<span class="glyphicon glyphicon-headphones"></span>
|
<span class="glyphicon glyphicon-headphones"></span>
|
||||||
<?php echo __("My videos"); ?>
|
<?php echo __("My videos"); ?>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
echo __("My videos");
|
echo __("My videos");
|
||||||
}
|
}
|
||||||
|
@ -415,14 +449,14 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$active = "fade";
|
$active = "fade";
|
||||||
}
|
}
|
||||||
if (!empty($uploadedTotalArticles)) {
|
if (!empty($uploadedTotalArticles)) {
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = "";
|
$active = "";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="tab-pane <?php echo $active; ?>" id="channelArticles">
|
<div class="tab-pane <?php echo $active; ?>" id="channelArticles">
|
||||||
|
|
||||||
|
@ -430,12 +464,12 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<?php
|
<?php
|
||||||
if ($isMyChannel) {
|
if ($isMyChannel) {
|
||||||
?>
|
?>
|
||||||
<a href="<?php echo $global['webSiteRootURL']; ?>mvideos" class="btn btn-success ">
|
<a href="<?php echo $global['webSiteRootURL']; ?>mvideos" class="btn btn-success ">
|
||||||
<i class="far fa-newspaper"></i>
|
<i class="far fa-newspaper"></i>
|
||||||
<?php echo __("Articles"); ?>
|
<?php echo __("Articles"); ?>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
echo __("Articles");
|
echo __("Articles");
|
||||||
}
|
}
|
||||||
|
@ -457,7 +491,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$active = "fade";
|
$active = "fade";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -465,7 +499,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
if (!empty($_GET['current'])) { // means you are paging the Videos tab
|
||||||
$active = "";
|
$active = "";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="tab-pane <?php echo $active; ?>" id="channelAudio">
|
<div class="tab-pane <?php echo $active; ?>" id="channelAudio">
|
||||||
|
|
||||||
|
@ -473,12 +507,12 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<?php
|
<?php
|
||||||
if ($isMyChannel) {
|
if ($isMyChannel) {
|
||||||
?>
|
?>
|
||||||
<a href="<?php echo $global['webSiteRootURL']; ?>mvideos" class="btn btn-success ">
|
<a href="<?php echo $global['webSiteRootURL']; ?>mvideos" class="btn btn-success ">
|
||||||
<i class="far fa-newspaper"></i>
|
<i class="far fa-newspaper"></i>
|
||||||
<?php echo __("Audio"); ?>
|
<?php echo __("Audio"); ?>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
echo __("Audio");
|
echo __("Audio");
|
||||||
}
|
}
|
||||||
|
@ -500,17 +534,17 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$active = "fade";
|
$active = "fade";
|
||||||
}
|
}
|
||||||
if ($showChannelProgramsTab) {
|
if ($showChannelProgramsTab) {
|
||||||
?>
|
?>
|
||||||
<div class="tab-pane <?php echo $active; ?>" id="channelPlayLists" style="min-height: 800px;">
|
<div class="tab-pane <?php echo $active; ?>" id="channelPlayLists" style="min-height: 800px;">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading text-right">
|
<div class="panel-heading text-right">
|
||||||
<?php
|
<?php
|
||||||
if ($isMyChannel) {
|
if ($isMyChannel) {
|
||||||
?>
|
?>
|
||||||
<a class="btn btn-default btn-xs " href="<?php echo $global['webSiteRootURL']; ?>plugin/PlayLists/managerPlaylists.php">
|
<a class="btn btn-default btn-xs " href="<?php echo $global['webSiteRootURL']; ?>plugin/PlayLists/managerPlaylists.php">
|
||||||
<i class="fas fa-edit"></i> <?php echo __('Organize') . ' ' . __($palyListsObj->name); ?>
|
<i class="fas fa-edit"></i> <?php echo __('Organize') . ' ' . __($palyListsObj->name); ?>
|
||||||
</a>
|
</a>
|
||||||
|
@ -523,7 +557,7 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
include $global['systemRootPath'] . 'view/channelPlaylist.php';
|
include $global['systemRootPath'] . 'view/channelPlaylist.php';
|
||||||
} else {
|
} else {
|
||||||
if ($isMyChannel) {
|
if ($isMyChannel) {
|
||||||
?>
|
?>
|
||||||
<div class="alert alert-info" role="alert" style="margin-top: 20px;">
|
<div class="alert alert-info" role="alert" style="margin-top: 20px;">
|
||||||
<h4 class="alert-heading text-center"><?php echo __('No Playlist Found'); ?></h4>
|
<h4 class="alert-heading text-center"><?php echo __('No Playlist Found'); ?></h4>
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
|
@ -533,17 +567,17 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
<p class="mb-0 text-center">
|
<p class="mb-0 text-center">
|
||||||
<?php echo __('Once you\'ve created a playlist, it will appear here.'); ?>
|
<?php echo __('Once you\'ve created a playlist, it will appear here.'); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<div class="alert alert-info" role="alert" style="margin-top: 20px;">
|
<div class="alert alert-info" role="alert" style="margin-top: 20px;">
|
||||||
<h4 class="alert-heading text-center"><?php echo __('No Playlist Found'); ?></h4>
|
<h4 class="alert-heading text-center"><?php echo __('No Playlist Found'); ?></h4>
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
<?php echo __('This user does not have any') . ' ' . __($palyListsObj->name); ?>
|
<?php echo __('This user does not have any') . ' ' . __($palyListsObj->name); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -554,14 +588,14 @@ $showChannelProgramsTab = $advancedCustomUser->showChannelProgramsTab && !empty(
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$active = "fade";
|
$active = "fade";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,7 +24,9 @@ ul.social-network li {
|
||||||
.social-network a.icoWhatsapp:hover {
|
.social-network a.icoWhatsapp:hover {
|
||||||
background-color: #25D366;
|
background-color: #25D366;
|
||||||
}
|
}
|
||||||
|
.social-network a.icoInstagram:hover {
|
||||||
|
background-color: #E4405F;
|
||||||
|
}
|
||||||
.social-network a.icoFacebook:hover {
|
.social-network a.icoFacebook:hover {
|
||||||
background-color: #3B5998;
|
background-color: #3B5998;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue