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

View File

@ -20,9 +20,9 @@ if(get_post_meta($post->ID, 'ghostpool_thumbnail_height', true) && get_post_meta
// Song data
$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_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_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_span'] = '<span>' . $gp_settings['artist'] . '</span>. ' . $gp_settings['song'];
$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 {
display: inline-block;
width: 73.51% !important;
width: 90% !important;
}
#dedicationComments_container #comments {
@ -622,23 +622,27 @@ ul.navmenu li a.logout:hover {
}
/* Top members widget */
#sidebar-home .widget.top_members {
.widget.top_members {
color: #bf2d2d;
width: 195px;
float: left;
}
#sidebar-home .widget.top_members a {
.widget.top_members a {
color: #bf2d2d;
}
#sidebar-home .widget.top_members h3 {
.widget.top_members h3 {
color: #bf2d2d !important;
font-size: 12px;
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;
font-size: 12px;
font-weight: bold;
@ -646,7 +650,7 @@ ul.navmenu li a.logout:hover {
heigth: 38px;
}
#sidebar-home .widget.top_members a.button {
.widget.top_members a.button {
color: #bf2d2d;
text-shadow: none;
background: #f4d2e3;
@ -686,18 +690,26 @@ ul.navmenu li a.logout:hover {
}
.widget.sidebarposts .post-loop .post-text {
float: right;
width: 58%;
float: left;
margin-left: 10px;
width: 100%;
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 {
float: left;
width: 75px;
text-align: center;
width: 100%;
}
.widget.sidebarposts a {
color: #34a089 !important;
color: #2E374A !important;
}
.widget.sidebarposts a span {
@ -705,7 +717,7 @@ ul.navmenu li a.logout:hover {
}
.widget.sidebarposts .post-loop .post-meta {
color: #34a089;
color: #2E374A;
white-space: nowrap;
line-height: 19px;
}
@ -747,7 +759,7 @@ ul.navmenu li a.logout:hover {
}
.widget.sidebarposts .top_10 {
margin-top: -27px;
/*margin-top: -27px;*/
}
.widget.sidebarposts .top_10 h3 {
@ -763,6 +775,7 @@ ul.navmenu li a.logout:hover {
margin-bottom: 5px;
color: #34A089 !important;
text-align: center;
cursor: pointer;
}
@ -1117,6 +1130,7 @@ h3.comments {
.home-page #respond textarea {
height: 90px !important;
width: 100%;
max-width: none;
}
#respond h3 {