source: spip-zone/_plugins_/coloriage_dist/coloriagedist_fonctions.php @ 55726

Last change on this file since 55726 was 55726, checked in by erational@…, 8 years ago

CSS dynamique du coloriage intégrable au compresseur CSS (merci marcimat)

File size: 738 bytes
Line 
1<?php
2if (!defined("_ECRIRE_INC_VERSION")) return;
3//
4// functions
5//
6
7function coloriagedist_insert_head($flux){
8  $url_css = generer_url_public("css_coloriage");
9  $flux .= "<link rel='stylesheet' type='text/css' media='all' href='$url_css' />\n";   
10  return $flux;
11}
12
13function coloriagedist_header_prive($flux){
14  $flux .= "<link rel='stylesheet' type='text/css' href='".url_absolue(find_in_path('farbtastic/farbtastic.css'))."' />\n";     
15  $flux .= "<script src='".url_absolue(find_in_path('farbtastic/farbtastic.js'))."' type=\"text/javascript\"></script>\n";
16  $flux .= "<script src='".url_absolue(find_in_path('farbtastic/farbtastic_go.js'))."' type=\"text/javascript\"></script>\n";
17        return $flux;
18
19}
20
21
22?>
Note: See TracBrowser for help on using the repository browser.