source: spip-zone/_plugins_/css_instable/cssinstable_pipelines_public.php @ 70524

Last change on this file since 70524 was 17046, checked in by erational@…, 13 years ago

un plugin pour dégrader l'aspect visuel de son site

File size: 397 bytes
Line 
1<?php
2if (!defined('_CSSINSTABLE')){ // defini automatiquement par SPIP 1.9.2
3        $p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
4        define('_CSSINSTABLE',(_DIR_PLUGINS.end($p)."/"));
5}
6
7function cssinstable_insert_head($flux){
8        $flux .= '<script type="text/javascript" src="'._DIR_PLUGIN_CSSINSTABLE.'js/css_instable.js"></script>';
9        return $flux;
10}
11?>
Note: See TracBrowser for help on using the repository browser.