Tareas #976 -> Visualización de las dedicatorias enviadas por email a pantalla completa (sin terminar)

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@69 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-07 16:14:27 +00:00
parent 9318212000
commit a05cdd20b5
11 changed files with 284 additions and 401 deletions

View File

@ -85,4 +85,36 @@ function fopen_fetch_image($url) {
return $image;
}
if ( !defined( 'DECODE_ENCODE_KEY' ) )
define( 'DECODE_ENCODE_KEY', 'asong2u' );
function bp_dedication_encode($string) {
$key = sha1($key);
$strLen = strlen($string);
$keyLen = strlen($key);
for ($i = 0; $i < $strLen; $i++) {
$ordStr = ord(substr($string,$i,1));
if ($j == $keyLen) { $j = 0; }
$ordKey = ord(substr($key,$j,1));
$j++;
$hash .= strrev(base_convert(dechex($ordStr + $ordKey),16,36));
}
return $hash;
}
function bp_dedication_decode($string) {
$key = sha1($key);
$strLen = strlen($string);
$keyLen = strlen($key);
for ($i = 0; $i < $strLen; $i+=2) {
$ordStr = hexdec(base_convert(strrev(substr($string,$i,2)),36,16));
if ($j == $keyLen) { $j = 0; }
$ordKey = ord(substr($key,$j,1));
$j++;
$hash .= chr($ordStr - $ordKey);
}
return $hash;
}
?>

View File

@ -14,7 +14,11 @@ function bp_dedication_send_dedication_notification( $post_id, $to_user_id, $fro
/* Now we need to construct the URL's that we are going to use in the email */
$sender_profile_link = bp_core_get_userlink($from_user_id, false, true);
$sender_new_dedication_link = bp_core_get_userlink($to_user_id, false, true) . $bp->dedications->slug . '/new-dedication/user/' . $from_user_id;
$post_link = get_permalink($post_id);
$enc_link = bp_dedication_encode(get_permalink($post_id));
$post_link = get_option('siteurl') . '/index.php';
$post_link = add_query_arg('refid', $enc_link, $post_link);
/* Set up and send the message */
$to = $reciever_ud->user_email;

View File

@ -194,9 +194,9 @@ function gp_enqueue_scripts() {
if (!is_admin()) {
wp_enqueue_script('jquery');
wp_enqueue_script('jqueryui');
//wp_enqueue_script('jqueryui');
//wp_enqueue_script('jqueryui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js', array('jquery'));
wp_enqueue_script('jqueryui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js', array('jquery'));
if (is_singular())
wp_enqueue_script('comment-reply');
@ -215,10 +215,10 @@ function gp_enqueue_scripts() {
wp_enqueue_script('froogaloop', get_template_directory_uri() . '/lib/scripts/videoslider/js/froogaloop.min.js', array('jquery'));
wp_enqueue_script('apPlaylistManager', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.apPlaylistManager.min.js', array('jquery'));
wp_enqueue_script('apYoutubePlayer', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.apYoutubePlayer.js', array('jquery'));
wp_enqueue_script('apVimeoPlayer', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.apVimeoPlayer.js', array('jquery'));
//wp_enqueue_script('videoGallery', get_template_directory_uri().'/lib/scripts/videoslider/js/jquery.videoGallery.min.js', array('jquery'));
wp_enqueue_script('videoGallery', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.videoGallery.js', array('jquery'));
wp_enqueue_script('apYoutubePlayer', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.apYoutubePlayer.min.js', array('jquery'));
wp_enqueue_script('apVimeoPlayer', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.apVimeoPlayer.min.js', array('jquery'));
wp_enqueue_script('videoGallery', get_template_directory_uri().'/lib/scripts/videoslider/js/jquery.videoGallery.min.js', array('jquery'));
//wp_enqueue_script('videoGallery', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.videoGallery.js', array('jquery'));
wp_enqueue_script('mousewheel', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.mousewheel.js', array('jquery'));
//wp_enqueue_script('sharrre', get_template_directory_uri() . '/lib/scripts/videoslider/js/jquery.sharrre-1.3.0.min.js', array('jquery'));
@ -624,4 +624,65 @@ function cutstr($str, $length, $ellipsis=''){
}
function add_fs_var($public_query_vars) {
$public_query_vars[] = 'fs';
return $public_query_vars;
}
add_filter('query_vars', 'add_fs_var');
function play_video_on_full_screen() {
$fs = get_query_var('fs');
return ($fs == '1');
}
if(!function_exists('_log')){
function _log( $message ) {
if( WP_DEBUG === true ){
if( is_array( $message ) || is_object( $message ) ){
error_log( print_r( $message, true ) );
} else {
error_log( $message );
}
}
}
}
function make_encoded_dedications_visible_for_nonusers($visibility) {
if(isset($_COOKIE['refid'])) {
setcookie('refid','',time()-3600, SITECOOKIEPATH);
$_COOKIE['refid'] = null;
unset( $_COOKIE['refid'] );
// Puede ser visible
return false;
} else {
return $visibility;
}
}
add_filter('pbp_login_required_check', 'make_encoded_dedications_visible_for_nonusers', 1);
function gp_encoded_dedication_redirect_for_nonusers($current_uri, $redirect_to) {
wp_parse_str($_SERVER['QUERY_STRING'], $args);
if (key_exists('refid', $args)) {
setcookie("refid", 1, time()+60, SITECOOKIEPATH); // Cookie con 1 minuto de validez
$decoded_url = bp_dedication_decode($args['refid']);
return add_query_arg('fs', 1, $decoded_url);
}
else return $current_uri;
}
add_filter('pbp_redirect_login_page', 'gp_encoded_dedication_redirect_for_nonusers', 1, 2);
function gp_encoded_dedication_redirect_for_users() {
if ( true == is_user_logged_in() ) {
wp_parse_str($_SERVER['QUERY_STRING'], $args);
if (key_exists('refid', $args)) {
$decoded_url = bp_dedication_decode($args['refid']);
wp_redirect(add_query_arg('fs', 1, $decoded_url));
}
}
}
add_action('wp', 'gp_encoded_dedication_redirect_for_users', 2);
?>

View File

@ -78,10 +78,10 @@
<!--Begin Header Bottom-->
<div id="header-bottom">
<?php if ( is_user_logged_in() ) : ?>
<?php if(1) { /*is_home() || is_front_page() || (is_single() && in_category('dedication'))) {*/ ?>
<div id="dedication-data-panel" class="columns twothirds first text-left"></div>
<?php } ?>
<?php if ( is_user_logged_in() ) : ?>
<?php if($theme_search_form == "0") { ?>
<div id="search-panel" class="columns onethird last">
<?php get_search_form(); ?>

View File

@ -2,18 +2,20 @@
jQuery(document).ready(function(){
jQuery('.controls_fullscreen').css('cursor', 'pointer');
_fullscreen = jQuery('.controls_fullscreen').children('img');
_srcimg = _fullscreen.attr('src');
_fullscreen.bind('click', function(){
if (jQuery('#the_slider').hasClass('fullscreen_div')) {
jQuery('#the_slider').removeClass('fullscreen_div');
_fullscreen.attr('src', _srcimg.replace('_exit.png', '.png'));
jQuery('#the_slider').toggleFullScreen()
jQuery('.mediaWrapper').css('width', '');
jQuery('.youtubeHolder').css('width', '');
jQuery('.vimeoHolder').css('width', '');
_fullscreen.attr('src', _srcimg.replace('fullscreen_exit.png', 'fullscreen.png'));
} else {
jQuery('#the_slider').addClass('fullscreen_div');
_fullscreen.attr('src', _srcimg.replace('.png', '_exit.png'));
jQuery('#the_slider').toggleFullScreen()
_fullscreen.attr('src', _srcimg.replace('fullscreen.png', 'fullscreen_exit.png'));
}
});
});
@ -34,191 +36,4 @@ jQuery(document).ready(function(){
});
});
/*************************** File Directories ***************************/
var rootFolder='<?php echo get_template_directory_uri(); ?>';
/*************************** Remove Javascript Disabled Class ***************************/
var el = document.getElementsByTagName("html")[0];
el.className = "";
/*************************** Toggle Share Link ***************************/
jQuery(document).ready(function(){
jQuery("#share-review").hide();
jQuery("#share-review-link a").html("<?php _e('Share &#9660;', 'gp_lang'); ?>");
jQuery("#share-review-link a").toggle(function(){
jQuery(this).html("<?php _e('Share &#9650;', 'gp_lang'); ?>");
}, function () {
jQuery(this).html("<?php _e('Share &#9660;', 'gp_lang'); ?>");
});
jQuery("#share-review-link a").click(function(){
jQuery(this).next("#share-review").slideToggle('fast');
});
});
/*************************** Transform Select Drop Down Forms ***************************/
jQuery(document).ready(function() {
jQuery("#dropdown-filter").show();
jQuery(".order-by-form").jqTransform();
jQuery(".order-form").jqTransform();
jQuery(".order-by-form .jqTransformSelectWrapper ul li a").click(function(){
var index = jQuery(this).attr('index');
var value = jQuery('.order-by-form select.jqTransformHidden option:eq('+index+')').attr('value');
window.location.href=value;
});
jQuery(".order-form .jqTransformSelectWrapper ul li a").click(function(){
var index = jQuery(this).attr('index');
var value = jQuery('.order-form select.jqTransformHidden option:eq('+index+')').attr('value');
window.location.href=value;
});
});
/*************************** Marquee Width ***************************/
jQuery(window).load(function() {
jQuery("#scroller-marquee").show();
var socialWidth = jQuery("#social-icons").width();
var scrollertitleWidth = jQuery("#scroller-title").width();
if(socialWidth > 0) {
jQuery("#scroller").css({"width" : 840 - socialWidth});
jQuery("#scroller #scroller-marquee").css({"width" : 840 - socialWidth - scrollertitleWidth});
} else {
jQuery("#scroller").css({"width" : 920});
jQuery("#scroller #scroller-marquee").css({"width" : 920 - scrollertitleWidth});
}
});
/*************************** Profile Details Height ***************************/
jQuery(document).ready(function(){
var profiledetailsHeight = jQuery(".profile-details").height();
if(profiledetailsHeight > 90) {
jQuery(".profile-avatar").css({"height" : profiledetailsHeight});
}
});
/*************************** Gallery Shortcode Lightbox Support ***************************/
jQuery(document).ready(function(){
jQuery("div.gallery-item .gallery-icon a").attr("rel", "prettyPhoto[gallery]");
});
/*************************** Lightbox ***************************/
function gp_lightbox() {
jQuery("a[rel^='prettyPhoto']").prettyPhoto({
theme: 'pp_default',
deeplinking: false,
social_tools: ''
});
}
jQuery(document).ready(function(){
gp_lightbox();
});
/*************************** Lightbox Image Hover ***************************/
function gp_image_hover() {
jQuery("a[rel^='prettyPhoto']").hover(
function() {
jQuery(this).find("img").stop().fadeTo(750, 0.5);
},
function() {
jQuery(this).find("img").stop().fadeTo(750, 1);
}
);
}
jQuery(document).ready(function(){
gp_image_hover();
});
/*************************** Back To Top ***************************/
jQuery(document).ready(function() {
jQuery(".back-to-top").click(function() {
jQuery("html, body").animate({ scrollTop: 0 }, 'slow');
});
});
/*************************** Accordion ***************************/
jQuery(document).ready(function(){
jQuery(".accordion").accordion({ header: "h3.accordion-title", autoHeight: false });
jQuery("h3.accordion-title").toggle(function(){
jQuery(this).addClass("active");
}, function () {
jQuery(this).removeClass("active");
});
});
/*************************** Tabs ***************************/
jQuery(document).ready(function(){
jQuery(".sc-tabs").tabs({
fx: {
height:'toggle',
duration:'fast'
}
});
});
/*************************** Toggle Content ***************************/
jQuery(document).ready(function(){
jQuery(".toggle-box").hide();
jQuery(".toggle").toggle(function(){
jQuery(this).addClass("toggle-active");
}, function () {
jQuery(this).removeClass("toggle-active");
});
jQuery(".toggle").click(function(){
jQuery(this).next(".toggle-box").slideToggle();
});
});
</script>

View File

@ -10,7 +10,7 @@
position:absolute;
top:0px;
left:0px;
width:100%;
width:940px;
height:500px;
overflow:hidden;
}
@ -315,3 +315,166 @@ position:absolute;
top:0px;
left:90px;
}
.fullscreen_div {
height:100%;
width:100%;
position:fixed;
left:0;
top:0;
z-index:111 !important;
background-color:black;
}
.fullscreen_div #slider-wrapper {
height:100%;
width:100%;
position:fixed;
left:0;
top:0;
}
.fullscreen_div #componentWrapper{
height:100%;
}
/* wrapper for video */
.fullscreen_div #componentWrapper .mediaWrapper,
.fullscreen_div #componentWrapper .youtubeHolder,
.fullscreen_div #componentWrapper .vimeoHolder {
position:absolute;
top:0px;
left:0px;
width:100% !important;
height:100%;
overflow:hidden;
}
.fullscreen_div #dedicationTitle_container {
height: 100px;
}
.fullscreen_div .dedicationTitle_logo {
display: block;
position: absolute;
float: left;
margin: 18px 0 0 18px;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel {
display: block;
width: 100%;
font-size: 26px;
margin-top: 10px;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel img.dedicationFlag {
height: 32px;
margin-top: -8px;
vertical-align: middle;
width: 32px;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel span {
display: inline-block;
font-weight: bold;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel span:first-of-type {
margin-right: 30px;
}
.fullscreen_div #dedicationTitle_container h2 {
}
.fullscreen_div #dedicationFooter_container {
position: absolute;
width: 100%;
left: 0;
bottom: 0;
display: none !important;
}
.fullscreen_div #componentWrapper .thumbHolder{
position:absolute;
top:0px;
width:0px;/* hidden on beginning */
height:100%;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
overflow:hidden;
}
.fullscreen_div #componentWrapper .thumbContainer{
position:absolute;
height:100%;
top:40px;
left:0px;
/*background:#9C9;*/
}
.fullscreen_div #componentWrapper .thumbInnerContainer{
position:absolute;
height:100%;
top:0px;
left:10px;
}
.fullscreen_div #componentWrapper .thumbBackward{
position:absolute;
width:170px;
height:40px;
top:0px;
left:0px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
display:none;
}
.fullscreen_div #componentWrapper .thumbBackward img{
position:absolute;
display:block;
width:31px;
height:21px;
top:50%;
left:50%;
margin-left:-15px;
margin-top:-14px;
}
#componentWrapper .thumbForward{
position:absolute;
width:170px;
height:40px;
bottom:0px;
left:0px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
display:none;
}
#componentWrapper .thumbForward img{
position:absolute;
display:block;
width:31px;
height:21px;
top:50%;
left:50%;
margin-left:-15px;
margin-top:-10px;
}
#componentWrapper .thumb_title{
position:absolute;
width:160px;
color:#e5e5e5;
padding: 10px 20px 10px 20px;
font-family: 'Terminal Dosis', sans-serif;
font-size:20px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
}

View File

@ -1 +1 @@
(function(c){function i(a){d=c(this);a=_youtubeChromeless?"http://www.youtube.com/embed/"+a+"?controls=0&amp;showinfo=0&amp;enablejsapi=1&amp;wmode=transparent":"http://www.youtube.com/embed/"+a+"?enablejsapi=1&amp;wmode=transparent";a=c("<iframe />",{frameborder:0,src:a,width:"100%",height:"100%",id:e});f.css("display","block");f.append(a);a=document.createElement("script");a.src="http://www.youtube.com/player_api";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}function k(){b.setVolume(100* j);b&&g&&b.playVideo()}function l(){}function m(a){0==a.data&&d.trigger("ap_YoutubePlayer.END_PLAY");1==a.data&&!h&&(d.trigger("ap_YoutubePlayer.START_PLAY"),h=!0)}function n(){}var b,e,g,j,f,h=!1,d;c.youtubePlayer=function(a){e=a.frameId;g=a.autoPlay;j=a.defaultVolume;f=a.youtubeHolder;_youtubeChromeless=a.youtubeChromeless;return new i(a.mediaPath)};i.prototype={initVideo:function(a){b&&(h=!1,g?b.loadVideoById(a):b.cueVideoById(a))},stop:function(){b&&b.stopVideo()},play:function(){b&&b.playVideo()}, pause:function(){b&&b.pauseVideo()},seek:function(a){b&&b.seekTo(a)},isMuted:function(){if(b)return b.isMuted()},getDuration:function(){if(b)return b.getDuration()},setVolume:function(a){0>a?vol=0:1<a&&(a=1);b&&b.setVolume(100*a)}};window.onYouTubePlayerAPIReady=function(){b=new YT.Player(e,{events:{onReady:k,onPlaybackQualityChange:l,onStateChange:m,onError:n}})}})(jQuery);
(function(a){function j(b){i=a(this);var d="&wmode=transparent";var e;var g="?controls=0";var h="&autohide=1";var j="&iv_load_policy=3";var k="&modestbranding=1";var l="&showinfo=0";var m="&theme=light";var n;if(!_youtubeChromeless){e="?enablejsapi=1";n="http://www.youtube.com/embed/"+b+e+l+j+k+m+h+d}else{e="&enablejsapi=1";n="http://www.youtube.com/embed/"+b+g+l+e+j+k+m+h+d}var o=a("<iframe />",{frameborder:0,src:n,width:100+"%",height:100+"%",id:c});f.css("display","block");f.append(o);var p=document.createElement("script");p.src="http://www.youtube.com/player_api";var q=document.getElementsByTagName("script")[0];q.parentNode.insertBefore(p,q)}function k(a){b.setVolume(e*100);if(b&&d){b.playVideo()}}function l(a){}function m(a){if(a.data==0){i.trigger("ap_YoutubePlayer.END_PLAY")}if(a.data==1){if(!h){i.trigger("ap_YoutubePlayer.START_PLAY");h=true}}if(a.data==2){}}function n(a){}var b;var c;var d;var e;var f;var g;var h=false;var i;a.youtubePlayer=function(a){c=a.frameId;d=a.autoPlay;e=a.defaultVolume;f=a.youtubeHolder;_youtubeChromeless=a.youtubeChromeless;var b=new j(a.mediaPath);return b};j.prototype={initVideo:function(a){if(b){h=false;if(d){b.loadVideoById(a)}else{b.cueVideoById(a)}}},stop:function(){if(b)b.stopVideo()},play:function(){if(b)b.playVideo()},pause:function(){if(b)b.pauseVideo()},seek:function(a){if(b)b.seekTo(a)},isMuted:function(){if(b)return b.isMuted()},getDuration:function(){if(b)return b.getDuration()},setVolume:function(a){if(a<0)vol=0;else if(a>1)a=1;if(b)b.setVolume(a*100)}};window.onYouTubePlayerAPIReady=function(){b=new YT.Player(c,{events:{onReady:k,onPlaybackQualityChange:l,onStateChange:m,onError:n}})}})(jQuery)

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,5 @@
<?php get_header();
global $gp_settings;
global $gp_settings;
?>
<?php $main_query = new WP_Query($query_string); if ($main_query->have_posts()) : while ($main_query->have_posts()) : $main_query->the_post(); ?>

View File

@ -91,22 +91,6 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
/* Top Level Nav */
#nav {
}
/*#nav ul a:hover, #nav ul a:hover {
color: #6bb4cc;
}
#nav ul > li {
border-color: #1f262c;
}
#nav ul > li:hover, #nav ul li:hover .sub-menu {
background: #181e23;
border-color: #161C20;
border-bottom-color: #181e23;
}
#nav .sub-menu {
background: #181e23;
border-color: #161C20;
}*/
/*************************** Main Content ***************************/
/* Main Content */
@ -167,11 +151,6 @@ ul.navmenu li {
width: 51px;
height: 85px;
margin-left: 15px;
/*box-shadow: 2px 1px 4px #999;
background: #1586ae;
border: 1px solid #1b7695;
border-top: 0;*/
/*background: url(lib/images/bg-header.png) repeat-x;*/
}
ul.navmenu li a {
@ -1293,165 +1272,4 @@ color: #325670;
}
.fullscreen_div {
height:100%;
width:100%;
position:fixed;
left:0;
top:0;
z-index:111 !important;
background-color:black;
}
.fullscreen_div #slider-wrapper {
height:100%;
width:100%;
position:fixed;
left:0;
top:0;
}
.fullscreen_div #componentWrapper{
height:100%;
background:#000;
}
/* wrapper for video */
.fullscreen_div #componentWrapper .mediaWrapper,
.fullscreen_div #componentWrapper .youtubeHolder,
.fullscreen_div #componentWrapper .vimeoHolder {
position:absolute;
top:0px;
left:0px;
width:100% !important;
height:100%;
overflow:hidden;
}
.fullscreen_div #dedicationTitle_container {
height: 100px;
}
.fullscreen_div .dedicationTitle_logo {
display: block;
position: absolute;
float: left;
margin: 18px 0 0 18px;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel {
display: block;
width: 100%;
font-size: 26px;
margin-top: 10px;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel img.dedicationFlag {
height: 32px;
margin-top: -8px;
vertical-align: middle;
width: 32px;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel span {
display: inline-block;
font-weight: bold;
}
.fullscreen_div #dedicationTitle_container #dedicationTitle-data-panel span:first-of-type {
margin-right: 30px;
}
.fullscreen_div #dedicationTitle_container h2 {
}
.fullscreen_div #dedicationFooter_container {
position: absolute;
width: 100%;
left: 0;
bottom: 0;
display: none !important;
}
.fullscreen_div #componentWrapper .thumbHolder{
position:absolute;
top:0px;
width:0px;/* hidden on beginning */
height:100%;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
overflow:hidden;
}
.fullscreen_div #componentWrapper .thumbContainer{
position:absolute;
height:100%;
top:40px;
left:0px;
/*background:#9C9;*/
}
.fullscreen_div #componentWrapper .thumbInnerContainer{
position:absolute;
height:100%;
top:0px;
left:10px;
}
.fullscreen_div #componentWrapper .thumbBackward{
position:absolute;
width:170px;
height:40px;
top:0px;
left:0px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
display:none;
}
.fullscreen_div #componentWrapper .thumbBackward img{
position:absolute;
display:block;
width:31px;
height:21px;
top:50%;
left:50%;
margin-left:-15px;
margin-top:-14px;
}
#componentWrapper .thumbForward{
position:absolute;
width:170px;
height:40px;
bottom:0px;
left:0px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
display:none;
}
#componentWrapper .thumbForward img{
position:absolute;
display:block;
width:31px;
height:21px;
top:50%;
left:50%;
margin-left:-15px;
margin-top:-10px;
}
#componentWrapper .thumb_title{
position:absolute;
width:160px;
color:#e5e5e5;
padding: 10px 20px 10px 20px;
font-family: 'Terminal Dosis', sans-serif;
font-size:20px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
}

View File

@ -5,8 +5,6 @@ require(ghostpool_inc . 'options.php');
$_ishome = (is_home() OR is_front_page());
if ( is_user_logged_in() ):
global $gp_settings;
global $current_user, $bp;
get_currentuserinfo();
@ -40,8 +38,9 @@ if (is_singular()) {
if (have_posts()) {
$slide_counter = 0;
$urls_video = array();
?>
<div id="the_slider">
<div id="the_slider" <?php echo (play_video_on_full_screen()) ? 'class="fullscreen_div"' : ''; ?> >
<!--Begin Slider Wrapper-->
<div id="slider-wrapper">
<?php if($theme_logo) { ?><div class="dedicationTitle_logo"><img src="<?php echo($theme_logo); ?>" alt="<?php bloginfo('name'); ?>" /></div><?php } ?>
@ -144,7 +143,7 @@ if (have_posts()) {
</ul>
</div> <!-- componentPlaylist -->
<div class="slideshow_controls">
<div class="controls_fullscreen"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/fullscreen.png' width='11' height='16' alt='fullscreen'/></div>
<div class="controls_fullscreen"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/<?php echo (play_video_on_full_screen()) ? 'fullscreen_exit.png' : 'fullscreen.png'; ?>' width='11' height='16' alt='fullscreen'/></div>
<?php if ($slide_counter > 1) { ?>
<div class="controls_prev"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/backward.png' width='11' height='16' alt='controls_prev'/></div>
<div class="controls_playlist_toggle"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/close.png' width='16' height='16' alt='controls_playlist_toggle'/></div>
@ -317,10 +316,3 @@ if (have_posts()) {
<?php } ?>
<!--End Slider-->
</div>
<?php endif; ?>