source: spip-zone/_plugins_/layoutgala/layoutgala_pipelines.php @ 70524

Last change on this file since 70524 was 24120, checked in by real3t@…, 12 years ago

Ça ne marchait plus, mise à jour pour SPIP 2.
Merci Valéry-Xavier

File size: 327 bytes
Line 
1<?php
2// insert le css pour les styles supplementaires de LayoutGala dans le <head> du document (#INSERT_HEAD)
3function layoutgala_insert_head($flux) {
4        $incHead = '<link rel="stylesheet" href="spip.php?page=layoutgala" type="text/css" media="all" />';
5        return preg_replace('#(</head>)?$#i', $incHead . "\$1\n", $flux, 1);
6}
7?>
Note: See TracBrowser for help on using the repository browser.