blob: 78c18bf281667abdcfcfd0cfde8261a36cf18128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{% 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) {
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 %}
|