HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/matomo.circ/plugins/Overlay/templates/index_noframe.twig
{% extends 'dashboard.twig' %}

{% block content %}
<h1>{{ 'Overlay_Overlay'|translate }}</h1>

<div id="overlayNoFrame">

    <script type="text/javascript">
        var newLocation = 'index.php?module=Overlay&action=startOverlaySession&idSite={{ idSite }}&period={{ period }}&date={{ date }}&segment={{ segment }}';
        if (piwik.shouldPropagateTokenAuth) {
            if (!piwik.broadcast.isWidgetizeRequestWithoutSession()) {
                newLocation += '&force_api_session=1';
            }
            newLocation += '&token_auth=' + piwik.token_auth;
        }

        var locationParts = window.location.href.split('#');
        if (locationParts.length > 1) {
            var url = broadcast.getParamValue('l', locationParts[1]);
            url = Overlay_Helper.decodeFrameUrl(url);
            newLocation += '#' + url;
        }
        window.location.href = newLocation;
    </script>

</div>
{% endblock %}