Commit 6365aead authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Made the 'Add custom link' use l().

parent 1194a1c5
......@@ -63,7 +63,7 @@ function xmlsitemap_custom_list_links() {
'#theme' => 'table',
'#header' => $header,
'#rows' => $rows,
'#empty' => t('No custom links available. <a href="@link">Add custom link</a>.', array('@link' => url('admin/config/search/xmlsitemap/custom/add', array('query' => $destination)))),
'#empty' => t('No custom links available.') . ' ' . l(t('Add custom link'), 'admin/config/search/xmlsitemap/custom/add', array('query' => $destination)),
);
$build['xmlsitemap_custom_pager'] = array('#theme' => 'pager');
return $build;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment