Add link as separate entry in array

This commit is contained in:
chrisdavenport 2016-12-29 23:48:23 +00:00
parent 896efa4a6a
commit b7a90bad2c
1 changed files with 2 additions and 4 deletions

View File

@ -54,13 +54,11 @@ class PlgSystemWeblinks extends JPlugin
return array();
}
// Link to web links component page.
$adminLink = JUri::root() . 'administrator/index.php?option=com_weblinks&view=weblinks&filter[published]=1';
return array(array(
'title' => JText::sprintf('PLG_SYSTEM_WEBLINKS_STATISTICS', $adminLink),
'title' => JText::sprintf('PLG_SYSTEM_WEBLINKS_STATISTICS'),
'icon' => 'out-2',
'data' => $links,
'link' => JUri::root() . 'administrator/index.php?option=com_weblinks&view=weblinks&filter[published]=1',
));
}
}