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

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

insère un fichier js dans les heads privés et publics

File size: 304 bytes
Line 
1<?php
2
3function ajouter_script($flux) {
4
5  $flux .= '<script type="text/javascript" src="' . find_in_path('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.