source: spip-zone/_plugins_/_dev_/css_petits_ecrans/css_petits_ecrans_pipelines.php @ 26129

Last change on this file since 26129 was 26129, checked in by nicolas1.krebs2@…, 12 years ago

début plugin css_petits_ecrans seconde partie (Nicolas Krebs)

File size: 366 bytes
Line 
1<?php
2
3
4
5function css_petits_ecrans_insert_head($flux) {
6
7        $p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
8        define('_DIR_PLUGIN_CSS_PETITS_ECRANS',(_DIR_PLUGINS.end($p)));
9
10        $flux .= '<link rel="stylesheet" href="'._DIR_PLUGIN_CSS_PETITS_ECRANS.'css_petits_ecrans.css" type="text/css" media="all" />';
11       
12        return $flux;
13}
14
15?>
Note: See TracBrowser for help on using the repository browser.