11 May
2006
11 May
'06
1:29 a.m.
On 5/11/06, Just Justin <rocketfuel@spaceship.com> wrote:
It would be great if instead of this:
$links[] = l(t('read more'), "node/$node->nid", array('title' => t('Read the rest of this posting.'), 'class' => 'read-more'));
Modules were doing something like this:
$links['mymodule'] = array('title' => t('Read the rest of this posting.'), 'url' => "node/$node->nid", 'class' => 'read-more');
Smells like a FAPI-ified hook_link() to me. Mmmm... FAPI-ifyyyyy... +1. Cheers, Jaza.