public function ajaxNoAccess($errorMessage)
    {
        return sprintf(
            '<div class="alert alert-danger">
                <p><strong>%s:</strong> %s</p>
                <p><a href="%s">%s</a></p>
            </div>',
            Piwik::translate('General_Error'),
            htmlentities($errorMessage, Common::HTML_ENCODING_QUOTE_STYLE, 'UTF-8', $doubleEncode = false),
            'index.php?module=' . Piwik::getLoginPluginName(),
            Piwik::translate('Login_LogIn')
        );
    }
public function ajaxNoAccess($errorMessage)
    {
        return sprintf(
            '<div class="alert alert-danger">
                <p><strong>%s:</strong> %s</p>
                <p><a href="%s">%s</a></p>
            </div>',
            Piwik::translate('General_Error'),
            htmlentities($errorMessage, Common::HTML_ENCODING_QUOTE_STYLE, 'UTF-8', $doubleEncode = false),
            'index.php?module=' . Piwik::getLoginPluginName(),
            Piwik::translate('Login_LogIn')
        );
    }
public function ajaxNoAccess ( $ errorMessage ) { return sprintf ( '<div class="alert alert-danger">
                <p><strong>%s:</strong> %s</p>
                <p><a href="%s">%s</a></p>
            </div>' , Piwik :: translate ( 'General_Error' ) , htmlentities ( $ errorMessage , Common :: HTML_ENCODING_QUOTE_STYLE , 'UTF-8' , $ doubleEncode = false ) , 'index.php?module=' . Piwik :: getLoginPluginName ( ) , Piwik :: translate ( 'Login_LogIn' ) ) ; }
Error message shown when an AJAX request has no access

@param string $errorMessage
@return string
Error message shown when an AJAX request has no access