mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-09-28 13:09:05 +00:00
Add link as separate entry in array
This commit is contained in:
parent
896efa4a6a
commit
b7a90bad2c
@ -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',
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user