Actualización desde web

git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@56 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
David Arranz 2013-06-28 15:58:11 +00:00
parent 6d201694d7
commit 7d16102f43
572 changed files with 12002 additions and 2146 deletions

View File

@ -172,7 +172,7 @@ if (have_posts()) : while (have_posts()) : the_post();
<p><?php echo get_the_content_with_formatting(); ?></p> <p><?php echo get_the_content_with_formatting(); ?></p>
<div class="post_detail"> <div class="post_detail">
<?php the_time('j F, Y'); ?> - <?php the_time('j F, Y'); ?> -
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>. <?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?> <?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
<?php /* <?php /*
Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp; Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp;

View File

@ -207,7 +207,7 @@ if (have_posts()) : while (have_posts()) : the_post();
<div class="post_header"> <div class="post_header">
<h3 class="cufon"> <h3 class="cufon-child">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_title(); ?> <?php the_title(); ?>
</a> </a>
@ -216,7 +216,7 @@ if (have_posts()) : while (have_posts()) : the_post();
<p><?php echo get_the_content_with_formatting(); ?></p> <p><?php echo get_the_content_with_formatting(); ?></p>
<div class="post_detail"> <div class="post_detail">
<?php the_time('j F, Y'); ?> - <?php the_time('j F, Y'); ?> -
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>. <?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?> <?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
<?php /*Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp; <?php /*Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp;

View File

@ -0,0 +1,176 @@
<?php
/**
* The main template file for display blog page.
*
* @package WordPress
*/
get_header();
$page_sidebar = get_post_meta($current_page_id, 'page_sidebar', true);
if (empty($page_sidebar)) {
$page_sidebar = 'Blog Sidebar';
}
$page_style = 'Right Sidebar';
$caption_class = "page_caption";
$add_sidebar = TRUE;
$sidebar_class = '';
if ($page_style == 'Right Sidebar') {
$add_sidebar = TRUE;
$page_class = 'sidebar_content';
} elseif ($page_style == 'Left Sidebar') {
$add_sidebar = TRUE;
$page_class = 'sidebar_content';
$sidebar_class = 'left_sidebar';
} else {
$page_class = 'inner_wrapper';
}
$pp_title = get_option('pp_blog_title');
if (empty($pp_title)) {
$pp_title = 'Blog';
}
?>
<div class="<?php echo $caption_class ?>">
<div class="caption_inner">
<div class="caption_header">
<h2 class="cufon"><?php printf(__(' %s', 'Soon'), '' . single_cat_title('', false) . ''); ?></h2>
</div>
<br class="clear"/>
</div>
</div>
<!-- Begin content -->
<div id="content_wrapper" class="content_bg">
<div class="inner">
<!-- Begin main content -->
<div class="inner_wrapper"><br class="clear"/>
<?php if ($add_sidebar && $page_style == 'Left Sidebar') { ?>
<div class="sidebar_wrapper <?php echo $sidebar_class; ?>">
<div class="sidebar <?php echo $sidebar_class; ?> <?php echo $sidebar_home; ?>">
<div class="content">
<ul class="sidebar_widget">
<?php dynamic_sidebar($page_sidebar); ?>
</ul>
</div>
</div>
<br class="clear"/>
<div class="sidebar_bottom <?php echo $sidebar_class; ?>"></div>
</div>
<?php
}
?>
<div class="sidebar_content">
<?php
global $more;
$more = false; # some wordpress wtf logic
$query_string = "post_type=post&paged=$paged";
$cat_id = get_cat_ID(single_cat_title('', false));
if (!empty($cat_id)) {
$query_string.= '&cat=' . $cat_id;
}
query_posts($query_string);
if (have_posts()) : while (have_posts()) : the_post();
$image_thumb = '';
if (has_post_thumbnail(get_the_ID(), 'large')) {
$image_id = get_post_thumbnail_id(get_the_ID());
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
$pp_blog_image_width = 150;
$pp_blog_image_height = 150;
}
?>
<!-- Begin each blog post -->
<div class="post_wrapper">
<?php
if (!empty($image_thumb)) {
?>
<div class="post_img img_shadow_536" style="width:<?php echo $pp_blog_image_width + 10; ?>px;height:<?php echo $pp_blog_image_height + 30; ?>px">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<img src="<?php echo get_bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $image_thumb[0]; ?>&amp;h=<?php echo $pp_blog_image_height; ?>&amp;w=<?php echo $pp_blog_image_width; ?>&amp;zc=1" alt="" class="frame"/>
</a>
</div>
<?php
}
?>
<div class="post_header">
<h3 class="cufon-child">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_title(); ?>
</a>
</h3>
</div>
<p><?php echo get_the_content_with_formatting(); ?></p>
<div class="post_detail">
<?php the_time('j F, Y'); ?> -
<?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
<?php /*
Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp;
Tags:&nbsp;
<?php the_tags(''); ?>&nbsp;&nbsp;&nbsp;
Posted date:&nbsp;
<?php the_time('F j, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
&nbsp;|&nbsp;
<?php comments_number('No comment', 'Comment', '% Comments'); ?>
*/ ?>
</div>
</div>
<!-- End each blog post -->
<?php
endwhile;
endif;
?>
<div class="pagination"><p><?php posts_nav_link(' '); ?></p></div>
<br class="clear"/>
<?php gravity_form(11); ?>
</div>
<div class="sidebar_wrapper <?php echo $sidebar_class; ?>">
<div class="sidebar_top <?php echo $sidebar_class; ?>"></div>
<div class="sidebar <?php echo $sidebar_class; ?> <?php echo $sidebar_home; ?>">
<div class="content">
<ul class="sidebar_widget">
<?php dynamic_sidebar($page_sidebar); ?>
</ul>
</div>
</div>
<br class="clear"/>
<div class="sidebar_bottom <?php echo $sidebar_class; ?>"></div>
</div>
</div>
<!-- End main content -->
<br class="clear"/>
</div>
</div>
<!-- End content -->
<?php get_footer(); ?>

View File

@ -138,7 +138,7 @@ if (have_posts()) : while (have_posts()) : the_post();
<div class="post_header"> <div class="post_header">
<h3 class="cufon"> <h3 class="cufon-child">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_title(); ?> <?php the_title(); ?>
</a> </a>
@ -147,7 +147,7 @@ if (have_posts()) : while (have_posts()) : the_post();
<p><?php echo get_the_content_with_formatting(); ?></p> <p><?php echo get_the_content_with_formatting(); ?></p>
<div class="post_detail"> <div class="post_detail">
<?php the_time('j F, Y'); ?> - <?php the_time('j F, Y'); ?> -
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>. <?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?> <?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
<?php /* <?php /*
Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp; Posted by:&nbsp;<?php the_author(); ?>&nbsp;&nbsp;&nbsp;

View File

@ -20,13 +20,55 @@ pre, code, tt
} }
#footer { #footer {
background-color: #000; background-color: #fff;
margin-top: 0 !important;
} }
body.home #footer, body.home #copyright { body.home #footer, #copyright {
background-color: #fff; background-color: #fff;
} }
#footer #logos_apoyos {
margin: auto;
width: 860px;
height: 200px;
color: #37A3DE
}
#footer #logos_apoyos a,
#footer #logos_apoyos h2 {
color: #37A3DE;
text-align: center;
}
#footer #logos_apoyos h2 {
margin-bottom: 10px;
}
#footer #logos_apoyos h2 a {
color: #37A3DE;
}
#footer #logos_apoyos .caroufredsel_wrapper {
width: 860px !important ;
}
#footer #logos_apoyos ul#logo_slider {
margin: 0;
float: left;
height: 120px;
list-style: none outside none;
}
#footer #logos_apoyos ul#logo_slider li {
display: inline-block;
float: left;
height: 120px;
margin-right: 20px;
width: auto;
display: none;
}
#header_wrapper { #header_wrapper {
background: #0077D4; /* url('../images/featuredbg.jpg') no-repeat top ;*/ background: #0077D4; /* url('../images/featuredbg.jpg') no-repeat top ;*/
height: 192px; height: 192px;
@ -62,17 +104,16 @@ body.home #footer, body.home #copyright {
margin: 0 50px 8px 0; margin: 0 50px 8px 0;
} }
#top_bar #top_bar {
{ height: 192px;
background: #004971; position: relative;
} }
#welcome_msg #welcome_msg
{ {
} }
#welcome_msg h1 #welcome_msg h1 {
{
font-size: 36px; font-size: 36px;
font-weight: bold; font-weight: bold;
} }
@ -83,31 +124,129 @@ body.home #footer, body.home #copyright {
margin-bottom: 15px; margin-bottom: 15px;
} }
#topbar_wrapper {
height: 100px;
float: right;
width: 770px;
}
#topbar_wrapper #topbar_contact {
float: right;
margin-top: 25px;
text-align: right;
line-height: 100%;
width: 100%;
}
#topbar_wrapper #topbar_contact h1 {
color: #fff;
font-size: 34px;
font-weight: normal;
margin: -20px 0 0;
padding: 0;
letter-spacing: -1px;
}
#topbar_wrapper #topbar_contact .icons {
float: right;
}
#topbar_wrapper #topbar_contact .icons .icon {
margin-left: 6px;
}
#topbar_wrapper #topbar_contact a, #topbar_wrapper #topbar_contact a:visited, #topbar_wrapper #topbar_contact a:active {
color: #E5F1F8;
font-weight: normal;
}
#topbar_wrapper #topbar_qtranslate {
float: right;
margin-top: 5px;
margin-right: 5px;
text-align: right;
line-height: 100%;
display: block;
width: 100%;
}
#topbar_wrapper #topbar_qtranslate ul li {
list-style: none;
display: inline;
float: right;
margin-left: 8px;
}
#topbar_wrapper #topbar_search {
float: right;
margin-top: 20px;
margin-right: 5px;
text-align: right;
line-height: 100%;
height: 30px;
display: block;
width: 100%;
}
#topbar_wrapper #topbar_search .field {
background: url("../images/search-dark.png") no-repeat 10px 6px #E5F1F8;
border: 0;
color: #001623;
width: 150px;
padding: 6px 15px 6px 35px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
-webkit-transition: all 0.7s ease 0s;
-moz-transition: all 0.7s ease 0s;
-o-transition: all 0.7s ease 0s;
transition: all 0.7s ease 0s;
}
#topbar_wrapper #topbar_search .field:focus {
width: 200px;
}
#topbar_wrapper #topbar_search .icon {
display: none;
}
#menu_wrapper { #menu_wrapper {
padding: 95px 10px 3px 0; padding: 0;
width: 100%;
bottom: 15px;
right: 0;
position: absolute;
} }
#menu_wrapper .nav ul, #menu_wrapper div .nav #menu_wrapper .nav ul, #menu_wrapper div .nav
{ {
list-style: none; list-style: none;
display: block; display: block;
padding: 8px 0 0 0; padding: 0;
float: right; float: right;
text-transform: lowercase; text-transform: lowercase;
font-size: 23px; font-size: 32px;
} }
#menu_wrapper .nav ul li, #menu_wrapper div .nav li #menu_wrapper .nav ul li, #menu_wrapper div .nav li
{ {
display: block; display: block;
float :left; float :left;
margin: 0 0 0 0; margin: 0 0 0 32px;
}
#menu_wrapper .nav li ul.sub-menu li {
margin: 8px 0;
} }
#menu_wrapper .nav ul li a, #menu_wrapper div .nav li a { #menu_wrapper .nav ul li a, #menu_wrapper div .nav li a {
display: block; display: block;
padding: 8px; padding: 8px;
margin: 20px 0 0 0; letter-spacing: -1px;
margin: 0;
color: #fff; color: #fff;
} }
@ -190,9 +329,10 @@ body.home #footer, body.home #copyright {
.logo { .logo {
margin: 13px 0 0 -95px; margin: 5px 0 0 0;
overflow: visible; overflow: visible;
width: 0; width: 0;
display: block;
} }
#content_wrapper { #content_wrapper {
@ -214,7 +354,7 @@ body.home #footer, body.home #copyright {
#content_wrapper, #content_wrapper,
.content_bg, #content_wrapper.content_bg .content_bg, #content_wrapper.content_bg
{ {
background: #fff; background: #fff; /*#E5F1F8;*/
text-shadow: none; /*0 1px 1px #003756;*/ text-shadow: none; /*0 1px 1px #003756;*/
} }
@ -236,7 +376,7 @@ h1, h2, h3, h4, h5, .sidebar_content h1, .sidebar_content h2, .sidebar_content h
#content_wrapper .inner .inner_wrapper .sidebar_wrapper #content_wrapper .inner .inner_wrapper .sidebar_wrapper
{ {
border-left: 1px solid #37A3DE; /*border-left: 1px solid #37A3DE;*/
} }
#anything_slider .arrow.forward #anything_slider .arrow.forward
@ -346,7 +486,7 @@ input[type=submit], input[type=button], a.button
margin:0; margin:0;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
color: #555; /*color: #555;*/
} }
.post_header h3 a { .post_header h3 a {
@ -398,13 +538,18 @@ input[type=submit], input[type=button], a.button
background: #000; background: #000;
} }
.portfolio1_hover, .portfolio2_hover, .portfolio3_hover, .portfolio4_hover .portfolio1_hover, .portfolio2_hover, .portfolio3_hover, .portfolio4_hover, .portfolio5_hover
{ {
background: transparent; background: transparent;
} }
.one_third .portfolio_image { .one_third .portfolio_image {
height: 232px; height: 232px;
text-align: center;
}
.one_third .portfolio_desc {
text-align: center;
} }
.portfolio3_hover img { .portfolio3_hover img {
@ -415,6 +560,10 @@ input[type=submit], input[type=button], a.button
margin: 8px 0; margin: 8px 0;
} }
.portfolio_desc > p {
text-align: center;
}
#searchform { #searchform {
margin-bottom: 0; margin-bottom: 0;
} }
@ -551,7 +700,7 @@ hr
#footer ul{ #footer ul{
font-size: 13px; font-size: 13px;
padding-top: 0px; padding-top: 0px;
padding-bottom: 50px; padding-bottom: 0px;
} }
#footer .posts.blog li img #footer .posts.blog li img
@ -665,22 +814,31 @@ li.gce-feed-1 {
.slideshow { height: 171px; width: 355px; margin: auto } .slideshow { height: 171px; width: 355px; margin: auto }
ul.ser-socio-amigo {
height: 155px;
}
ul.ser-socio-amigo li {
border: 0 !important;
}
.ser-socio { .ser-socio {
background: url(../images/ser-socio.png) no-repeat; background: url(../images/ser-socio-3.png) no-repeat;
width: 250px; width: 200px;
height: 0; height: 0;
padding-top: 196px; padding-top: 155px;
overflow: hidden; overflow: hidden;
z-index: 100; z-index: 100;
position: relative; position: relative;
display: block; display: block;
top: -240px; top: 0px;
left: -5px; left: 15px;
} }
.ser-amigo { .ser-amigo {
background: url(../images/ser-amigo.png) no-repeat; background: url(../images/ser-amigo-2.png) no-repeat;
width: 250px; width: 200px;
height: 0; height: 0;
padding-top: 196px; padding-top: 196px;
overflow: hidden; overflow: hidden;
@ -688,9 +846,23 @@ li.gce-feed-1 {
position: relative; position: relative;
display: block; display: block;
top: -70px; top: -70px;
left: 225px; left: -30px;
} }
.suscribete {
background: url(../images/suscribete-2.png) no-repeat;
width: 200px;
height: 0;
padding-top: 196px;
overflow: hidden;
z-index: 99;
position: relative;
display: block;
top: 185px;
left: 15px;
}
.wp_bannerize { .wp_bannerize {
margin-top: 25px; margin-top: 25px;
} }
@ -719,3 +891,161 @@ li.gce-feed-1 {
.gform_wrapper h2.gsection_title, .gform_wrapper .gsection_description, .gform_wrapper h3.gform_title { .gform_wrapper h2.gsection_title, .gform_wrapper .gsection_description, .gform_wrapper h3.gform_title {
font-size: 18px!important; font-size: 18px!important;
} }
.qtrans_flag {
height: 24px !important;
width: 24px !important;
}
#content p.rtw_main, p.rtw_main, div.rtw_main {
color: #555;
}
.rotatingtweet p.rtw_main {
text-align: left;
font-size: 80%;
}
.event_title {
padding-left: 0 !important;
}
#content_wrapper .event_description .posts li strong a {
font-weight: bold !important;
}
#content_wrapper .event_description .posts li img,
#content_wrapper.congreso .posts li img {
width: 100px !important;
height: 100px !important;
}
#content_wrapper .event_description .posts li p {
margin-top: 0 !important;
margin-bottom: 0 !important;
width: 100% !important;
}
#content_wrapper .event_description h2,
#content_wrapper .event_description h3,
#content_wrapper .event_description h4 {
margin-top: 10px !important;
margin-bottom: 5px !important;
}
#content_wrapper .event_description p {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
#content_wrapper .event_description a {
font-weight: bold !important;
}
.apoyos .post_img img {
border: 0px !important;
width: 160px !important;
height: 160px !important;
}
#content_wrapper.content_bg .sidebar_content .widget_tweetblender {
width: 650px !important;
background: #E5F1F8;
padding: 10px;
font-size: 12px;
}
.widget_tweetblender .tb_author a {
color: #0077D4 !important;
}
.widget_tweetblender .tb_msg {
color: #333;
}
.widget_tweetblender .tb_tweet-info a {
color: #37A3DE;
}
.widget_tweetblender .tb_tweet {
padding: 0 10px !important;
border-top: 0 !important;
margin: 10px 0 15px 0;
}
.proyectos .one_third {
min-height: 500px;
height: 500px;
}
#suscripcion {
background: url("http://boletin.loquedeverdadimporta.org/images/bocadillo.png") no-repeat scroll left top transparent;
float: right;
height: 196px;
overflow: hidden;
width: 250px;
}
#suscripcion p {
float: right;
font-size: 13px;
margin: 0;
padding: 0;
width: 200px;
}
#suscripcion label {
color: #FFFFFF;
display: block;
margin-left: 70px;
margin-top: 55px;
}
#suscripcion input {
color: #666666;
font-size: 13px;
font-style: italic;
height: 25px;
line-height: 25px;
margin-left: 70px;
margin-top: 15px;
padding-left: 3px;
padding-right: 3px;
width: 155px;
}
#suscripcion a.btn {
background: url("http://boletin.loquedeverdadimporta.org/images/btn.png") no-repeat scroll left top transparent;
color: #fff !important;
display: block;
float: right;
font-size: 13px;
font-weight: normal;
height: 24px;
left: -6px;
line-height: 24px;
margin-right: 20px;
margin-top: 10px;
padding: 0 8px;
position: relative;
text-decoration: none;
top: 0;
}
#suscripcion a.btn:hover {
background-position: left bottom;
}
#suscripcion a.btn span {
background: url("http://boletin.loquedeverdadimporta.org/images/btn.png") no-repeat scroll right top transparent;
display: block;
height: 24px;
line-height: 24px;
position: absolute;
right: -1px;
top: 0;
width: 8px;
}
#suscripcion a.btn:hover span {
background-position: right bottom;
}

View File

@ -101,7 +101,7 @@ hr
{ {
width: 100%; width: 100%;
margin: -9px 0 0 0; margin: -9px 0 0 0;
padding: 20px 0 0 0; padding: 0;
margin-top:1px; margin-top:1px;
border-top: 2px solid #444; border-top: 2px solid #444;
background: #222; background: #222;
@ -721,7 +721,7 @@ body.home #top_bar
padding: 0; padding: 0;
border-top:2px solid #444; border-top:2px solid #444;
border-bottom:2px solid #444; border-bottom:2px solid #444;
display:none; /*display:none;*/
} }
/* /*
@ -832,7 +832,7 @@ body.home #top_bar
.nivo-directionNav a.nivo-nextNav { .nivo-directionNav a.nivo-nextNav {
background: transparent url('../images/right_slide_nav.png') no-repeat center 15px; background: transparent url('../images/right_slide_nav.png') no-repeat center 15px;
text-indent: -9999px; text-indent: -9999px;
left: 895px; left: 960px;
top: 42px; top: 42px;
} }
@ -907,13 +907,13 @@ body.home #top_bar
.caption_inner .caption_inner
{ {
width: 895px; width: 960px;
margin: auto; margin: auto;
} }
#content_wrapper .inner .inner_wrapper #content_wrapper .inner .inner_wrapper
{ {
width: 900px; width: 960px;
margin: auto; margin: auto;
padding: 30px 0 25px 0; padding: 30px 0 25px 0;
background: transparent; background: transparent;
@ -926,16 +926,19 @@ body.home #top_bar
#content_wrapper .inner .inner_wrapper .sidebar_content #content_wrapper .inner .inner_wrapper .sidebar_content
{ {
width: 600px; width: 688px; /*660px;*/
float: left; float: left;
padding: 0; padding: 0;
margin-right: 0px;
margin-top: -10px;
border-right: 1px solid #37A3DE;
} }
#content_wrapper .inner .inner_wrapper .sidebar_wrapper #content_wrapper .inner .inner_wrapper .sidebar_wrapper
{ {
width: 270px; width: 270px;
float: right; float: right;
margin-left: 15px; margin-left: 0px;
margin-top: -10px; margin-top: -10px;
} }
@ -950,7 +953,7 @@ body.home #top_bar
{ {
width: 270px; width: 270px;
float: left; float: left;
height: 32px; height: 5px; /*32px;*/
} }
#content_wrapper .inner .inner_wrapper .sidebar_wrapper .sidebar_bottom #content_wrapper .inner .inner_wrapper .sidebar_wrapper .sidebar_bottom
@ -1144,6 +1147,7 @@ body.home #top_bar
#content_wrapper .sidebar .content .sidebar_widget li .widgettitle #content_wrapper .sidebar .content .sidebar_widget li .widgettitle
{ {
font-size: 22px; font-size: 22px;
margin-bottom: 8px;
} }
div.textwidget div.textwidget
@ -1158,8 +1162,8 @@ div.textwidget
.post_wrapper .post_wrapper
{ {
width: 100%; width: auto;
margin: 0 0 70px 0; margin: 0 25px 50px 0;
} }
.post_wrapper.single .post_wrapper.single
@ -1510,7 +1514,8 @@ ul.children .comment
.one_fourth .one_fourth
{ {
width: 22.5%; width: 21.5%;
min-height: 375px;
float: left; float: left;
margin-right: 3%; margin-right: 3%;
margin-bottom: 2%; margin-bottom: 2%;
@ -1531,7 +1536,7 @@ ul.children .comment
.one_fourth .portfolio_image img.frame .one_fourth .portfolio_image img.frame
{ {
position: relative; position: relative;
top: 20px; top: 10px;
} }
.img_shadow_160 .img_shadow_160
@ -1564,6 +1569,27 @@ ul.children .comment
margin-right: 0; margin-right: 0;
} }
.one_fifth .portfolio_image {
height: 165px;
}
.one_fifth .portfolio_desc
{
width: 88%;
margin: auto;
}
.one_fifth .portfolio_desc h2
{
font-size: 18px;
}
.one_fifth .portfolio_image img.frame {
position: relative;
top: 10px;
}
.one_sixth .one_sixth
{ {
width: 11%; width: 11%;
@ -1585,7 +1611,7 @@ ul.children .comment
display: block; display: block;
position: relative; position: relative;
top: -133px; top: -133px;
left: 6px; left: 0;
z-index: 999; z-index: 999;
background: transparent; background: transparent;
cursor: pointer; cursor: pointer;
@ -1594,7 +1620,7 @@ ul.children .comment
.portfolio4_hover img .portfolio4_hover img
{ {
width: 60px; width: 60px;
margin: 25px 0 0 0; margin: 40px 0 0 0;
} }
.blog_grid_desc .blog_grid_desc
@ -1684,7 +1710,7 @@ ul.children .comment
} }
.pagination { .pagination {
margin: 100px 0 30px -3px; margin: 50px 0 30px -3px;
text-align: left; text-align: left;
} }
@ -1699,13 +1725,13 @@ ul.children .comment
.pagination a:hover { .pagination a:hover {
border: 1px solid #333; border: 1px solid #333;
background: #333; background: #333;
color: #999; color: #222;
} }
.pagination a:active, .pagination a.active { .pagination a:active, .pagination a.active {
border: 1px solid #333; border: 1px solid #333;
background: #333; background: #333;
color: #999; color: #222;
} }
.arrow_list, .check_list, .star_list, .pp_list ul .arrow_list, .check_list, .star_list, .pp_list ul
@ -1863,7 +1889,7 @@ ul.flickr li
#slider_loading #slider_loading
{ {
width: 900px; width: 960px;
height: 420px; height: 420px;
margin: auto; margin: auto;
background: transparent url('../images/ajax-loader.gif') no-repeat center center; background: transparent url('../images/ajax-loader.gif') no-repeat center center;
@ -2003,7 +2029,7 @@ strong.header
position: relative; position: relative;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 900px; width: 960px;
height: 380px; height: 380px;
margin:auto; margin:auto;
top: 15px; top: 15px;
@ -2246,3 +2272,4 @@ img.fade
{ {
margin-left: 20px; margin-left: 20px;
} }

View File

@ -47,6 +47,7 @@ function page_create_meta_box() {
global $page_postmetas; global $page_postmetas;
if ( function_exists('add_meta_box') && isset($page_postmetas) && count($page_postmetas) > 0 ) { if ( function_exists('add_meta_box') && isset($page_postmetas) && count($page_postmetas) > 0 ) {
add_meta_box( 'page_metabox', 'Page Options', 'page_new_meta_box', 'page', 'normal', 'high' ); add_meta_box( 'page_metabox', 'Page Options', 'page_new_meta_box', 'page', 'normal', 'high' );
add_meta_box( 'page_metabox', 'Page Options', 'page_new_meta_box', 'proyecto', 'normal', 'high' );
} }
} }

View File

@ -122,7 +122,7 @@ function post_type_proyectos() {
); );
} }
add_action('init', 'post_type_proyectos'); //add_action('init', 'post_type_proyectos');
add_filter( 'manage_posts_columns', 'rt_add_gravatar_col'); add_filter( 'manage_posts_columns', 'rt_add_gravatar_col');
function rt_add_gravatar_col($cols) { function rt_add_gravatar_col($cols) {

View File

@ -21,6 +21,10 @@
} }
?> ?>
<?php if (!is_page('apoyos')) : ?>
<?php include (TEMPLATEPATH . "/templates/logo-slideshow.php"); ?>
<?php endif; ?>
<br class="clear"/> <br class="clear"/>
<div id="copyright"> <div id="copyright">
@ -28,11 +32,9 @@
/** /**
* Get footer text * Get footer text
*/ */
$pp_footer_text = get_option('pp_footer_text'); $pp_footer_text = get_option('pp_footer_text');
if(empty($pp_footer_text)) if (empty($pp_footer_text)) {
{
$pp_footer_text = ''; $pp_footer_text = '';
} }
@ -40,6 +42,12 @@
?> ?>
</div> </div>
<br class="clear"/>
<?php if (is_user_logged_in()) { ?>
<center><small style="color: #000;">Consumo de PHP: <?php echo round(memory_get_usage()/1048576,2) ?>MB | Base de datos: <?php echo get_num_queries(); ?> consultas | Tiempo de carga: <?php timer_stop(1); ?> segundos.</small></center>
<?php } ?>
</div> </div>
<!-- End footer --> <!-- End footer -->

View File

@ -4,7 +4,7 @@ define("THEMENAME", "lqdvi");
define("SHORTNAME", "pp"); define("SHORTNAME", "pp");
require_once ('save_application_form.php'); require_once ('save_application_form.php');
require_once ('pasarela_tpv.php'); //require_once ('pasarela_tpv.php'); <- no utilizar más la pasarela TPV
load_theme_textdomain( 'lqdvi', TEMPLATEPATH.'/languages' ); load_theme_textdomain( 'lqdvi', TEMPLATEPATH.'/languages' );
@ -499,4 +499,46 @@ function deregister_cf7_styles() {
} }
} }
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 the_slug() {
$post_data = get_post($post->ID, ARRAY_A);
$slug = $post_data['post_name'];
return $slug;
}
function get_the_post_thumbnail_src($img) {
return (preg_match('~\bsrc="([^"]++)"~', $img, $matches)) ? $matches[1] : '';
}
function custom_plugin_language_dir() {
load_plugin_textdomain('tweetblender', false, '../languages/');
}
add_action('after_setup_theme', 'custom_plugin_language_dir');
function my_init() {
if (!is_admin()) {
// comment out the next two lines to load the local copy of jQuery
wp_deregister_script('jquery');
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false, '1.8.3');
wp_enqueue_script('jquery');
}
}
add_action('init', 'my_init');
?> ?>

View File

@ -4,9 +4,7 @@
* *
* @package WordPress * @package WordPress
*/ */
$pp_theme_version = '1.0'; $pp_theme_version = '1.0';
?><!DOCTYPE html> ?><!DOCTYPE html>
<html <?php language_attributes(); ?>> <html <?php language_attributes(); ?>>
<head> <head>
@ -23,8 +21,7 @@ $pp_theme_version = '1.0';
$pp_favicon = get_option('pp_favicon'); $pp_favicon = get_option('pp_favicon');
if(!empty($pp_favicon)) if (!empty($pp_favicon)) {
{
?> ?>
<link rel="shortcut icon" href="<?php echo $pp_favicon; ?>" /> <link rel="shortcut icon" href="<?php echo $pp_favicon; ?>" />
<?php <?php
@ -33,26 +30,21 @@ $pp_theme_version = '1.0';
<!-- Template stylesheet --> <!-- Template stylesheet -->
<?php <?php
wp_enqueue_style("jqueryui_css", get_bloginfo('stylesheet_directory') . "/css/jqueryui/custom.css", false, $pp_theme_version, "all"); wp_enqueue_style("jqueryui_css", get_bloginfo('stylesheet_directory') . "/css/jqueryui/custom.css", false, $pp_theme_version, "all");
wp_enqueue_style("screen_css", get_bloginfo('stylesheet_directory') . "/css/screen.css", false, $pp_theme_version, "all"); wp_enqueue_style("screen_css", get_bloginfo('stylesheet_directory') . "/css/screen.css", false, $pp_theme_version, "all");
wp_enqueue_style("lqdvi_css", get_bloginfo('stylesheet_directory') . "/css/lqdvi.css", false, $pp_theme_version, "all"); wp_enqueue_style("lqdvi_css", get_bloginfo('stylesheet_directory') . "/css/lqdvi.css", false, $pp_theme_version, "all");
wp_enqueue_style("fancybox_css", get_bloginfo('stylesheet_directory') . "/js/fancybox/jquery.fancybox-1.3.0.css", false, $pp_theme_version, "all"); wp_enqueue_style("fancybox_css", get_bloginfo('stylesheet_directory') . "/js/fancybox/jquery.fancybox-1.3.0.css", false, $pp_theme_version, "all");
wp_enqueue_style("videojs_css", get_bloginfo('stylesheet_directory') . "/js/video-js.css", false, $pp_theme_version, "all"); wp_enqueue_style("videojs_css", get_bloginfo('stylesheet_directory') . "/js/video-js.css", false, $pp_theme_version, "all");
wp_enqueue_style("vim_css", get_bloginfo('stylesheet_directory') . "/js/skins/vim.css", false, $pp_theme_version, "all"); wp_enqueue_style("vim_css", get_bloginfo('stylesheet_directory') . "/js/skins/vim.css", false, $pp_theme_version, "all");
?> ?>
<?php <?php
/** /**
* Check Google Maps key * Check Google Maps key
* */ * */
$pp_gm_key = get_option('pp_gm_key'); $pp_gm_key = get_option('pp_gm_key');
if(!empty($pp_gm_key)) if (!empty($pp_gm_key)) {
{
?> ?>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=<?php echo $pp_gm_key; ?>&amp;hl=en"></script> <script type="text/javascript" src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=<?php echo $pp_gm_key; ?>&amp;hl=en"></script>
<?php <?php
@ -60,11 +52,15 @@ $pp_theme_version = '1.0';
?> ?>
<?php <?php
wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery.js", false, $pp_theme_version); wp_enqueue_script('jquery');
wp_enqueue_script("jquery-ui-core");
//wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery.js", false, $pp_theme_version);
//wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery-1.5.min.js"); //wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery-1.5.min.js");
//wp_enqueue_script("jQuery", "http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"); //wp_enqueue_script("jQuery", "http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js");
//wp_enqueue_script("jQuery_cycle", "http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"); wp_enqueue_script("jQuery_cycle", "http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js");
wp_enqueue_script("jQuery_UI_js", get_bloginfo( 'stylesheet_directory' )."/js/jquery-ui.js", false, $pp_theme_version); //wp_enqueue_script("jQuery_UI_js", get_bloginfo( 'stylesheet_directory' )."/js/jquery-ui.js", false, $pp_theme_version);
wp_enqueue_script("fancybox_js", get_bloginfo('stylesheet_directory') . "/js/fancybox/jquery.fancybox-1.3.0.js", false, $pp_theme_version); wp_enqueue_script("fancybox_js", get_bloginfo('stylesheet_directory') . "/js/fancybox/jquery.fancybox-1.3.0.js", false, $pp_theme_version);
wp_enqueue_script("jQuery_easing", get_bloginfo('stylesheet_directory') . "/js/jquery.easing.js", false, $pp_theme_version); wp_enqueue_script("jQuery_easing", get_bloginfo('stylesheet_directory') . "/js/jquery.easing.js", false, $pp_theme_version);
wp_enqueue_script("jQuery_nivo", get_bloginfo('stylesheet_directory') . "/js/jquery.nivo.slider.js", false, $pp_theme_version); wp_enqueue_script("jQuery_nivo", get_bloginfo('stylesheet_directory') . "/js/jquery.nivo.slider.js", false, $pp_theme_version);
@ -77,20 +73,18 @@ $pp_theme_version = '1.0';
* */ * */
$pp_gm_key = get_option('pp_gm_key'); $pp_gm_key = get_option('pp_gm_key');
if(!empty($pp_gm_key)) if (!empty($pp_gm_key)) {
{
wp_enqueue_script("jQuery_gmap", get_bloginfo('stylesheet_directory') . "/js/gmap.js", false, $pp_theme_version); wp_enqueue_script("jQuery_gmap", get_bloginfo('stylesheet_directory') . "/js/gmap.js", false, $pp_theme_version);
} }
wp_enqueue_script("jQuery_validate", get_bloginfo( 'stylesheet_directory' )."/js/jquery.validate.js", false, $pp_theme_version); //wp_enqueue_script("jQuery_validate", get_bloginfo('stylesheet_directory') . "/js/jquery.validate.js", false, $pp_theme_version);
wp_enqueue_script("jQuery_cufon", get_bloginfo('stylesheet_directory') . "/js/cufon.js", false, $pp_theme_version); wp_enqueue_script("jQuery_cufon", get_bloginfo('stylesheet_directory') . "/js/cufon.js", false, $pp_theme_version);
/** /**
* Check selected font * Check selected font
* */ * */
$pp_font = get_option('pp_font'); $pp_font = get_option('pp_font');
if(empty($pp_font)) if (empty($pp_font)) {
{
$pp_font = 'FranklinGothicBook_400.font'; $pp_font = 'FranklinGothicBook_400.font';
} }
@ -114,7 +108,7 @@ $pp_theme_version = '1.0';
} }
wp_enqueue_script("browser_js", get_bloginfo('stylesheet_directory') . "/js/browser.js", false, $pp_theme_version); wp_enqueue_script("browser_js", get_bloginfo('stylesheet_directory') . "/js/browser.js", false, $pp_theme_version);
wp_enqueue_script("video_js", get_bloginfo( 'stylesheet_directory' )."/js/video.js", false, $pp_theme_version); wp_enqueue_script("video_js", get_bloginfo('stylesheet_directory') . "/js/video.min.js", false, $pp_theme_version);
wp_enqueue_script("custom_js", get_bloginfo('stylesheet_directory') . "/js/custom.js", false, $pp_theme_version); wp_enqueue_script("custom_js", get_bloginfo('stylesheet_directory') . "/js/custom.js", false, $pp_theme_version);
?> ?>
@ -135,157 +129,132 @@ $pp_theme_version = '1.0';
<?php <?php
$pp_p_size = get_option('pp_p_size'); $pp_p_size = get_option('pp_p_size');
if(!empty($pp_p_size)) if (!empty($pp_p_size)) {
{
?> ?>
body, p { font-size:<?php echo $pp_p_size; ?>px; } body, p { font-size:<?php echo $pp_p_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h1_font_color = get_option('pp_h1_font_color'); $pp_h1_font_color = get_option('pp_h1_font_color');
if(!empty($pp_h1_font_color)) if (!empty($pp_h1_font_color)) {
{
?> ?>
h1,h2,h3,h4,h5,h6 { color:<?php echo $pp_h1_font_color; ?>; } h1,h2,h3,h4,h5,h6 { color:<?php echo $pp_h1_font_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_header_textcolor = get_option('pp_header_textcolor'); $pp_header_textcolor = get_option('pp_header_textcolor');
if(!empty($pp_header_textcolor)) if (!empty($pp_header_textcolor)) {
{
?> ?>
.header_title h2 { color:<?php echo $pp_header_textcolor; ?>; } .header_title h2 { color:<?php echo $pp_header_textcolor; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h1_size = get_option('pp_h1_size'); $pp_h1_size = get_option('pp_h1_size');
if(!empty($pp_h1_size)) if (!empty($pp_h1_size)) {
{
?> ?>
h1 { font-size:<?php echo $pp_h1_size; ?>px; } h1 { font-size:<?php echo $pp_h1_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h2_size = get_option('pp_h2_size'); $pp_h2_size = get_option('pp_h2_size');
if(!empty($pp_h2_size)) if (!empty($pp_h2_size)) {
{
?> ?>
h2 { font-size:<?php echo $pp_h2_size; ?>px; } h2 { font-size:<?php echo $pp_h2_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h3_size = get_option('pp_h3_size'); $pp_h3_size = get_option('pp_h3_size');
if(!empty($pp_h3_size)) if (!empty($pp_h3_size)) {
{
?> ?>
h3 { font-size:<?php echo $pp_h3_size; ?>px; } h3 { font-size:<?php echo $pp_h3_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h4_size = get_option('pp_h4_size'); $pp_h4_size = get_option('pp_h4_size');
if(!empty($pp_h4_size)) if (!empty($pp_h4_size)) {
{
?> ?>
h4 { font-size:<?php echo $pp_h4_size; ?>px; } h4 { font-size:<?php echo $pp_h4_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h5_size = get_option('pp_h5_size'); $pp_h5_size = get_option('pp_h5_size');
if(!empty($pp_h5_size)) if (!empty($pp_h5_size)) {
{
?> ?>
h5 { font-size:<?php echo $pp_h5_size; ?>px; } h5 { font-size:<?php echo $pp_h5_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_h6_size = get_option('pp_h6_size'); $pp_h6_size = get_option('pp_h6_size');
if(!empty($pp_h6_size)) if (!empty($pp_h6_size)) {
{
?> ?>
h6 { font-size:<?php echo $pp_h6_size; ?>px; } h6 { font-size:<?php echo $pp_h6_size; ?>px; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_font_color = get_option('pp_font_color'); $pp_font_color = get_option('pp_font_color');
if(!empty($pp_font_color)) if (!empty($pp_font_color)) {
{
?> ?>
body, .styled_box_content, blockquote h2, label, #searchform label, body, .styled_box_content, blockquote h2, label, #searchform label,
body.home #footer, body.home #footer ul, body.home #footer h2 { color:<?php echo $pp_font_color; ?>; } body.home #footer, body.home #footer ul, body.home #footer h2, .tubepress_container { color:<?php echo $pp_font_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_link_color = get_option('pp_link_color'); $pp_link_color = get_option('pp_link_color');
if(!empty($pp_link_color)) if (!empty($pp_link_color)) {
{
?> ?>
a, .post_header a, .post_header h3 a, #content_wrapper .sidebar a, #content_wrapper .posts li a , .one_third .blog_grid_desc a, a, .post_header a, .post_header h3 a, #content_wrapper .sidebar a, #content_wrapper .posts li a , .one_third .blog_grid_desc a,
body.home #footer a { color:<?php echo $pp_link_color; ?>; } body.home #footer a { color:<?php echo $pp_link_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_hover_link_color = get_option('pp_hover_link_color'); $pp_hover_link_color = get_option('pp_hover_link_color');
if(!empty($pp_hover_link_color)) if (!empty($pp_hover_link_color)) {
{
?> ?>
a:hover, a:active, .post_header a:hover, .post_header h3 a:hover, #content_wrapper .sidebar a:hover, #content_wrapper .posts li a:hover, .one_third .blog_grid_desc a:hover, a:hover, a:active, .post_header a:hover, .post_header h3 a:hover, #content_wrapper .sidebar a:hover, #content_wrapper .posts li a:hover, .one_third .blog_grid_desc a:hover,
body.home #footer a:active, body.home #footer a:hover { color:<?php echo $pp_hover_link_color; ?>; } body.home #footer a:active, body.home #footer a:hover { color:<?php echo $pp_hover_link_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_button_bg_color = get_option('pp_button_bg_color'); $pp_button_bg_color = get_option('pp_button_bg_color');
if(!empty($pp_button_bg_color)) if (!empty($pp_button_bg_color)) {
{
$pp_button_bg_color_light = '#' . hex_lighter(substr($pp_button_bg_color, 1), 20); $pp_button_bg_color_light = '#' . hex_lighter(substr($pp_button_bg_color, 1), 20);
?> ?>
input[type=submit], input[type=button], a.button { input[type=submit], input[type=button], a.button {
@ -303,14 +272,12 @@ input[type=submit]:active, input[type=button]:active, a.button:active
} }
<?php <?php
} }
?> ?>
<?php <?php
$pp_caption_header_color = get_option('pp_caption_header_color'); $pp_caption_header_color = get_option('pp_caption_header_color');
if(!empty($pp_caption_header_color)) if (!empty($pp_caption_header_color)) {
{
?> ?>
.page_caption h1 .page_caption h1
{ {
@ -318,14 +285,12 @@ input[type=submit]:active, input[type=button]:active, a.button:active
} }
<?php <?php
} }
?> ?>
<?php <?php
$pp_caption_font_color = get_option('pp_caption_font_color'); $pp_caption_font_color = get_option('pp_caption_font_color');
if(!empty($pp_caption_font_color)) if (!empty($pp_caption_font_color)) {
{
?> ?>
.caption_desc .caption_desc
{ {
@ -333,14 +298,12 @@ input[type=submit]:active, input[type=button]:active, a.button:active
} }
<?php <?php
} }
?> ?>
<?php <?php
$pp_button_font_color = get_option('pp_button_font_color'); $pp_button_font_color = get_option('pp_button_font_color');
if(!empty($pp_button_font_color)) if (!empty($pp_button_font_color)) {
{
?> ?>
input[type=submit], input[type=button], a.button { input[type=submit], input[type=button], a.button {
color: <?php echo $pp_button_font_color; ?>; color: <?php echo $pp_button_font_color; ?>;
@ -351,65 +314,54 @@ input[type=submit]:hover, input[type=button]:hover, a.button:hover
} }
<?php <?php
} }
?> ?>
<?php <?php
$pp_button_border_color = get_option('pp_button_border_color'); $pp_button_border_color = get_option('pp_button_border_color');
if(!empty($pp_button_border_color)) if (!empty($pp_button_border_color)) {
{
?> ?>
input[type=submit], input[type=button], a.button { input[type=submit], input[type=button], a.button {
border: 1px solid <?php echo $pp_button_border_color; ?>; border: 1px solid <?php echo $pp_button_border_color; ?>;
} }
<?php <?php
} }
?> ?>
<?php <?php
$pp_footer_font_color = get_option('pp_footer_font_color'); $pp_footer_font_color = get_option('pp_footer_font_color');
if(!empty($pp_footer_font_color)) if (!empty($pp_footer_font_color)) {
{
?> ?>
#footer, #footer ul, #footer h2, body.home div.content_bg, body.home div.content_bg ul { color:<?php echo $pp_footer_font_color; ?>; } #footer, #footer ul, #footer h2, body.home div.content_bg, body.home div.content_bg ul { color:<?php echo $pp_footer_font_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_footer_link_color = get_option('pp_footer_link_color'); $pp_footer_link_color = get_option('pp_footer_link_color');
if(!empty($pp_footer_link_color)) if (!empty($pp_footer_link_color)) {
{
?> ?>
#footer a, #footer a { color:<?php echo $pp_footer_link_color; ?>; }
body.home div.content_bg a { color:<?php echo $pp_footer_link_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_footer_hover_link_color = get_option('pp_footer_hover_link_color'); $pp_footer_hover_link_color = get_option('pp_footer_hover_link_color');
if(!empty($pp_footer_hover_link_color)) if (!empty($pp_footer_hover_link_color)) {
{
?> ?>
#footer a:hover, #footer a:active, #footer a:hover, #footer a:active { color:<?php echo $pp_footer_hover_link_color; ?>; }
body.home div.content_bg a:hover, body.home div.content_bg a:active { color:<?php echo $pp_footer_hover_link_color; ?>; }
<?php <?php
} }
?> ?>
<?php <?php
$pp_slider_opacity = get_option('pp_slider_opacity'); $pp_slider_opacity = get_option('pp_slider_opacity');
if(empty($pp_slider_opacity)) if (empty($pp_slider_opacity)) {
{
$pp_slider_opacity = 40; $pp_slider_opacity = 40;
} }
?> ?>
@ -428,18 +380,18 @@ img.fade {
$pp_custom_css = get_option('pp_custom_css'); $pp_custom_css = get_option('pp_custom_css');
if(!empty($pp_custom_css)) if (!empty($pp_custom_css)) {
{
echo '<style>'; echo '<style>';
echo $pp_custom_css; echo $pp_custom_css;
echo '</style>'; echo '</style>';
} }
?> ?>
<script type="application/javascript">var _prum={id:"51682a2fabe53d0640000000"};var PRUM_EPISODES=PRUM_EPISODES||{};PRUM_EPISODES.q=[];PRUM_EPISODES.mark=function(b,a){PRUM_EPISODES.q.push(["mark",b,a||new Date().getTime()])};PRUM_EPISODES.measure=function(b,a,b){PRUM_EPISODES.q.push(["measure",b,a,b||new Date().getTime()])};PRUM_EPISODES.done=function(a){PRUM_EPISODES.q.push(["done",a])};PRUM_EPISODES.mark("firstbyte");(function(){var b=document.getElementsByTagName("script")[0];var a=document.createElement("script");a.type="text/javascript";a.async=true;a.charset="UTF-8";a.src="//rum-static.pingdom.net/prum.min.js";b.parentNode.insertBefore(a,b)})();</script>
</head> </head>
<?php <?php
/** /**
* Get Current page object * Get Current page object
* */ * */
@ -451,11 +403,9 @@ $page = get_page($post->ID);
* */ * */
$current_page_id = ''; $current_page_id = '';
if(isset($page->ID)) if (isset($page->ID)) {
{
$current_page_id = $page->ID; $current_page_id = $page->ID;
} }
?> ?>
<body <?php body_class(); ?>> <body <?php body_class(); ?>>
@ -473,12 +423,9 @@ if(isset($page->ID))
//get custom logo //get custom logo
$pp_logo = get_option('pp_logo'); $pp_logo = get_option('pp_logo');
if(empty($pp_logo)) if (empty($pp_logo)) {
{
$pp_logo = get_bloginfo('stylesheet_directory') . '/images/logo.png'; $pp_logo = get_bloginfo('stylesheet_directory') . '/images/logo.png';
} }
?> ?>
<a id="custom_logo" href="<?php bloginfo('url'); ?>"><img src="<?php echo $pp_logo ?>" alt=""/></a> <a id="custom_logo" href="<?php bloginfo('url'); ?>"><img src="<?php echo $pp_logo ?>" alt=""/></a>
@ -486,6 +433,19 @@ if(isset($page->ID))
<!-- End logo --> <!-- End logo -->
</div> </div>
<div id="topbar_wrapper">
<div id="topbar_contact">
<h1><a href="<?php echo get_page_link(49); ?>"><?php _e('[:es]Contacto[:en]Contact'); ?></a></h1>
</div>
<div id="topbar_search">
<?php get_search_form(); ?>
</div>
<div id="topbar_qtranslate">
<?php echo qtrans_generateLanguageSelectCode('image'); ?>
</div>
</div>
<!-- Begin main nav --> <!-- Begin main nav -->
<div id="menu_wrapper"> <div id="menu_wrapper">
<div class="left_menu_wrapper"></div> <div class="left_menu_wrapper"></div>
@ -504,14 +464,14 @@ if(isset($page->ID))
<div class="right_menu_wrapper"></div> <div class="right_menu_wrapper"></div>
</div> </div>
<!-- End main nav --> <!-- End main nav -->
<div class="clear"></div>
</div> </div>
</div> </div>
<?php <?php
$pp_gallery_slider_speed = get_option('pp_gallery_slider_speed'); $pp_gallery_slider_speed = get_option('pp_gallery_slider_speed');
if(empty($pp_gallery_slider_speed)) if (empty($pp_gallery_slider_speed)) {
{
$pp_gallery_slider_speed = 5; $pp_gallery_slider_speed = 5;
} }
?> ?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Some files were not shown because too many files have changed in this diff Show More