public function getMessageExceededLicenses()
{
$plugins = $this->getPluginNamesOfInvalidLicenses();
if (empty($plugins['exceeded'])) {
return;
}
$plugins = '<strong>' . implode('</strong>, <strong>', $plugins['exceeded']) . '</strong>';
$loginUrl = $this->getLoginLink();
$loginUrlEnd = '';
if (!empty($loginUrl)) {
$loginUrlEnd = '</a>';
}
$message = $this->translator->translate('Marketplace_LicenseExceededDescription', array($plugins, '<br/>', "<strong>" . $loginUrl, $loginUrlEnd . "</strong>"));
if (Piwik::hasUserSuperUserAccess()) {
$message .= ' ' . $this->getSubscritionSummaryMessage();
}
return $message;
}