source: spip-zone/_plugins_/js_log/trunk/js_log_pipeline.php @ 73511

Last change on this file since 73511 was 73511, checked in by bystrano@…, 7 years ago

le fichier js est généré dynamiquement

File size: 314 bytes
Line 
1<?php
2
3function ajouter_script($flux) {
4
5  $flux .= '<script type="text/javascript" src="' . produire_fond_statique('js_log.js') . '"></script>';
6  return $flux;
7}
8
9function js_log_insert_head($flux) {
10
11  return ajouter_script($flux);
12}
13
14function js_log_header_prive($flux) {
15
16  return ajouter_script($flux);
17}
18
19?>
Note: See TracBrowser for help on using the repository browser.