source: spip-zone/_plugins_/chatbox2/chatbox2_pipelines.php @ 112334

Last change on this file since 112334 was 112334, checked in by pierre.troller@…, 3 years ago

création du répertoire

File size: 575 bytes
Line 
1<?php
2/**
3 * Utilisations de pipelines par chatbox2
4 *
5 * @plugin     chatbox2
6 * @copyright  2018
7 * @author     Ptroll
8 * @licence    GNU/GPL
9 * @package    SPIP\Whatspip\Pipelines
10 */
11
12if (!defined('_ECRIRE_INC_VERSION')) {
13        return;
14}
15
16
17/** troll
18 * Insérer la css des chats dans l'espace public
19 *
20 * @pipeline header_prive
21 * @param string $head
22 * @return string
23 */
24function chatbox2_insert_head_css($flux){
25                        $flux .= '<link rel="stylesheet" href="'.direction_css(find_in_path('css/chatbox2.css')).'" type="text/css" />';
26        return $flux;
27}
Note: See TracBrowser for help on using the repository browser.