1
1
Fork 0

Icons as CSS classes, hide net/home/mail/notify-update divs with no value

This commit is contained in:
fabrixxm 2011-04-28 19:01:35 +02:00
commit daa7dc983b
16 changed files with 133 additions and 42 deletions

View file

@ -2631,7 +2631,7 @@ if(! function_exists('get_plink')) {
function get_plink($item) {
$a = get_app();
$plink = (((x($item,'plink')) && (! $item['private'])) ? '<div class="wall-item-links-wrapper"><a href="'
. $item['plink'] . '" title="' . t('link to source') . '" target="external-link" ><img src="' . $a->get_baseurl() . '/images/remote-link.gif" alt="' . t('link to source') . '" /></a></div>' : '');
. $item['plink'] . '" title="' . t('link to source') . '" target="external-link" class="icon remote-link"></a></div>' : '');
return $plink;
}}