From 3f52cccce5a09e440e40ca8c4778a6e7b01122f2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 20 Aug 2012 16:58:31 +0000 Subject: [PATCH] =?UTF-8?q?Tarea=20#996=20->=20Cargar=20de=2010=20en=2010?= =?UTF-8?q?=20las=20dedicatorias=20del=20perfil=20Tarea=20#995=20->=20Ajus?= =?UTF-8?q?tar=20el=20texto=20del=20artista=20y=20la=20canci=C3=B3n=20con?= =?UTF-8?q?=20unos=20puntos=20suspensivos=20cuando=20sean=20largos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@105 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6 --- .../dedications/single/dedicated-2-me.php | 2 +- .../single/home-column-dedicated-2-me.php | 2 +- .../single/home-column-my-dedications.php | 2 +- .../dedications/single/my-dedications.php | 2 +- .../themes/score/loop-dedication-data.php | 2 + wp-content/themes/score/style-asong2u.css | 46 +++++++------------ wp-content/themes/score/video-slider.php | 4 +- 7 files changed, 24 insertions(+), 36 deletions(-) diff --git a/wp-content/themes/score/dedications/single/dedicated-2-me.php b/wp-content/themes/score/dedications/single/dedicated-2-me.php index 3be4ac3..44af4e5 100644 --- a/wp-content/themes/score/dedications/single/dedicated-2-me.php +++ b/wp-content/themes/score/dedications/single/dedicated-2-me.php @@ -10,7 +10,7 @@ $args['orderby'] = $orderby; $args['order'] = $order; $args['paged'] = $paged; $args['post_status'] = $post_status; -$args['posts_per_page'] = 3; //$gp_settings['posts_per_page']; +$args['posts_per_page'] = 10; //$gp_settings['posts_per_page']; $args['category'] = get_cat_id('dedication'); $args['meta_key'] = 'ghostpool_destination_user_id'; $args['meta_value'] = $user_id; diff --git a/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php b/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php index 15bad63..accb484 100644 --- a/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php +++ b/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php @@ -8,7 +8,7 @@ $dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) .

3) {?> + if ($count > 10) {?> » diff --git a/wp-content/themes/score/dedications/single/home-column-my-dedications.php b/wp-content/themes/score/dedications/single/home-column-my-dedications.php index befe9ad..6555ca6 100644 --- a/wp-content/themes/score/dedications/single/home-column-my-dedications.php +++ b/wp-content/themes/score/dedications/single/home-column-my-dedications.php @@ -8,7 +8,7 @@ $dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) .

3) {?> + if ($count > 10) {?> » diff --git a/wp-content/themes/score/dedications/single/my-dedications.php b/wp-content/themes/score/dedications/single/my-dedications.php index cba7c6b..2d0159b 100644 --- a/wp-content/themes/score/dedications/single/my-dedications.php +++ b/wp-content/themes/score/dedications/single/my-dedications.php @@ -10,7 +10,7 @@ $args['orderby'] = $orderby; $args['order'] = $order; $args['paged'] = $paged; $args['post_status'] = $post_status; -$args['posts_per_page'] = 3; //$gp_settings['posts_per_page']; +$args['posts_per_page'] = 10; //$gp_settings['posts_per_page']; $args['category'] = get_cat_id('dedication'); $args['author'] = $user_id; diff --git a/wp-content/themes/score/loop-dedication-data.php b/wp-content/themes/score/loop-dedication-data.php index f1ff564..1117595 100644 --- a/wp-content/themes/score/loop-dedication-data.php +++ b/wp-content/themes/score/loop-dedication-data.php @@ -20,7 +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['song'] = get_post_meta($post->ID, 'ghostpool_dedication_song', true); +$gp_settings['song_short'] = cutstr($gp_settings['song'], 80, '...'); $gp_settings['artist_song'] = $gp_settings['artist'] . '. ' . $gp_settings['song']; $gp_settings['artist_song_span'] = '' . $gp_settings['artist'] . '. ' . $gp_settings['song']; $gp_settings['artist_song_span_short'] = cutstr($gp_settings['artist_song_span'], 38, ''); diff --git a/wp-content/themes/score/style-asong2u.css b/wp-content/themes/score/style-asong2u.css index 52b0fea..ebee73e 100644 --- a/wp-content/themes/score/style-asong2u.css +++ b/wp-content/themes/score/style-asong2u.css @@ -353,12 +353,12 @@ ul.navmenu li a.logout:hover { #dedicationFooter_container .button { float: right; margin-left: 5px; - margin-top: 48px; + margin-top: 40px; width: 193px; font-size: 13px; - font-weight: bold; - padding: 3px 0; - line-height: 19px; + font-weight: 800; + padding: 6px 0; + line-height: 21px; } #dedicationFooter_container h3 { @@ -956,23 +956,17 @@ input[type="submit"], input[type="reset"], input[type="button"], button, .bp-wrapper #content-wrapper .activity-meta a:hover span, a.button { font-size: 13px; - font-weight: bold; - line-height: 19px; + font-weight: 800; + line-height: 30px; + text-transform: uppercase; text-align: center; padding: 5px 10px; cursor: pointer; - color: #ffffff; + color: #B0F0F3; - background: -moz-linear-gradient( - top, - #179dc2 0%, - #0f3d5f); - background: -webkit-gradient( - linear, left top, left bottom, - from(#179dc2), - to(#0f3d5f)); - border: 1px outset #34404b; + background: #203A75; + border: 1px solid #1E263A; } input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover, @@ -987,15 +981,9 @@ input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hove .bp-wrapper #content-wrapper div.item-list-tabs ul li a:hover span, .bp-wrapper #content-wrapper .activity-meta a span, a.button:hover { - background: -moz-linear-gradient( - top, - #7cb9d0 0%, - #466b94); - background: -webkit-gradient( - linear, left top, left bottom, - from(#7cb9d0), - to(#466b94)); - border: 1px outset #7CB9D0; + color: #fff; + background: #0059b5; + border: 1px solid #88c4c2; } input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active, button:active, @@ -1010,11 +998,9 @@ input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:ac .bp-wrapper #content-wrapper div.item-list-tabs ul li a:active span, .bp-wrapper #content-wrapper .activity-meta a span, a.button:active { - background: #0f3d5f; - border: 1px inset #34404b; - -moz-box-shadow: inset 0 0 10px #262630; - -webkit-box-shadow: inset 0 0 10px #262630; - box-shadow: inset 0 0 10px #262630; + color: #fff; + background: #0059b5; + border: 1px solid #88c4c2; } diff --git a/wp-content/themes/score/video-slider.php b/wp-content/themes/score/video-slider.php index 6411e5d..c6b1987 100644 --- a/wp-content/themes/score/video-slider.php +++ b/wp-content/themes/score/video-slider.php @@ -128,8 +128,8 @@ if (have_posts()) {
  • - - + +