Tarea #1028 -> El aviso "NEW" en las miniaturas sólo salen en el perfil del usuario, en las dedicatorias que ha recibido y no ha visto todavía
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@129 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
0cf8b53bf3
commit
825b2be8e7
@ -27,7 +27,6 @@ $dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) .
|
||||
<div class="post-thumbnail<?php if ($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
||||
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||
<?php if (($theme_show_new_label) && ($gp_settings['unreaded'])) { ?><span class="new-label"></span><?php } ?>
|
||||
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
||||
<img width="<?php echo $image['width']; ?>" height="<?php echo $image['height']; ?>" src="<?php echo $image['url']; ?>" alt="<?php if (get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) {
|
||||
echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true);
|
||||
|
||||
@ -78,7 +78,6 @@ query_posts($args);
|
||||
<div class="post-thumbnail<?php if($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
||||
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||
<?php if (($theme_show_new_label) && ($gp_settings['unreaded'])) { ?><span class="new-label"></span><?php } ?>
|
||||
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
||||
<img width="<?php echo $image['width']; ?>" height="<?php echo $image['height']; ?>" src="<?php echo $image['url']; ?>" alt="<?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?>" />
|
||||
</a>
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
<div class="post-thumbnail<?php if($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
||||
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||
<?php if (($theme_show_new_label) && ($gp_settings['unreaded'])) { ?><span class="new-label"></span><?php } ?>
|
||||
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
||||
<img width="<?php echo $image['width']; ?>" height="<?php echo $image['height']; ?>" src="<?php echo $image['url']; ?>" alt="<?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?>" />
|
||||
</a>
|
||||
|
||||
@ -131,7 +131,7 @@ if (have_posts()) {
|
||||
<span id="postdata-link-<?php echo $slide_counter; ?>"><?php the_permalink(); ?></span>
|
||||
<span id="postdata-extlink-<?php echo $slide_counter; ?>"><?php echo $gp_settings['enc_link']; ?></span>
|
||||
<span id="postdata-comments-<?php echo $slide_counter; ?>"></span>
|
||||
<?php if (($theme_show_new_label) && ($gp_settings['unreaded'])) { ?><span id="postdata-mark-read-<?php echo $slide_counter; ?>"><?php echo mar_read_unread_links('', '', false); ?></span><?php } ?>
|
||||
<?php if (($theme_show_new_label) && ($gp_settings['unreaded'])) { ?><span id="postdata-mark-read-<?php echo $slide_counter; ?>"><?php echo mar_read_unread_links('', '', false); ?></span><?php } ?>
|
||||
<span id="postdata-from-to-<?php echo $slide_counter; ?>">
|
||||
<?php echo $gp_settings['from_flag']; ?><span>FROM: <?php echo $gp_settings['from_user_link']; ?></span>
|
||||
<?php echo $gp_settings['to_flag']; ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user