Tarea #1006 -> Meter el bloque de agradecimiento al usuario en la columna derecha, encima de WE RECOMMEND

Tarea #1016 -> Logo de arriba en blanco con sombra


git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@107 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-22 10:41:24 +00:00
parent 514c8a2ba6
commit b63acf46d7
5 changed files with 46 additions and 21 deletions

View File

@ -43,8 +43,9 @@ class SidebarPosts extends WP_Widget {
<div class="posts-widget <?php echo $css_class; ?>"> <div class="posts-widget <?php echo $css_class; ?>">
<?php <?php
if ($title) if ($title) {
echo $before_title . $title . $after_title; echo $before_title . $title . $after_title;
}
$args = array( $args = array(
'posts_per_page' => $number, 'posts_per_page' => $number,
@ -61,8 +62,9 @@ class SidebarPosts extends WP_Widget {
// Column Width // Column Width
$column_width = "300"; $column_width = "300";
$counter = 0; $counter = 0;?>
<div class="posts">
<?php
if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post();
include(dirname(__FILE__).'/../../../loop-dedication-data.php'); include(dirname(__FILE__).'/../../../loop-dedication-data.php');
$counter++; $counter++;
@ -117,8 +119,8 @@ class SidebarPosts extends WP_Widget {
if ($post_from_to == "Yes") { if ($post_from_to == "Yes") {
?> ?>
<div class="post-meta"> <div class="post-meta">
<span>FROM: <?php echo $gp_settings['from_user_link']; ?></span><br/> <span> <?php echo $gp_settings['from_flag']; ?> FROM: <?php echo $gp_settings['from_user_link']; ?></span><br/>
<span>TO: <?php echo $gp_settings['to_user_link']; ?></span> <span> <?php echo $gp_settings['to_flag']; ?> TO: <?php echo $gp_settings['to_user_link']; ?></span>
</div> </div>
<?php } ?> <?php } ?>
@ -142,7 +144,9 @@ class SidebarPosts extends WP_Widget {
<?php endwhile; ?> <?php endwhile; ?>
<br class="clear"/> <br class="clear"/>
<?php echo $after_text . "\n"; ?> <?php echo $after_text . "\n"; ?>
<?php endif; <?php endif; ?>
</div>
<?php
$wp_query = null; $wp_query = null;
$wp_query = $temp; $wp_query = $temp;
wp_reset_query(); ?> wp_reset_query(); ?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -220,4 +220,11 @@ jQuery(window).ready(function() {
} }
}); });
jQuery(document).ready(function(){
jQuery('#sidebar .sidebarposts .top_10 .posts').hide();
jQuery('#sidebar .sidebarposts .top_10 h3').click(function() {
jQuery('#sidebar .sidebarposts .top_10 .posts').toggle('slow', function() {});
});
});
</script> </script>

View File

@ -20,9 +20,9 @@ if(get_post_meta($post->ID, 'ghostpool_thumbnail_height', true) && get_post_meta
// Song data // Song data
$gp_settings['video'] = get_post_meta($post->ID, 'ghostpool_dedication_url', true); $gp_settings['video'] = get_post_meta($post->ID, 'ghostpool_dedication_url', true);
$gp_settings['artist'] = get_post_meta($post->ID, 'ghostpool_dedication_artist', true); $gp_settings['artist'] = get_post_meta($post->ID, 'ghostpool_dedication_artist', true);
$gp_settings['artist_short'] = cutstr($gp_settings['artist'], 80, '...'); $gp_settings['artist_short'] = cutstr($gp_settings['artist'], 47, '...');
$gp_settings['song'] = get_post_meta($post->ID, 'ghostpool_dedication_song', true); $gp_settings['song'] = get_post_meta($post->ID, 'ghostpool_dedication_song', true);
$gp_settings['song_short'] = cutstr($gp_settings['song'], 80, '...'); $gp_settings['song_short'] = cutstr($gp_settings['song'], 47, '...');
$gp_settings['artist_song'] = $gp_settings['artist'] . '. ' . $gp_settings['song']; $gp_settings['artist_song'] = $gp_settings['artist'] . '. ' . $gp_settings['song'];
$gp_settings['artist_song_span'] = '<span>' . $gp_settings['artist'] . '</span>. ' . $gp_settings['song']; $gp_settings['artist_song_span'] = '<span>' . $gp_settings['artist'] . '</span>. ' . $gp_settings['song'];
$gp_settings['artist_song_span_short'] = cutstr($gp_settings['artist_song_span'], 38, ''); $gp_settings['artist_song_span_short'] = cutstr($gp_settings['artist_song_span'], 38, '');

View File

@ -414,7 +414,7 @@ ul.navmenu li a.logout:hover {
#dedicationComments_container { #dedicationComments_container {
display: inline-block; display: inline-block;
width: 73.51% !important; width: 90% !important;
} }
#dedicationComments_container #comments { #dedicationComments_container #comments {
@ -622,23 +622,27 @@ ul.navmenu li a.logout:hover {
} }
/* Top members widget */ /* Top members widget */
#sidebar-home .widget.top_members { .widget.top_members {
color: #bf2d2d; color: #bf2d2d;
width: 195px; width: 195px;
float: left; float: left;
} }
#sidebar-home .widget.top_members a { .widget.top_members a {
color: #bf2d2d; color: #bf2d2d;
} }
#sidebar-home .widget.top_members h3 { .widget.top_members h3 {
color: #bf2d2d !important; color: #bf2d2d !important;
font-size: 12px; font-size: 12px;
text-transform: uppercase; text-transform: uppercase;
border: none;
background: none;
margin: 0;
padding: 0;
} }
#sidebar-home .widget.top_members .post-text { .widget.top_members .post-text {
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
@ -646,7 +650,7 @@ ul.navmenu li a.logout:hover {
heigth: 38px; heigth: 38px;
} }
#sidebar-home .widget.top_members a.button { .widget.top_members a.button {
color: #bf2d2d; color: #bf2d2d;
text-shadow: none; text-shadow: none;
background: #f4d2e3; background: #f4d2e3;
@ -686,18 +690,26 @@ ul.navmenu li a.logout:hover {
} }
.widget.sidebarposts .post-loop .post-text { .widget.sidebarposts .post-loop .post-text {
float: right; float: left;
width: 58%; margin-left: 10px;
width: 100%;
overflow: visible; overflow: visible;
} }
.widget.sidebarposts .post-loop .post-text img.dedicationFlag {
height: 16px;
vertical-align: middle;
width: 16px;
margin: 0;
}
.widget.sidebarposts .post-loop .post-thumbnail { .widget.sidebarposts .post-loop .post-thumbnail {
float: left; text-align: center;
width: 75px; width: 100%;
} }
.widget.sidebarposts a { .widget.sidebarposts a {
color: #34a089 !important; color: #2E374A !important;
} }
.widget.sidebarposts a span { .widget.sidebarposts a span {
@ -705,7 +717,7 @@ ul.navmenu li a.logout:hover {
} }
.widget.sidebarposts .post-loop .post-meta { .widget.sidebarposts .post-loop .post-meta {
color: #34a089; color: #2E374A;
white-space: nowrap; white-space: nowrap;
line-height: 19px; line-height: 19px;
} }
@ -747,7 +759,7 @@ ul.navmenu li a.logout:hover {
} }
.widget.sidebarposts .top_10 { .widget.sidebarposts .top_10 {
margin-top: -27px; /*margin-top: -27px;*/
} }
.widget.sidebarposts .top_10 h3 { .widget.sidebarposts .top_10 h3 {
@ -763,6 +775,7 @@ ul.navmenu li a.logout:hover {
margin-bottom: 5px; margin-bottom: 5px;
color: #34A089 !important; color: #34A089 !important;
text-align: center; text-align: center;
cursor: pointer;
} }
@ -1117,6 +1130,7 @@ h3.comments {
.home-page #respond textarea { .home-page #respond textarea {
height: 90px !important; height: 90px !important;
width: 100%; width: 100%;
max-width: none;
} }
#respond h3 { #respond h3 {