source: spip-zone/_plugins_/videos/pipelines/videos_insert_head.php @ 53457

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

if (!defined("_ECRIRE_INC_VERSION")) return; sur tout fichier PHP pour sécurité future principalement

File size: 471 bytes
Line 
1<?php
2if (!defined("_ECRIRE_INC_VERSION")) return;
3function videos_insert_head($flux){
4        $variables = generer_url_public('videos_variables.js');
5        $css = find_in_path('theme/css/videos.css');
6        $flux .="
7<!-- Variables de configuration pour le plugin Vidéo(s) -->
8<script type='text/javascript' src='$variables'></script>\n".
9'<link rel="stylesheet" href="'.direction_css($css).'" type="text/css" media="all" />'.
10"<!-- // Vidéo(s) -->"."\n";
11        return $flux;
12}
Note: See TracBrowser for help on using the repository browser.