- Traducción de la plantilla

- Cambio de la home para meter banner y scroll de fotos más pequeño
- Arreglo de fallo multiidioma en sección 'Tu'


git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@40 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
David Arranz 2011-09-30 17:50:47 +00:00
parent f61ddd0a62
commit 1a83f39593
8 changed files with 78 additions and 32 deletions

View File

@ -23,6 +23,10 @@ pre, code, tt
background-color: #000;
}
body.home #footer, body.home #copyright {
background-color: #fff;
}
#header_wrapper
{
background: #0077D4; /* url('../images/featuredbg.jpg') no-repeat top ;*/
@ -212,13 +216,13 @@ pre, code, tt
.content_bg, #content_wrapper.content_bg
{
background: #fff;
-moz-box-shadow: 0 1px 3px #000;
-webkit-box-shadow: 0 1px 3px #000;
box-shadow: 0px 1px 3px #000;
/*color: #ccc;*/
text-shadow: none; /*0 1px 1px #003756;*/
}
body.home div.content_bg {
background: #000;
}
h1, h2, h3, h4, h5, .sidebar_content h1, .sidebar_content h2, .sidebar_content h3, .sidebar_content h4, .sidebar_content h5, .sidebar_content h6
{
text-shadow: none; /*0 1px 1px #003756;*/
@ -639,3 +643,22 @@ li.gce-feed-1 {
background: none;
}
.home-qtranslate-chooser {
}
.home-qtranslate-chooser ul {
text-align: center;
margin: 0px auto;
width: 240px;
}
.home-qtranslate-chooser li {
float: left;
list-style: none;
width: 120px;
margin: 25px 0;
}
#content_wrapper .sidebar .content .sidebar_widget li ul.twitter li, #footer .sidebar_widget li ul.twitter li, ul.twitter li {
background-image:url(../images/icon_twitter.png);
}

View File

@ -7,7 +7,7 @@
?>
<!-- Begin footer -->
<div id="footer">
<div id="footer" class="clear">
<ul class="sidebar_widget">
<?php dynamic_sidebar('Footer Sidebar'); ?>
</ul>

View File

@ -244,7 +244,8 @@ h6 { font-size:<?php echo $pp_h6_size; ?>px; }
if(!empty($pp_font_color))
{
?>
body, .styled_box_content, blockquote h2, label, #searchform label { color:<?php echo $pp_font_color; ?>; }
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; ?>; }
<?php
}
@ -256,7 +257,8 @@ body, .styled_box_content, blockquote h2, label, #searchform label { color:<?php
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 { color:<?php echo $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,
body.home #footer a { color:<?php echo $pp_link_color; ?>; }
<?php
}
@ -268,7 +270,8 @@ a, .post_header a, .post_header h3 a, #content_wrapper .sidebar a, #content_wrap
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 { color:<?php echo $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,
body.home #footer a:active, body.home #footer a:hover { color:<?php echo $pp_hover_link_color; ?>; }
<?php
}
@ -367,7 +370,7 @@ input[type=submit], input[type=button], a.button {
if(!empty($pp_footer_font_color))
{
?>
#footer, #footer ul, #footer h2 { 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
}
@ -379,7 +382,8 @@ input[type=submit], input[type=button], a.button {
if(!empty($pp_footer_link_color))
{
?>
#footer a { color:<?php echo $pp_footer_link_color; ?>; }
#footer a,
body.home div.content_bg a { color:<?php echo $pp_footer_link_color; ?>; }
<?php
}
@ -391,7 +395,8 @@ input[type=submit], input[type=button], a.button {
if(!empty($pp_footer_hover_link_color))
{
?>
#footer a:hover, #footer a:active { color:<?php echo $pp_footer_hover_link_color; ?>; }
#footer a:hover, #footer a:active,
body.home div.content_bg a:hover, body.home div.content_bg a:active { color:<?php echo $pp_footer_hover_link_color; ?>; }
<?php
}

View File

@ -197,28 +197,31 @@ get_header(); ?>
}
?>
<?php /*
<div class="content_bg">
<div class="standard_wrapper">
<div class="standard_wrapper clear">
$pp_home_left_content = get_option('pp_home_left_content');
$pp_home_right_content = get_option('pp_home_right_content');
<?php $pp_home_left_content = get_option('pp_home_left_content'); ?>
<?php $pp_home_right_content = get_option('pp_home_right_content'); ?>
<br class="clear"/><br/><br/>
<div class="two_third">
<?php echo html_entity_decode(stripslashes($pp_home_left_content)); ?>
</div>
<div class="one_third last">
<?php echo html_entity_decode(stripslashes($pp_home_right_content)); ?>
</div>
<br class="clear"/><br/><br/><br/><br/>
<?php if (trim($pp_home_left_content)) { ?>
<div class="two_third">
<?php echo html_entity_decode(stripslashes($pp_home_left_content)); ?>
</div>
<?php } ?>
<?php if (trim($pp_home_right_content)) { ?>
<div class="one_third last">
<?php echo html_entity_decode(stripslashes($pp_home_right_content)); ?>
</div>
<?php } ?>
<div class="home-qtranslate-chooser clear">
<?php echo qtrans_generateLanguageSelectCode('both'); ?>
</div>
<div class="clear"></div>
</div>
</div>
*/ ?>
<?php get_footer(); ?>

View File

@ -106,3 +106,18 @@ msgstr "Responder"
msgid "(Your comment is awaiting moderation.)"
msgstr "(Tu comentario está pendiente de revisión)"
#. Text in echo
#: comments-form.php:4
msgid "You must be"
msgstr "Debes "
#. Text in echo
#: comments-form.php:4
msgid "logged in"
msgstr "iniciar sesión"
#. Text in echo
#: comments-form.php:4
msgid "to post a comment."
msgstr "para realizar un comentario."

View File

@ -178,8 +178,8 @@ if (isset($page_photo_arr) && !empty($page_photo_arr)) {
$permalink_url = get_permalink($captura_item->ID);
$titulo = strip_tags(strip_shortcodes($captura_item->post_title));
$texto = strip_tags(strip_shortcodes($captura_item->post_content));
$titulo = strip_tags(strip_shortcodes(__($captura_item->post_title)));
$texto = strip_tags(strip_shortcodes(__($captura_item->post_content)));
if ($texto != "") {
$texto = "&#013;" . $texto;

View File

@ -1,7 +1,7 @@
<?php if ('open' == $post->comment_status) : ?>
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p><br/>
<p><?php _e('You must be', 'lqdvi');?> <a href="<?php echo wp_login_url( get_permalink() ); ?>"><?php _e('logged in', 'lqdvi');?></a> <?php _e('to post a comment.', 'lqdvi');?></p><br/>
<?php else : ?>
<!-- Start of form -->
@ -9,7 +9,7 @@
<fieldset>
<br/>
<h5 class="cufon"><?php _e('Wanna say something?', 'lqdvi');?></h5>
<?php if ( is_user_logged_in() ) : ?>