source: spip-zone/_plugins_/woopra/woopra_options.php @ 117558

Last change on this file since 117558 was 30010, checked in by real3t@…, 11 years ago

Suite aux retours dans le forum, mise à jour complète du plugin.

File size: 429 bytes
Line 
1<?php
2
3function woopra_insert_head($flux) {
4        $script_woopra = <<<EOF
5<!-- Woopra Code Start -->
6<script type="text/javascript">
7    var _wh = ((document.location.protocol=='https:') ? "https://sec1.woopra.com" : "http://static.woopra.com");
8    document.write(unescape("%3Cscript src='" + _wh + "/js/woopra.js' type='text/javascript'%3E%3C/script%3E"));
9</script>
10<!-- Woopra Code End -->
11EOF;
12        return $flux.$script_woopra;
13}
14
15?>
Note: See TracBrowser for help on using the repository browser.