Anomalie #299 » quotes.module.patch
quotes.module 2010-10-27 15:08:20.000000000 +0200 | ||
---|---|---|
642 | 642 |
); |
643 | 643 |
break; |
644 | 644 |
} |
645 |
if ($node->comment && !empty($view_text)) { |
|
645 |
// Frederic Couchet - fcouchet@april.org - 26/09/2008 |
|
646 |
// to have a link to the node citation on the block 'citation du moment' |
|
647 |
// Module patche en 2008 sur Drupal 5.11, patch remis sur Drupal 6 le 27/10/2010 |
|
648 |
if (!empty($view_text)) { |
|
646 | 649 |
$quote->content['view_link'] = array( |
647 |
'#value' => '<div class="quotes-view-link">'. drupal_get_path_alias(l($view_text, 'node/'. $nid)) .'</div>', |
|
650 |
// Benjamin Drieu - Add a clear:both div. 02/10/2008 |
|
651 |
'#value' => '<div class="quotes-more-link">'. drupal_get_path_alias(l($view_text, 'node/'. $nid)) .'</div><div style="clear:both;"></div>', |
|
648 | 652 |
'#weight' => $link_weight, |
649 | 653 |
); |
650 | 654 |
} |