Skip to content

Commit

Permalink
added links to impressum and gdpr and matomo code
Browse files Browse the repository at this point in the history
  • Loading branch information
windauer committed Mar 20, 2024
1 parent 121e512 commit 18bba5b
Show file tree
Hide file tree
Showing 36 changed files with 52 additions and 3 deletions.
11 changes: 11 additions & 0 deletions resources/scripts/matomo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.existsolutions.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '3']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
1 change: 1 addition & 0 deletions templates/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
});
}
</script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/basic/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ <h2><pb-i18n key="dialogs.error">Error</pb-i18n></h2>
</pb-page>
<div class="splash"></div>
<script src="resources/scripts/browse.js"></script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/basic/templates/odd-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@
</app-header-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
5 changes: 4 additions & 1 deletion templates/dts.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ <h3>Local TEI Publisher</h3>
TEI Publisher <span data-template="pages:version"/> /
web components <pb-version></pb-version> /
API <span data-template="pages:api-version"/> /
background by <a href="http://www.freepik.com">Freepik</a>
background by <a href="http://www.freepik.com">Freepik</a> /
<a href="https://www.e-editiones.org/pages/imprint/">Imprint</a> /
<a href="https://www.e-editiones.org/pages/gdpr/">Data Protection</a>
</footer>
</app-header-layout>
</app-drawer-layout>
Expand Down Expand Up @@ -375,6 +377,7 @@ <h2><pb-i18n key="dialogs.error">Error</pb-i18n></h2>
document.getElementById('dts').endpoints = dtsConfig;
});
</script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/error-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ <h1 class="tp-title">An error has occurred</h1>
</main>
</app-header-layout>
</pb-page>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
6 changes: 4 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ <h1 class="tp-title">The Instant Publishing Toolbox<small data-template="pages:v
TEI Publisher <span data-template="pages:version"/> /
web components <pb-version></pb-version> /
API <span data-template="pages:api-version"/> /
background by <a href="http://www.freepik.com">Freepik</a>
background by <a href="http://www.freepik.com">Freepik</a> /
<a href="https://www.e-editiones.org/pages/imprint/">Imprint</a> /
<a href="https://www.e-editiones.org/pages/gdpr/">Data Protection</a>
</footer>
</app-header-layout>
</app-drawer-layout>
Expand Down Expand Up @@ -162,6 +164,6 @@ <h2><pb-i18n key="dialogs.error">Error</pb-i18n></h2>
</pb-page>
<div class="splash"></div>
<script src="resources/scripts/browse.js"></script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/odd-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@
</app-header-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/adagia.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,6 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"/>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/annotate.html
Original file line number Diff line number Diff line change
Expand Up @@ -442,5 +442,6 @@ <h3>
</dialog>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/cortez-with-translation.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/cortez.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/dantiscus.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@ <h2>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ <h3 slot="title"><pb-i18n key="menu.admin.recompile"></pb-i18n></h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/dta.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/ebbe.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,6 @@ <h3 slot="collapse-trigger">
</app-drawer-layout>
</pb-page>
<div class="splash"/>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/facsimile.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/jats.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,6 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/lelewel.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@
</app-drawer-layout>
</pb-page>
<div class="splash"/>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/letter.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/markdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/mei.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@ <h3>
</pb-page>
<div class="splash"></div>
<script type="module" src="pb-mei.js" data-template="pages:load-components"></script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/offset-alignment.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,6 @@
</app-header-layout>
</app-drawer-layout>
</pb-page>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/osinski.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@ <h3 slot="collapse-trigger">
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/potocki.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@ <h2 slot="collapse-trigger">Commentary</h2>
</app-drawer-layout>
</pb-page>
<div class="splash"/>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/shakespeare.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/tei-lex.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@
</app-drawer-layout>
</pb-page>
<div class="splash"/>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/time-us.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,6 @@
}
});
</script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/translation.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/vangogh.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/pages/view-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/pages/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,6 @@ <h3>
</app-drawer-layout>
</pb-page>
<div class="splash"></div>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/places.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@
});
});
</script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/print-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
});
});
</script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,6 @@
</pb-page>
<div class="splash"></div>
<script src="resources/scripts/browse.js"></script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions templates/train-ner.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,6 @@ <h2><pb-i18n key="ner.output">Training Output</pb-i18n></h2>
});

</script>
<script type="text/javascript" src="resources/scripts/matomo.js"></script>
</body>
</html>

0 comments on commit 18bba5b

Please sign in to comment.