- Patch #866220 by David_Rothstein: URL parameter for theme_more_link() should not pass url().
parent
c6f65d2e59
commit
dd781f99ea
|
@ -245,7 +245,7 @@ function blog_block_view($delta = '') {
|
|||
$block['content']['blog_list'] = $node_title_list;
|
||||
$block['content']['blog_more'] = array(
|
||||
'#theme' => 'more_link',
|
||||
'#url' => url('blog'),
|
||||
'#url' => 'blog',
|
||||
'#title' => t('Read the latest blog entries.'),
|
||||
);
|
||||
|
||||
|
|
|
@ -700,7 +700,7 @@ function forum_block_view_pre_render($elements) {
|
|||
$result = $elements['#query']->execute();
|
||||
if ($node_title_list = node_title_list($result)) {
|
||||
$elements['forum_list'] = $node_title_list;
|
||||
$elements['forum_more'] = array('#theme' => 'more_link', '#url' => url('forum'), '#title' => t('Read the latest forum topics.'));
|
||||
$elements['forum_more'] = array('#theme' => 'more_link', '#url' => 'forum', '#title' => t('Read the latest forum topics.'));
|
||||
}
|
||||
return $elements;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue