source: spip-zone/_plugins_/precode/trunk/simplec_pipelines.php @ 106887

Last change on this file since 106887 was 106887, checked in by nicolas.dorigny@…, 2 years ago

On ajoute la lib JS de clipboard au chargement (du coup on utilise plutôt le pipeline insert_head), et le crédit pour la lib.

File size: 367 bytes
Line 
1<?php
2
3function simplec_insert_head($flux) {
4        $flux .= '<link rel="stylesheet" href="'.find_in_path('css/simplec.css').'" type="text/css" media="all" />';
5        $flux .= '<script type="text/javascript" src="'.find_in_path('js/clipboard.min.js').'"></script>';
6        $flux .= '<script type="text/javascript" src="'.find_in_path('js/simplec.js').'"></script>';
7        return $flux;
8}
9
Note: See TracBrowser for help on using the repository browser.