source: spip-zone/_plugins_/_stable_/spip_out_ouvrant/spip_out_ouvrants_pipelines.php @ 25147

Last change on this file since 25147 was 25147, checked in by arno@…, 11 years ago

Rendre les liens spip_out ouvrants

File size: 353 bytes
Line 
1<?php
2
3
4
5function spip_out_ouvrants_insert_head($flux) {
6
7        $p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
8        define('_DIR_PLUGIN_SPIP_OUT_OUVRANTS',(_DIR_PLUGINS.end($p)));
9
10
11        $flux .= '<script  src="'._DIR_PLUGIN_SPIP_OUT_OUVRANTS.'spip_out_ouvrants.js" type="text/javascript"></script>';
12       
13        return $flux;
14}
15
16?>
Note: See TracBrowser for help on using the repository browser.